make certain radvary is initialized in constructor

This commit is contained in:
Axel Kohlmeyer
2023-07-18 11:08:59 -04:00
parent 1057fa9b00
commit 7a04e048fe
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ AtomVecBPMSphere::AtomVecBPMSphere(LAMMPS *_lmp) : AtomVec(_lmp)
mass_type = PER_ATOM;
molecular = Atom::MOLECULAR;
bonds_allow = 1;
radvary = 0;
atom->molecule_flag = 1;
atom->sphere_flag = 1;

View File

@ -30,6 +30,7 @@ AtomVecSphere::AtomVecSphere(LAMMPS *lmp) : AtomVec(lmp)
{
mass_type = PER_ATOM;
molecular = Atom::ATOMIC;
radvary = 0;
atom->sphere_flag = 1;
atom->radius_flag = atom->rmass_flag = atom->omega_flag = atom->torque_flag = 1;