Commit f028a9a9 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

region cylinder is compatible with open_faces[2], so do not disallow it.

parent efaa8fea
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -36,8 +36,7 @@ RegCylinder::RegCylinder(LAMMPS *lmp, int narg, char **arg) :

  // check open face settings

  if (openflag && (open_faces[2] || open_faces[3] ||
                   open_faces[4] || open_faces[5]))
  if (openflag && (open_faces[3] || open_faces[4] || open_faces[5]))
    error->all(FLERR,"Invalid region cylinder open setting");

  if (strcmp(arg[2],"x") && strcmp(arg[2],"y") && strcmp(arg[2],"z"))