git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5344 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -76,8 +76,6 @@ Atom::Atom(LAMMPS *lmp) : Pointers(lmp)
|
||||
spin = NULL;
|
||||
eradius = ervel = erforce = NULL;
|
||||
|
||||
length = theta = NULL;
|
||||
|
||||
maxspecial = 1;
|
||||
nspecial = NULL;
|
||||
special = NULL;
|
||||
@ -104,7 +102,6 @@ Atom::Atom(LAMMPS *lmp) : Pointers(lmp)
|
||||
quat_flag = omega_flag = angmom_flag = torque_flag = 0;
|
||||
radius_flag = density_flag = rmass_flag = vfrac_flag = 0;
|
||||
spin_flag = eradius_flag = ervel_flag = erforce_flag = 0;
|
||||
line_flag = 0;
|
||||
|
||||
// ntype-length arrays
|
||||
|
||||
@ -188,9 +185,6 @@ Atom::~Atom()
|
||||
memory->sfree(ervel);
|
||||
memory->sfree(erforce);
|
||||
|
||||
memory->sfree(length);
|
||||
memory->sfree(theta);
|
||||
|
||||
memory->sfree(molecule);
|
||||
|
||||
memory->destroy_2d_int_array(nspecial);
|
||||
@ -268,8 +262,7 @@ void Atom::create_avec(const char *style, int narg, char **arg)
|
||||
quat_flag = omega_flag = angmom_flag = torque_flag = 0;
|
||||
radius_flag = density_flag = rmass_flag = vfrac_flag = 0;
|
||||
spin_flag = eradius_flag = ervel_flag = erforce_flag = 0;
|
||||
line_flag = 0;
|
||||
|
||||
|
||||
avec = new_avec(style,narg,arg);
|
||||
int n = strlen(style) + 1;
|
||||
atom_style = new char[n];
|
||||
|
||||
Reference in New Issue
Block a user