use ev_init for impropers

This commit is contained in:
Sebastian Hütter
2019-03-13 17:50:50 +01:00
parent 17c81295c2
commit c7af948dfc
25 changed files with 28 additions and 62 deletions

View File

@ -95,8 +95,7 @@ void ImproperRing::compute(int eflag, int vflag)
double cjiji, ckjji, ckjkj, fix, fiy, fiz, fjx, fjy, fjz, fkx, fky, fkz;
eimproper = 0.0;
if (eflag || vflag) ev_setup(eflag,vflag);
else evflag = 0;
ev_init(eflag,vflag);
/* References to simulation data. */
double **x = atom->x;