remove pre-box check so that atom style template can work

This commit is contained in:
Axel Kohlmeyer
2020-10-23 21:10:41 -04:00
parent 39da827a2d
commit c62ddaa4a2
2 changed files with 1 additions and 6 deletions

View File

@ -55,9 +55,6 @@ Molecule::Molecule(LAMMPS *lmp, int narg, char **arg, int &index) :
if (index >= narg) error->all(FLERR,"Illegal molecule command");
if (domain->box_exist == 0)
error->all(FLERR,"Molecule command before simulation box is defined");
int n = strlen(arg[0]) + 1;
id = new char[n];
strcpy(id,arg[0]);