simplify Molecule::check_attributes()

This commit is contained in:
Axel Kohlmeyer
2022-08-13 16:56:53 -04:00
parent 1de66a82de
commit f592e3184e
9 changed files with 42 additions and 55 deletions

View File

@ -117,7 +117,7 @@ FixDeposit::FixDeposit(LAMMPS *lmp, int narg, char **arg) :
if (atom->molecular == Atom::TEMPLATE && onemols != atom->avec->onemols)
error->all(FLERR,"Fix deposit molecule template ID must be same "
"as atom_style template ID");
onemols[i]->check_attributes(0);
onemols[i]->check_attributes();
// fix deposit uses geoemetric center of molecule for insertion