Repository navigation
Feature/latboltz unittest - #9
Open
abhinsuresh wants to merge 20 commits into
Open
abhinsuresh wants to merge 20 commits into
abhinsuresh wants to merge 20 commits into
Conversation
* Create ctest ci.yml which runs on push * adding changes to src/version.h for ci test * adding small changes to version.h to make it pass * Update ci.yml
* adding small changes to src/version.h to see PR failing * adding small changes to src/version.h to fix PR fail
* adding ctest for checking lb_multicomponent test * fix in spacing, fix error in cmake PACKAGE_ to PKG_, fix error in ci cmake latboltz needs BUILD_MPI * adding install dependencies like mpi on ci.yml * fixing install dependencies like mpi on ci.yml * fixing install dependencies space after \ on ci.yml * only running ctest for the lb_mult smoke ci.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adding a simple unit test, that verifies total monetum before the run and after runs is zero to 1e-6 tolerance. This acts as smoke test as well as a unit test. The test is compiled only if latboltz pkg is installed during configuration with cmake. Currently runs with 2 mpi procs. Runs for 100 time steps before checking the total momentum. Do have a yaml file with headers for the test, but currently not using it to verify any quantity. Defined a public function get_total_momentum() to extract the quantity for the test.
Related Issue(s)
Author(s)
Licensing
By submitting this pull request, I agree, that my contribution will be included in LAMMPS and redistributed under either the GNU General Public License version 2 (GPL v2) or the GNU Lesser General Public License version 2.1 (LGPL v2.1).
Backward Compatibility
Implementation Notes
Post Submission Checklist
Further Information, Files, and Links