make certain radvary is initialized in constructor
This commit is contained in:
@ -32,6 +32,7 @@ AtomVecBPMSphere::AtomVecBPMSphere(LAMMPS *_lmp) : AtomVec(_lmp)
|
|||||||
mass_type = PER_ATOM;
|
mass_type = PER_ATOM;
|
||||||
molecular = Atom::MOLECULAR;
|
molecular = Atom::MOLECULAR;
|
||||||
bonds_allow = 1;
|
bonds_allow = 1;
|
||||||
|
radvary = 0;
|
||||||
|
|
||||||
atom->molecule_flag = 1;
|
atom->molecule_flag = 1;
|
||||||
atom->sphere_flag = 1;
|
atom->sphere_flag = 1;
|
||||||
|
|||||||
@ -30,6 +30,7 @@ AtomVecSphere::AtomVecSphere(LAMMPS *lmp) : AtomVec(lmp)
|
|||||||
{
|
{
|
||||||
mass_type = PER_ATOM;
|
mass_type = PER_ATOM;
|
||||||
molecular = Atom::ATOMIC;
|
molecular = Atom::ATOMIC;
|
||||||
|
radvary = 0;
|
||||||
|
|
||||||
atom->sphere_flag = 1;
|
atom->sphere_flag = 1;
|
||||||
atom->radius_flag = atom->rmass_flag = atom->omega_flag = atom->torque_flag = 1;
|
atom->radius_flag = atom->rmass_flag = atom->omega_flag = atom->torque_flag = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user