cosmetic
This commit is contained in:
@ -416,8 +416,8 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator) :
|
|||||||
strcmp(arg[iarg],"-sf") == 0) {
|
strcmp(arg[iarg],"-sf") == 0) {
|
||||||
if (iarg+2 > narg)
|
if (iarg+2 > narg)
|
||||||
error->universe_all(FLERR,"Invalid command-line argument");
|
error->universe_all(FLERR,"Invalid command-line argument");
|
||||||
delete [] suffix;
|
delete[] suffix;
|
||||||
delete [] suffix2;
|
delete[] suffix2;
|
||||||
suffix = suffix2 = nullptr;
|
suffix = suffix2 = nullptr;
|
||||||
suffix_enable = 1;
|
suffix_enable = 1;
|
||||||
// hybrid option to set fall-back for suffix2
|
// hybrid option to set fall-back for suffix2
|
||||||
@ -773,9 +773,9 @@ LAMMPS::~LAMMPS()
|
|||||||
|
|
||||||
delete python;
|
delete python;
|
||||||
delete kokkos;
|
delete kokkos;
|
||||||
delete [] suffix;
|
delete[] suffix;
|
||||||
delete [] suffix2;
|
delete[] suffix2;
|
||||||
delete [] suffixp;
|
delete[] suffixp;
|
||||||
|
|
||||||
// free the MPI comm created by -mpicolor cmdline arg processed in constructor
|
// free the MPI comm created by -mpicolor cmdline arg processed in constructor
|
||||||
// it was passed to universe as if original universe world
|
// it was passed to universe as if original universe world
|
||||||
|
|||||||
@ -647,7 +647,6 @@ TEST_F(AtomStyleTest, atomic)
|
|||||||
END_HIDE_OUTPUT();
|
END_HIDE_OUTPUT();
|
||||||
ASSERT_EQ(lmp->atom->map_tag_max, 16);
|
ASSERT_EQ(lmp->atom->map_tag_max, 16);
|
||||||
x = lmp->atom->x;
|
x = lmp->atom->x;
|
||||||
tag = lmp->atom->tag;
|
|
||||||
EXPECT_NEAR(x[GETIDX(1)][0], -2.0, EPSILON);
|
EXPECT_NEAR(x[GETIDX(1)][0], -2.0, EPSILON);
|
||||||
EXPECT_NEAR(x[GETIDX(1)][1], 2.0, EPSILON);
|
EXPECT_NEAR(x[GETIDX(1)][1], 2.0, EPSILON);
|
||||||
EXPECT_NEAR(x[GETIDX(1)][2], 0.1, EPSILON);
|
EXPECT_NEAR(x[GETIDX(1)][2], 0.1, EPSILON);
|
||||||
|
|||||||
Reference in New Issue
Block a user