add error location propagation to atom->set_mass() and atom->check_mass()

This commit is contained in:
Axel Kohlmeyer
2016-10-26 16:01:40 -04:00
parent 35753b8f08
commit f9a9e27f5a
23 changed files with 50 additions and 50 deletions

View File

@ -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);
}
/* ---------------------------------------------------------------------- */