support init_style() API similar to bond/dihedral

This commit is contained in:
Axel Kohlmeyer
2011-10-30 20:32:15 -04:00
parent 7807793fdc
commit 18013be05a
3 changed files with 13 additions and 0 deletions

View File

@ -53,6 +53,8 @@ void Angle::init()
if (!allocated) error->all(FLERR,"Angle coeffs are not set");
for (int i = 1; i <= atom->nangletypes; i++)
if (setflag[i] == 0) error->all(FLERR,"All angle coeffs are not set");
init_style();
}
/* ----------------------------------------------------------------------