move Force::bounds() and Force::boundsbig() to utils.

This commit is contained in:
Axel Kohlmeyer
2020-08-29 18:23:03 -04:00
parent 3be064748d
commit fcd0b9f78f
233 changed files with 751 additions and 498 deletions

View File

@ -320,7 +320,7 @@ void Comm::modify_params(int narg, char **arg)
for (i=0; i < ntypes+1; ++i)
cutusermulti[i] = -1.0;
}
force->bounds(FLERR,arg[iarg+1],ntypes,nlo,nhi,1);
utils::bounds(FLERR,arg[iarg+1],1,ntypes,nlo,nhi,error);
cut = force->numeric(FLERR,arg[iarg+2]);
cutghostuser = MAX(cutghostuser,cut);
if (cut < 0.0)