git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7336 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-12-10 00:33:20 +00:00
parent 43a79f1a56
commit adbeb0277b

View File

@ -46,7 +46,8 @@ FixTMD::FixTMD(LAMMPS *lmp, int narg, char **arg) :
rho_stop = atof(arg[3]);
nfileevery = atoi(arg[5]);
if (rho_stop < 0 || nfileevery < 0) error->all(FLERR,"Illegal fix tmd command");
if (rho_stop < 0 || nfileevery < 0)
error->all(FLERR,"Illegal fix tmd command");
if (nfileevery && narg != 7) error->all(FLERR,"Illegal fix tmd command");
MPI_Comm_rank(world,&me);