add support for per-atom virial

This commit is contained in:
Axel Kohlmeyer
2013-03-08 19:23:27 +01:00
parent 8861fa1340
commit 6f0a56be5c

View File

@ -331,4 +331,9 @@ void MSMOMP::direct_eval(const int nn)
virial[5] += v5;
}
}
// compute per-atom virial (if requested)
if (VFLAG_ATOM)
MSM::direct_peratom(n);
}