Commit cafa5783 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11359 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent a18390d6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -343,11 +343,14 @@ void Atom::create_avec(const char *style, int narg, char **arg, char *suffix)
    strcpy(atom_style,style);
  }

  // if molecular system, atom IDs must be defined
  // if molecular system:
  // atom IDs must be defined
  // force atom map to be created, style will reset by map_init()

  molecular = avec->molecular;
  if (molecular && tag_enable == 0)
    error->all(FLERR,"Atom IDs must be used for molecular systems");
  if (molecular) map_style = 1;
}

/* ----------------------------------------------------------------------