mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1213 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
ecd353758e
commit
6d039d2bb3
|
@ -100,7 +100,7 @@ void PairAIREBO::compute(int eflag, int vflag)
|
|||
if (ljflag) FLJ(eflag,vflag);
|
||||
if (torflag) TORSION(eflag,vflag);
|
||||
|
||||
if (vflag_fdotr == 2) virial_compute();
|
||||
if (vflag_fdotr) virial_compute();
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
|
|
@ -110,7 +110,7 @@ void PairHybrid::compute(int eflag, int vflag)
|
|||
}
|
||||
}
|
||||
|
||||
if (vflag_fdotr == 2) virial_compute();
|
||||
if (vflag_fdotr) virial_compute();
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
|
Loading…
Reference in New Issue