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

@ -299,7 +299,7 @@ void CreateAtoms::command(int narg, char **arg)
if (onemol->tag_require && !atom->tag_enable)
error->all(FLERR, "Create_atoms molecule has atom IDs, but system does not");
onemol->check_attributes(0);
onemol->check_attributes();
// use geometric center of molecule for insertion
// molecule random number generator, different for each proc