forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3217 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
e7d5e47e27
commit
8d26e870b4
|
@ -52,7 +52,7 @@ FixAddForce::FixAddForce(LAMMPS *lmp, int narg, char **arg) :
|
|||
iregion = domain->find_region(arg[iarg+1]);
|
||||
if (iregion == -1) error->all("Fix addforce region ID does not exist");
|
||||
iarg += 2;
|
||||
}
|
||||
} else error->all("Illegal fix addforce command");
|
||||
}
|
||||
|
||||
force_flag = 0;
|
||||
|
|
|
@ -55,7 +55,8 @@ FixAveForce::FixAveForce(LAMMPS *lmp, int narg, char **arg) :
|
|||
iregion = domain->find_region(arg[iarg+1]);
|
||||
if (iregion == -1) error->all("Fix aveforce region ID does not exist");
|
||||
iarg += 2;
|
||||
}
|
||||
} else error->all("Illegal fix aveforce command");
|
||||
|
||||
}
|
||||
|
||||
foriginal_all[0] = foriginal_all[1] =
|
||||
|
|
Loading…
Reference in New Issue