Replace a few more 2s with VIRIAL_FDOTR
This commit is contained in:
@ -76,7 +76,7 @@ void DihedralCharmmKokkos<DeviceType>::compute(int eflag_in, int vflag_in)
|
||||
|
||||
// insure pair->ev_tally() will use 1-4 virial contribution
|
||||
|
||||
if (weightflag && vflag_global == 2)
|
||||
if (weightflag && vflag_global == VIRIAL_FDOTR)
|
||||
force->pair->vflag_either = force->pair->vflag_global = 1;
|
||||
|
||||
// reallocate per-atom arrays if necessary
|
||||
|
||||
@ -63,7 +63,7 @@ void BondQuartic::compute(int eflag, int vflag)
|
||||
|
||||
// insure pair->ev_tally() will use 1-4 virial contribution
|
||||
|
||||
if (vflag_global == 2)
|
||||
if (vflag_global == VIRIAL_FDOTR)
|
||||
force->pair->vflag_either = force->pair->vflag_global = 1;
|
||||
|
||||
double **cutsq = force->pair->cutsq;
|
||||
|
||||
@ -79,7 +79,7 @@ void DihedralCharmm::compute(int eflag, int vflag)
|
||||
|
||||
// insure pair->ev_tally() will use 1-4 virial contribution
|
||||
|
||||
if (weightflag && vflag_global == 2)
|
||||
if (weightflag && vflag_global == VIRIAL_FDOTR)
|
||||
force->pair->vflag_either = force->pair->vflag_global = 1;
|
||||
|
||||
double **x = atom->x;
|
||||
|
||||
@ -82,7 +82,7 @@ void DihedralCharmmfsw::compute(int eflag, int vflag)
|
||||
|
||||
// insure pair->ev_tally() will use 1-4 virial contribution
|
||||
|
||||
if (weightflag && vflag_global == 2)
|
||||
if (weightflag && vflag_global == VIRIAL_FDOTR)
|
||||
force->pair->vflag_either = force->pair->vflag_global = 1;
|
||||
|
||||
double **x = atom->x;
|
||||
|
||||
@ -91,7 +91,7 @@ void DihedralCharmmIntel::compute(int eflag, int vflag,
|
||||
|
||||
// insure pair->ev_tally() will use 1-4 virial contribution
|
||||
|
||||
if (weightflag && vflag_global == 2)
|
||||
if (weightflag && vflag_global == VIRIAL_FDOTR)
|
||||
force->pair->vflag_either = force->pair->vflag_global = 1;
|
||||
|
||||
if (evflag) {
|
||||
|
||||
@ -72,7 +72,7 @@ void AngleCosineBuck6d::compute(int eflag, int vflag)
|
||||
|
||||
// insure pair->ev_tally() will use 1-3 virial contribution
|
||||
|
||||
if (vflag_global == 2)
|
||||
if (vflag_global == VIRIAL_FDOTR)
|
||||
force->pair->vflag_either = force->pair->vflag_global = 1;
|
||||
|
||||
double **x = atom->x;
|
||||
|
||||
@ -45,7 +45,7 @@ void BondQuarticOMP::compute(int eflag, int vflag)
|
||||
|
||||
// insure pair->ev_tally() will use 1-4 virial contribution
|
||||
|
||||
if (vflag_global == 2)
|
||||
if (vflag_global == VIRIAL_FDOTR)
|
||||
force->pair->vflag_either = force->pair->vflag_global = 1;
|
||||
|
||||
const int nall = atom->nlocal + atom->nghost;
|
||||
|
||||
@ -49,7 +49,7 @@ void DihedralCharmmOMP::compute(int eflag, int vflag)
|
||||
|
||||
// insure pair->ev_tally() will use 1-4 virial contribution
|
||||
|
||||
if (weightflag && vflag_global == 2)
|
||||
if (weightflag && vflag_global == VIRIAL_FDOTR)
|
||||
force->pair->vflag_either = force->pair->vflag_global = 1;
|
||||
|
||||
const int nall = atom->nlocal + atom->nghost;
|
||||
|
||||
Reference in New Issue
Block a user