git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11739 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -162,7 +162,7 @@ Atom::Atom(LAMMPS *lmp) : Pointers(lmp)
|
||||
tag_enable = 1;
|
||||
map_style = map_user = 0;
|
||||
map_tag_max = -1;
|
||||
map_maxarray = map_nhash = 0;
|
||||
map_maxarray = map_nhash = -1;
|
||||
|
||||
max_same = 0;
|
||||
sametag = NULL;
|
||||
@ -480,6 +480,7 @@ void Atom::modify_params(int narg, char **arg)
|
||||
if (strcmp(arg[iarg+1],"array") == 0) map_user = 1;
|
||||
else if (strcmp(arg[iarg+1],"hash") == 0) map_user = 2;
|
||||
else error->all(FLERR,"Illegal atom_modify command");
|
||||
map_style = map_user;
|
||||
iarg += 2;
|
||||
} else if (strcmp(arg[iarg],"first") == 0) {
|
||||
if (iarg+2 > narg) error->all(FLERR,"Illegal atom_modify command");
|
||||
|
||||
Reference in New Issue
Block a user