add unit tests for tersoff pair styles used with shift keyword

This commit is contained in:
Axel Kohlmeyer
2021-01-04 23:13:38 -05:00
parent 2e0ae2c810
commit 6bdf427522
5 changed files with 623 additions and 1 deletions

View File

@ -831,7 +831,9 @@ TEST(PairStyle, intel)
GTEST_SKIP();
}
if ((test_config.pair_style == "rebo") || utils::strmatch(test_config.pair_style, "^dpd")) {
if ((test_config.pair_style == "rebo")
|| utils::strmatch(test_config.pair_style, "^dpd")
|| utils::strmatch(test_config.pair_style, "^tersoff.* shift ")) {
std::cerr << "Skipping pair style " << lmp->force->pair_style << "\n";
if (!verbose) ::testing::internal::CaptureStdout();
cleanup_lammps(lmp, test_config);