move Force::bounds() and Force::boundsbig() to utils.
This commit is contained in:
@ -287,7 +287,7 @@ void DihedralQuadratic::coeff(int narg, char **arg)
|
||||
if (!allocated) allocate();
|
||||
|
||||
int ilo,ihi;
|
||||
force->bounds(FLERR,arg[0],atom->ndihedraltypes,ilo,ihi);
|
||||
utils::bounds(FLERR,arg[0],1,atom->ndihedraltypes,ilo,ihi,error);
|
||||
|
||||
double k_one = force->numeric(FLERR,arg[1]);
|
||||
double phi0_one= force->numeric(FLERR,arg[2]);
|
||||
|
||||
Reference in New Issue
Block a user