Commit Graph

107 Commits

Author SHA1 Message Date
169206790a small tweak 2020-07-07 10:29:43 -04:00
69052fa337 add test for lj/mdf 2020-07-05 00:28:02 -04:00
4dee43cc2d adjust accepted relative error for compiler optimization, make pppm/disp inputs 3x faster 2020-07-05 00:10:47 -04:00
84ded03e24 add tests for some core-shell package pair styles 2020-07-04 23:43:15 -04:00
585466929f add tests for pppm/disp/tip4p and lj/long/tip4p/long 2020-07-04 23:21:57 -04:00
a314b40aa0 skip testing broken pppm/disp/intel style 2020-07-04 23:07:50 -04:00
6e580bbdb5 add tests for long-range dispersion styles 2020-07-04 22:55:59 -04:00
2eec6c7f65 exclude MSM tests when compiling with single precision 2020-07-04 18:26:00 -04:00
0461599d0a reduce base precision as required when running tests with pppm and FFT_SINGLE 2020-07-04 18:13:55 -04:00
df40ffddf3 add some more tests for pair styles 2020-07-04 17:24:28 -04:00
ffe8e1c0e9 add tests for kspace styles using the pair style tester tool 2020-07-04 17:22:27 -04:00
fcec94579c skip tests for single and extract when testing kspace styles (and pair styles are disabled) 2020-07-04 17:21:51 -04:00
75977367a1 fix memory leak 2020-07-04 17:21:19 -04:00
f958cacbb4 temporarily add atom style full to list of dependencies for Pair::single() test 2020-06-29 19:36:06 -04:00
ce4ca0e640 tweak epsilon to make test pass with optimization 2020-06-29 19:35:02 -04:00
5c08ce0818 nb3b/harmonic parameters are in real units 2020-06-29 13:28:32 -04:00
385d239b9e small tweak for passing r-RESPA tests with coulomb table 2020-06-29 00:59:01 -04:00
c989db60a7 refactor EAM family of potentials to convert the potential data and leave compute functions alone 2020-06-25 15:48:46 -04:00
29b0ca8ad9 fix bug in OPT package pair style tester 2020-06-25 14:21:50 -04:00
9e08a739b5 add unit conversion test files for styles with conversion in the compute function 2020-06-25 12:28:06 -04:00
a7d2b792a8 Merge branch 'master' into test-updates 2020-06-24 17:25:55 -04:00
2af8d7a751 add argument passing via TEST_ARGS environment variable to all tests with an explicit main function 2020-06-24 10:17:23 -04:00
6824b69ae9 add missing include 2020-06-24 09:38:55 -04:00
ee5be42026 avoid having to use external test runner script by parsing environment variables directly 2020-06-24 09:32:59 -04:00
9aea4e509e Revert "must also reissue hybrid pair style commands after restarts"
This reverts commit ddcc104df6.
2020-06-23 09:50:17 -04:00
b8866c9acc add tests for MLIAP (same data as SNAP) 2020-06-23 09:35:00 -04:00
ddcc104df6 must also reissue hybrid pair style commands after restarts 2020-06-23 09:21:47 -04:00
66414067c8 add tests for SNAP package 2020-06-23 06:51:42 -04:00
4d630904b4 relax a few more test criteria to be compatible with intel compilers 2020-06-19 11:43:59 -04:00
343241cb63 relax some test epsilons 2020-06-19 00:43:11 -04:00
e934f7bac3 try to work around linker issues with older CMake versions and using coverage or sanitizers 2020-06-19 00:20:20 -04:00
786473a189 allow sanitizers also be active for force style test codes 2020-06-18 12:39:23 -04:00
41995b4665 avoid false positives about memory leaks in force tester tools 2020-06-18 11:45:26 -04:00
e88bb9dd59 call MPI_Finalize() so we don't have spurious memory leaks from MPI reported by valgrind 2020-06-17 01:42:17 -04:00
093c285475 use GMock initializer instead of GTest 2020-06-16 06:37:35 -04:00
05319cae66 updates for using {fmt} and reordering of include statements exposing hidden includes 2020-06-15 16:55:38 -04:00
05d1924d62 update for using {fmt} 2020-06-15 16:48:20 -04:00
14c22a004a Merge branch 'master' into use-clang-format-demo
# Conflicts:
#	unittest/force-styles/pair_style.cpp
#	unittest/utils/test_utils.cpp
2020-06-15 16:14:13 -04:00
149571873f avoid illegal read after delete 2020-06-14 19:35:09 -04:00
7d9e0076c7 update some test yaml files 2020-06-14 17:01:28 -04:00
8739067593 implement method to pass command line flags to test programs when run through ctest
based on the suggestion at: https://stackoverflow.com/questions/28812533/how-to-pass-command-line-arguments-in-ctest-at-runtime
but customized for the force-style tests
2020-06-13 11:19:56 -04:00
0e708469b6 add unittest for ErrorStats class 2020-06-13 02:49:12 -04:00
d5d28bcbd2 use fmt::format() for error_stats output. 2020-06-13 02:11:21 -04:00
9c3d108bbc enable aligning consecutive assignments 2020-06-13 02:05:13 -04:00
3db944decc apply clang-format settings to the c++ sources in the unittest tree 2020-06-13 01:54:58 -04:00
448bccd138 tweak test epsilons so they pass with -DLAMMPS_BIGBIG 2020-06-07 22:20:46 -04:00
2fd3d21414 add tests for pair style table 2020-06-02 17:12:52 -04:00
886a950fd6 silence compiler warning in test programs 2020-06-01 17:49:05 -04:00
7ebad52727 add tests for a bunch of coulomb only pair styles 2020-05-31 09:26:54 -04:00
661b0ee8b2 cannot compare Pair::compute() vs. Pair::single for styles with coul/dsf or coul/wolf due to missing self energy 2020-05-31 09:25:50 -04:00