This commit is contained in:
Axel Kohlmeyer
2021-02-08 20:03:13 -05:00
parent 33939a0e26
commit a6aabc0a93

View File

@ -222,7 +222,7 @@ void ComputeStressAtom::compute_peratom()
Fix **fix = modify->fix;
int nfix = modify->nfix;
for (int ifix = 0; ifix < nfix; ifix++)
if (fix[i]->virial_peratom_flag && fix[ifix]->thermo_virial) {
if (fix[ifix]->virial_peratom_flag && fix[ifix]->thermo_virial) {
double **vatom = fix[ifix]->vatom;
if (vatom)
for (i = 0; i < nlocal; i++)