mirror of https://github.com/lammps/lammps.git
skip testing fix nve/limit for r-RESPA as it is not compatible by design
This commit is contained in:
parent
a0aca4cee4
commit
b1fbee9bd0
|
@ -516,9 +516,11 @@ TEST(FixTimestep, plain)
|
||||||
std::cerr << "global_data, rmass, verlet: " << stats << std::endl;
|
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");
|
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();
|
if (!verbose) ::testing::internal::CaptureStdout();
|
||||||
cleanup_lammps(lmp, test_config);
|
cleanup_lammps(lmp, test_config);
|
||||||
|
|
Loading…
Reference in New Issue