style issues

This commit is contained in:
iafoss
2020-03-25 20:26:39 -04:00
parent fa4ef70829
commit c05e1871bf
3 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;
};

View File

@ -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);