GPU package does not support tabulated long-range coulomb

This commit is contained in:
Axel Kohlmeyer
2021-03-01 22:04:55 -05:00
parent fb57d86364
commit e02ad44b8b
19 changed files with 34 additions and 24 deletions

View File

@ -816,14 +816,6 @@ TEST(PairStyle, gpu)
const int nlocal = lmp->atom->nlocal;
ASSERT_EQ(lmp->atom->natoms, nlocal);
// skip over tests using tabulated coulomb
if ((lmp->force->pair->ncoultablebits > 0) || (lmp->force->pair->ndisptablebits > 0)) {
if (!verbose) ::testing::internal::CaptureStdout();
cleanup_lammps(lmp, test_config);
if (!verbose) ::testing::internal::GetCapturedStdout();
GTEST_SKIP();
}
// relax error a bit for GPU package
double epsilon = 7.5 * test_config.epsilon;
// relax test precision when using pppm and single precision FFTs