Commit 806a382b authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11339 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 10064ce6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -61,6 +61,12 @@ void AtomVecTemplate::process_args(int narg, char **arg)
  onemols = &atom->molecules[imol];
  nset = atom->molecules[imol]->nset;

  // error check on molecule template fields

  for (int i = 0; i < nset; i++) {
    if (onemols[i]->typeflag == 0)
      error->all(FLERR,"Atom style template molecule must have atom types");

  // set bonds_allow,angles_allow,etc based on the molecules in template set
  // similar to how atom_style bond,angle,full set it