refactor compute global/atom to use array of struct
This commit is contained in:
@ -648,7 +648,6 @@ TEST_F(AtomStyleTest, atomic)
|
||||
END_HIDE_OUTPUT();
|
||||
ASSERT_EQ(lmp->atom->map_tag_max, 16);
|
||||
x = lmp->atom->x;
|
||||
tag = lmp->atom->tag;
|
||||
EXPECT_NEAR(x[GETIDX(1)][0], -2.0, EPSILON);
|
||||
EXPECT_NEAR(x[GETIDX(1)][1], 2.0, EPSILON);
|
||||
EXPECT_NEAR(x[GETIDX(1)][2], 0.1, EPSILON);
|
||||
|
||||
Reference in New Issue
Block a user