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

@ -263,7 +263,7 @@ void ImproperHybrid::coeff(int narg, char **arg)
if (!allocated) allocate();
int ilo,ihi;
force->bounds(FLERR,arg[0],atom->nimpropertypes,ilo,ihi);
utils::bounds(FLERR,arg[0],1,atom->nimpropertypes,ilo,ihi,error);
// 2nd arg = improper sub-style name
// allow for "none" as valid sub-style name