git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5498 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -169,7 +169,7 @@ void CreateAtoms::command(int narg, char **arg)
|
||||
// new total # of atoms
|
||||
|
||||
bigint nblocal = atom->nlocal;
|
||||
MPI_Allreduce(&nblocal,&atom->natoms,1,MPI_UNSIGNED_LONG_LONG,MPI_SUM,world);
|
||||
MPI_Allreduce(&nblocal,&atom->natoms,1,MPI_LMP_BIGINT,MPI_SUM,world);
|
||||
|
||||
// print status
|
||||
|
||||
@ -185,8 +185,8 @@ void CreateAtoms::command(int narg, char **arg)
|
||||
// if global map exists, reset it
|
||||
// if a molecular system, set nspecial to 0 for new atoms
|
||||
|
||||
if (atom->natoms > MAXINT32) atom->tag_enable = 0;
|
||||
if (atom->natoms <= MAXINT32) atom->tag_extend();
|
||||
if (atom->natoms > MAXTAGINT) atom->tag_enable = 0;
|
||||
if (atom->natoms <= MAXTAGINT) atom->tag_extend();
|
||||
|
||||
if (atom->map_style) {
|
||||
atom->nghost = 0;
|
||||
|
||||
Reference in New Issue
Block a user