small tweaks

This commit is contained in:
Axel Kohlmeyer
2021-04-20 15:28:42 -04:00
parent daaebd55a6
commit c543815692
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ TEST_F(GroupTest, Molecular)
ASSERT_EQ(group->count(group->find("three")), 15); ASSERT_EQ(group->count(group->find("three")), 15);
ASSERT_DOUBLE_EQ(group->mass(group->find("half")), 40); ASSERT_DOUBLE_EQ(group->mass(group->find("half")), 40);
ASSERT_DOUBLE_EQ(group->mass(group->find("half"), domain->find_region("top")), 10); ASSERT_DOUBLE_EQ(group->mass(group->find("half"), domain->find_region("top")), 10);
ASSERT_DOUBLE_EQ(group->charge(group->find("top")), 0); ASSERT_NEAR(group->charge(group->find("top")), 0,1.0e-14);
ASSERT_DOUBLE_EQ(group->charge(group->find("right"), domain->find_region("top")), 0); ASSERT_DOUBLE_EQ(group->charge(group->find("right"), domain->find_region("top")), 0);
TEST_FAILURE(".*ERROR: Illegal group command.*", command("group three include xxx");); TEST_FAILURE(".*ERROR: Illegal group command.*", command("group three include xxx"););

View File

@ -1,7 +1,7 @@
--- ---
lammps_version: 10 Mar 2021 lammps_version: 10 Mar 2021
date_generated: Thu Mar 25 14:01:17 202 date_generated: Thu Mar 25 14:01:17 202
epsilon: 1e-14 epsilon: 2e-14
prerequisites: ! | prerequisites: ! |
atom full atom full
fix adapt fix adapt