add test for pair style yukawa/colloid

This commit is contained in:
Axel Kohlmeyer
2020-08-07 12:04:23 -04:00
parent efa8b3486f
commit 1c33bff557
2 changed files with 92 additions and 1 deletions

View File

@ -1102,8 +1102,9 @@ TEST(PairStyle, single)
// The single function in EAM is different from what we assume
// here, therefore we have to skip testing those pair styles.
// Pair style colloid is also not compatible with this single tester
// Pair styles colloid and yukawa/colloid are also not compatible with this single tester
if ((test_config.pair_style.substr(0, 7) == "colloid") ||
(test_config.pair_style.substr(0, 14) == "yukawa/colloid") ||
(test_config.pair_style.substr(0, 3) == "eam") ||
((test_config.pair_style.substr(0, 6) == "hybrid") &&
(test_config.pair_style.find("eam") != std::string::npos))