bugfix from @jtclem for molecule files with multiple molecule IDs

This commit is contained in:
Axel Kohlmeyer
2025-01-31 20:32:58 -05:00
parent 7d7cdf3e08
commit 1dc5f8739a

View File

@ -523,7 +523,7 @@ void CreateAtoms::command(int narg, char **arg)
// molcreate = # of molecules I created
tagint molcreate = (atom->nlocal - nlocal_previous) / onemol->natoms * onemol->nmolecules;
tagint molcreate = (atom->nlocal - nlocal_previous) / onemol->natoms;
// increment total bonds,angles,etc