fix bug in energy tally for 4-atom angle term

This commit is contained in:
Axel Kohlmeyer
2022-08-11 22:50:57 -04:00
parent 208caacb89
commit e5219e6a10

View File

@ -382,6 +382,7 @@ void Angle::ev_tally4(int i, int j, int k, int m, int nlocal, int newton_bond,
if (i < nlocal) energy += eanglefourth;
if (j < nlocal) energy += eanglefourth;
if (k < nlocal) energy += eanglefourth;
if (m < nlocal) energy += eanglefourth;
}
}
if (eflag_atom) {