Commit Graph

35 Commits

Author SHA1 Message Date
ccd6eeb8af unit test 2025-04-04 16:53:57 +02:00
da1bbec0be set lmp pointer to NULL after delete to avoid using it or deleting it a second time 2025-01-29 23:32:52 -05:00
06bdb7b637 refactor catching exceptions during LAMMPS initialization
this will avoid the nasty segfaults with "cannot have multiple stdout capturers"
instead it will catch and display any exception thrown during init.
2025-01-29 23:09:48 -05:00
e4dcdcd221 skip KokkosOpenMP tests when Kokkos includes GPU support 2024-10-05 03:05:04 -04:00
e29e943ae6 apply clang-format 2024-09-25 18:48:47 -04:00
42dec6fe6e modernize and remove dead code 2024-08-22 21:03:29 -04:00
83297a1071 extend force style testers for bonded interactions to check KOKKOS/OpenMP
selectively imported from PR #4190 by @alphataubio
2024-07-27 21:06:52 -04:00
da2bd44b73 modernize and reformat with clang-tidy and clang-format 2024-07-04 11:17:54 -04:00
d1978dd136 support writing data files with PairIJ sections for all generic testers 2024-06-04 21:57:18 -04:00
9587e92a3c increase numdiff fudge factor so that individual epsilons need to be changed less 2024-01-13 10:33:13 -05:00
e51a44862c add fix numdiff test to check consistency between energy and force for bonded interactions 2024-01-12 18:59:43 -05:00
ddd5cc1a73 avoid segfault on command errors in force style unit tests and print error mesage instead 2023-11-16 17:53:12 -05:00
46768d0ff3 Correctly build argv with nullptr at the end 2023-11-08 09:18:58 -07:00
3c4b0a0c04 expand homepage checker tool to check a few more folders and apply updates 2022-10-24 10:58:39 -04:00
ab899861d5 apply clang-format 2022-09-10 03:21:28 -04:00
234b9f180a use clang-tidy and clang-format to update/modernize/simplify code 2022-05-31 14:46:57 -04:00
a7084c8fdb Merge remote-tracking branch 'origin/develop' into kokkos_unittests 2022-02-07 13:04:59 -05:00
7ee7d0c570 apply clang-format 2022-01-30 17:18:40 -05:00
32a53a1ae3 Use EXPECT_FORCES() in more testers 2021-11-23 11:46:33 -05:00
62b236a7cd Use platform::path_join in unittest tree and remove redundant code 2021-11-22 15:34:23 -05:00
3d650a6bf7 Add test utility method EXPECT_STRESS() 2021-11-22 15:24:41 -05:00
bb127603ff Use platform::unlink in unittests 2021-11-22 14:40:51 -05:00
1dc25b0e10 rename USER-OMP to OPENMP 2021-06-29 17:48:22 -04:00
2e6a0112d3 update URLs in some more files 2021-05-24 16:19:37 -04:00
190a689354 Merge branch 'master' into gpu-unittest
# Conflicts:
#	unittest/force-styles/test_pair_style.cpp
#	unittest/force-styles/tests/angle-cosine_periodic.yaml
#	unittest/force-styles/tests/mol-pair-born.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_dsf.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_long.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_msm.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_msm_table.yaml
#	unittest/force-styles/tests/mol-pair-born_coul_wolf.yaml
#	unittest/force-styles/tests/mol-pair-morse.yaml
#	unittest/force-styles/tests/mol-pair-morse_smooth_linear.yaml
2021-04-06 14:45:06 -04:00
487c55edf0 simplify and apply clang-format 2021-03-24 11:24:55 -04:00
154b8cb401 remove dead code 2021-03-19 11:42:09 -04:00
205b45423c combine repetitive code into convenience function 2021-03-01 20:07:19 -05:00
74713be4a2 add new key to YAML files: skip_tests 2021-03-01 19:27:11 -05:00
19311d408d use utils::trim() to remove extra whitespace from ctime() output. 2021-02-26 23:10:43 -05:00
bd7c37d539 CHARMM dihedral styles require a matching pair style. add code for that. 2021-02-24 19:34:15 -05:00
d81ca27e96 align tester sources with current state of other testers 2021-02-24 17:31:09 -05:00
8d0d7f4f55 Fix testers after API change 2020-10-05 21:53:38 -04:00
39750c482d add tester for dihedral style and few tests 2020-08-15 00:19:56 -04:00
051ab1f5c2 add test for dihedral style 2020-08-14 23:21:30 -04:00