replace calls to force->*numeric() with the corresponding utils::*numeric()
this also removes the now obsolete functions from Force
This commit is contained in:
@ -185,10 +185,10 @@ void AngleQuartic::coeff(int narg, char **arg)
|
||||
int ilo,ihi;
|
||||
utils::bounds(FLERR,arg[0],1,atom->nangletypes,ilo,ihi,error);
|
||||
|
||||
double theta0_one = force->numeric(FLERR,arg[1]);
|
||||
double k2_one = force->numeric(FLERR,arg[2]);
|
||||
double k3_one = force->numeric(FLERR,arg[3]);
|
||||
double k4_one = force->numeric(FLERR,arg[4]);
|
||||
double theta0_one = utils::numeric(FLERR,arg[1],false,lmp);
|
||||
double k2_one = utils::numeric(FLERR,arg[2],false,lmp);
|
||||
double k3_one = utils::numeric(FLERR,arg[3],false,lmp);
|
||||
double k4_one = utils::numeric(FLERR,arg[4],false,lmp);
|
||||
|
||||
// convert theta0 from degrees to radians
|
||||
|
||||
|
||||
Reference in New Issue
Block a user