move Force::bounds() and Force::boundsbig() to utils.
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user