skip testing fix nve/limit for r-RESPA as it is not compatible by design

This commit is contained in:
Axel Kohlmeyer 2020-08-19 15:08:32 -04:00
parent a0aca4cee4
commit b1fbee9bd0
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 4 additions and 2 deletions

View File

@ -516,9 +516,11 @@ TEST(FixTimestep, plain)
std::cerr << "global_data, rmass, verlet: " << stats << std::endl;
}
// rigid fixes need work to test properly with r-RESPA
// rigid fixes need work to test properly with r-RESPA.
// fix nve/limit cannot work with r-RESPA
ifix = lmp->modify->find_fix("test");
if (!utils::strmatch(lmp->modify->fix[ifix]->style, "^rigid")) {
if (!utils::strmatch(lmp->modify->fix[ifix]->style, "^rigid")
&& !utils::strmatch(lmp->modify->fix[ifix]->style, "^nve/limit")) {
if (!verbose) ::testing::internal::CaptureStdout();
cleanup_lammps(lmp, test_config);