replace some numeric constants in Atom and AtomVec classes with enumerators
This commit is contained in:
@ -29,8 +29,8 @@ using namespace MathConst;
|
||||
|
||||
AtomVecSphere::AtomVecSphere(LAMMPS *lmp) : AtomVec(lmp)
|
||||
{
|
||||
mass_type = 0;
|
||||
molecular = 0;
|
||||
mass_type = PER_ATOM;
|
||||
molecular = Atom::ATOMIC;
|
||||
|
||||
atom->sphere_flag = 1;
|
||||
atom->radius_flag = atom->rmass_flag = atom->omega_flag =
|
||||
|
||||
Reference in New Issue
Block a user