massive patch to flag non-numeric input

This commit is contained in:
Axel Kohlmeyer
2013-06-23 14:34:38 +02:00
parent b60eac7278
commit 0e04550043
178 changed files with 1134 additions and 1070 deletions

View File

@ -57,7 +57,7 @@ DumpCustom::DumpCustom(LAMMPS *lmp, int narg, char **arg) :
clearstep = 1;
nevery = atoi(arg[3]);
nevery = force->inumeric(FLERR,arg[3]);
// size_one may be shrunk below if additional optional args exist
@ -1565,7 +1565,7 @@ int DumpCustom::modify_param(int narg, char **arg)
// set threshhold value
thresh_value[nthresh] = atof(arg[3]);
thresh_value[nthresh] = force->numeric(FLERR,arg[3]);
nthresh++;
return 4;