From fb55fc3277e43e15cd22c7e26c46e0e82686ba01 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 22 Sep 2023 07:51:07 -0400 Subject: [PATCH] we don't need a lattice for creating atoms from a STL mesh --- src/create_atoms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/create_atoms.cpp b/src/create_atoms.cpp index 32be85e647..0734939eaa 100644 --- a/src/create_atoms.cpp +++ b/src/create_atoms.cpp @@ -358,7 +358,7 @@ void CreateAtoms::command(int narg, char **arg) // lattice to box, but not consistent with other uses of units=lattice // triclinic remapping occurs in add_single() - if ((style == BOX) || (style == REGION) || (style == MESH)) { + if ((style == BOX) || (style == REGION)) { if (nbasis == 0) error->all(FLERR, "Cannot create atoms with undefined lattice"); } else if (scaleflag == 1) { xone[0] *= domain->lattice->xlattice;