use ev_init for dihedrals
This commit is contained in:
@ -65,8 +65,7 @@ void DihedralQuadratic::compute(int eflag, int vflag)
|
||||
double s2,cx,cy,cz,cmag,dx,phi,si,siinv,sin2;
|
||||
|
||||
edihedral = 0.0;
|
||||
if (eflag || vflag) ev_setup(eflag,vflag);
|
||||
else evflag = 0;
|
||||
ev_init(eflag,vflag);
|
||||
|
||||
double **x = atom->x;
|
||||
double **f = atom->f;
|
||||
|
||||
Reference in New Issue
Block a user