use ev_unset for all pair styles

This commit is contained in:
Sebastian Hütter
2019-03-13 16:34:15 +01:00
parent 3b234c167f
commit 06a57dd659
424 changed files with 451 additions and 1036 deletions

View File

@ -59,8 +59,7 @@ void PairMorse::compute(int eflag, int vflag)
int *ilist,*jlist,*numneigh,**firstneigh;
evdwl = 0.0;
if (eflag || vflag) ev_setup(eflag,vflag);
else evflag = vflag_fdotr = 0;
ev_init(eflag,vflag);
double **x = atom->x;
double **f = atom->f;