diff --git a/src/USER-MESONT/atom_vec_mesont.cpp b/src/USER-MESONT/atom_vec_mesont.cpp index 6ef6bd6cd9..9921598bd2 100644 --- a/src/USER-MESONT/atom_vec_mesont.cpp +++ b/src/USER-MESONT/atom_vec_mesont.cpp @@ -32,7 +32,7 @@ AtomVecMesoNT::AtomVecMesoNT(LAMMPS *lmp) : AtomVec(lmp) mass_type = 1; atom->mesont_flag = 1; molecular = 0; - + comm_x_only = comm_f_only = 1; size_forward = 3; size_reverse = 3; diff --git a/src/USER-MESONT/compute_mesont.h b/src/USER-MESONT/compute_mesont.h index 6e4b1a3c5a..79df874f7f 100644 --- a/src/USER-MESONT/compute_mesont.h +++ b/src/USER-MESONT/compute_mesont.h @@ -36,11 +36,11 @@ class ComputeMesoNT : public Compute { int pack_reverse_comm(int, int, double *); void unpack_reverse_comm(int, int *, double *); double memory_usage(); - + private: int nmax; double *energy; - + enum ComputeType {ES, EB, ET, ESTOT, EBTOT, ETTOT}; ComputeType compute_type; }; diff --git a/src/atom.cpp b/src/atom.cpp index 350f41336c..2730f904e8 100644 --- a/src/atom.cpp +++ b/src/atom.cpp @@ -109,7 +109,7 @@ Atom::Atom(LAMMPS *lmp) : Pointers(lmp) edpd_temp = edpd_flux = edpd_cv = NULL; // USER-MESONT package - + mesont_flag = 0; length = NULL; buckling = NULL; @@ -378,7 +378,7 @@ Atom::~Atom() memory->sfree(molecules); // USER-MESONT package - + memory->destroy(length); memory->destroy(buckling); memory->destroy(bond_nt);