git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8399 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-06-25 23:41:39 +00:00
parent dfb51e6b00
commit 0d3734ead4
3 changed files with 9 additions and 6 deletions

View File

@ -238,8 +238,9 @@ void CreateAtoms::command(int narg, char **arg)
// add tags for newly created atoms if possible
// if global map exists, reset it
if (atom->natoms > MAXTAGINT) atom->tag_enable = 0;
if (atom->natoms <= MAXTAGINT) atom->tag_extend();
// change these to MAXTAGINT when allow tagint = bigint
if (atom->natoms > MAXSMALLINT) atom->tag_enable = 0;
if (atom->natoms <= MAXSMALLINT) atom->tag_extend();
if (atom->map_style) {
atom->nghost = 0;