git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4597 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2010-08-26 15:27:00 +00:00
parent 74dc9c26f5
commit 2676e30a50
4 changed files with 5 additions and 4 deletions

View File

@ -90,7 +90,7 @@ PairAIREBO::~PairAIREBO()
void PairAIREBO::compute(int eflag, int vflag)
{
if (eflag || vflag) ev_setup(eflag,vflag);
else evflag = vflag_fdotr = 0;
else evflag = vflag_fdotr = vflag_atom = 0;
REBO_neigh();
FREBO(eflag,vflag);

View File

@ -126,7 +126,7 @@ void PairComb::compute(int eflag, int vflag)
evdwl = ecoul = 0.0;
if (eflag || vflag) ev_setup(eflag,vflag);
else evflag = vflag_fdotr = 0;
else evflag = vflag_fdotr = vflag_atom = 0;
// grow coordination array if necessary

View File

@ -86,7 +86,7 @@ void PairTersoff::compute(int eflag, int vflag)
evdwl = 0.0;
if (eflag || vflag) ev_setup(eflag,vflag);
else evflag = vflag_fdotr = 0;
else evflag = vflag_fdotr = vflag_atom = 0;
double **x = atom->x;
double **f = atom->f;

View File

@ -78,7 +78,8 @@ void PairHybrid::compute(int eflag, int vflag)
if (no_virial_compute && vflag % 4 == 2) vflag = 1 + vflag/4 * 4;
if (eflag || vflag) ev_setup(eflag,vflag);
else evflag = vflag_fdotr = 0;
else evflag = vflag_fdotr = eflag_global = vflag_global =
eflag_atom = vflag_atom = 0;
// check if global component of incoming vflag = 2
// if so, reset vflag passed to substyle as if it were 0