Merge branch 'master' into use-clang-format-demo

# Conflicts:
#	unittest/force-styles/pair_style.cpp
#	unittest/utils/test_utils.cpp
This commit is contained in:
Axel Kohlmeyer
2020-06-15 16:14:13 -04:00
469 changed files with 790662 additions and 7532 deletions

View File

@ -578,11 +578,11 @@ TEST(PairStyle, plain)
// need to relax error by a large amount with tabulation, since
// coul/long styles do not use tabulation in compute_inner()
// and compute_middle() so we get a significant deviation.
pair = lmp->force->pair;
if (pair->ncoultablebits) epsilon *= 1.0e6;
f = lmp->atom->f;
tag = lmp->atom->tag;
pair = lmp->force->pair;
f = lmp->atom->f;
tag = lmp->atom->tag;
stats.reset();
for (int i = 0; i < nlocal; ++i) {
EXPECT_FP_LE_WITH_EPS(f[i][0], f_run[tag[i]].x, 5 * epsilon);