replace some numeric constants in Atom and AtomVec classes with enumerators
This commit is contained in:
@ -1791,7 +1791,7 @@ void Input::special_bonds()
|
||||
|
||||
// if simulation box defined and saved values changed, redo special list
|
||||
|
||||
if (domain->box_exist && atom->molecular == 1) {
|
||||
if (domain->box_exist && atom->molecular == Atom::MOLECULAR) {
|
||||
if (lj2 != force->special_lj[2] || lj3 != force->special_lj[3] ||
|
||||
coul2 != force->special_coul[2] || coul3 != force->special_coul[3] ||
|
||||
angle != force->special_angle ||
|
||||
|
||||
Reference in New Issue
Block a user