git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@995 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -43,6 +43,8 @@ FixDeposit::FixDeposit(LAMMPS *lmp, int narg, char **arg) :
|
||||
nfreq = atoi(arg[5]);
|
||||
seed = atoi(arg[6]);
|
||||
|
||||
if (seed <= 0) error->all("Illegal fix deposit command");
|
||||
|
||||
// set defaults
|
||||
|
||||
iregion = -1;
|
||||
|
||||
Reference in New Issue
Block a user