2nd try on LATTE error returns, plus a couple minor doc edits

This commit is contained in:
Steven J. Plimpton
2018-02-20 12:52:12 -07:00
parent 9cf99ef479
commit c399b75dec
5 changed files with 11 additions and 89 deletions

View File

@ -350,7 +350,6 @@ void Fix::v_tally(int n, int *list, double total, double *v)
void Fix::v_tally(int i, double *v)
{
if (vflag_global) {
virial[0] += v[0];
virial[1] += v[1];
@ -384,7 +383,6 @@ void Fix::v_tally(int i, double *v)
void Fix::v_tally(int n, int i, double vn)
{
if (vflag_global)
virial[n] += vn;