Commit 1f0f8c82 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11352 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent d2b514f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -471,6 +471,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");
+2 −2
Original line number Diff line number Diff line
@@ -270,10 +270,10 @@ void CreateAtoms::command(int narg, char **arg)
  if (atom->tag_enable) atom->tag_extend();
  atom->tag_check();

  // if molecular system or user-requested, create global mapping of atoms
  // create global mapping of atoms
  // zero nghost in case are adding new atoms to existing atoms

  if (atom->molecular || atom->map_user) {
  if (atom->map_style) {
    atom->nghost = 0;
    atom->map_init();
    atom->map_set();
+2 −2
Original line number Diff line number Diff line
@@ -780,9 +780,9 @@ void ReadData::atoms()

  atom->tag_check();

  // if molecular system or user-requested, create global mapping of atoms
  // create global mapping of atoms

  if (atom->molecular || atom->map_user) {
  if (atom->map_style) {
    atom->map_init();
    atom->map_set();
  }
+2 −2
Original line number Diff line number Diff line
@@ -501,9 +501,9 @@ void ReadRestart::command(int narg, char **arg)

  atom->tag_check();

  // if molecular system or user-requested, create global mapping of atoms
  // create global mapping of atoms

  if (atom->molecular || atom->map_user) {
  if (atom->map_style) {
    atom->map_init();
    atom->map_set();
  }
+2 −2
Original line number Diff line number Diff line
@@ -388,9 +388,9 @@ void Replicate::command(int narg, char **arg)

  atom->tag_check();

  // if molecular system or user-requested, create global mapping of atoms
  // create global mapping of atoms

  if (atom->molecular || atom->map_user) {
  if (atom->map_style) {
    atom->map_init();
    atom->map_set();
  }