add error location propagation to atom->set_mass() and atom->check_mass()
This commit is contained in:
@ -1622,7 +1622,7 @@ void Input::mass()
|
||||
if (narg != 2) error->all(FLERR,"Illegal mass command");
|
||||
if (domain->box_exist == 0)
|
||||
error->all(FLERR,"Mass command before simulation box is defined");
|
||||
atom->set_mass(narg,arg);
|
||||
atom->set_mass(FLERR,narg,arg);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user