do the init()/init_style() for impropers just like with other bonded styles

This commit is contained in:
Axel Kohlmeyer
2016-06-08 17:15:32 -04:00
parent 636b27f946
commit 8f6d424e07
8 changed files with 10 additions and 11 deletions

View File

@ -68,6 +68,8 @@ void Improper::init()
error->all(FLERR,"Improper coeffs are not set");
for (int i = 1; i <= atom->nimpropertypes; i++)
if (setflag[i] == 0) error->all(FLERR,"All improper coeffs are not set");
init_style();
}
/* ----------------------------------------------------------------------