forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12626 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
1c28231331
commit
6efe4bc1a2
|
@ -153,7 +153,8 @@ FixGCMC::FixGCMC(LAMMPS *lmp, int narg, char **arg) :
|
|||
error->all(FLERR,"Fix gcmc molecule must have coordinates");
|
||||
if (onemols[imol]->typeflag == 0)
|
||||
error->all(FLERR,"Fix gcmc molecule must have atom types");
|
||||
if (ngcmc_type+onemols[imol]->ntypes <= 0 || ngcmc_type+onemols[imol]->ntypes > atom->ntypes)
|
||||
if (ngcmc_type+onemols[imol]->ntypes <= 0 ||
|
||||
ngcmc_type+onemols[imol]->ntypes > atom->ntypes)
|
||||
error->all(FLERR,"Invalid atom type in fix gcmc mol command");
|
||||
|
||||
if (atom->molecular == 2 && onemols != atom->avec->onemols)
|
||||
|
|
Loading…
Reference in New Issue