bugfix from @jtclem for molecule files with multiple molecule IDs
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user