pairwise -> two-body for clarity in appropriate comments

This commit is contained in:
Donatas Surblys
2019-11-13 19:48:52 +09:00
parent b80e5d3d11
commit e44c394680
3 changed files with 6 additions and 6 deletions

View File

@ -175,7 +175,7 @@ void ComputeCentroidStressAtom::compute_peratom()
// add in per-atom contributions from each force
// per-atom virial and per-atom centroid virial are the same for pairwise
// per-atom virial and per-atom centroid virial are the same for two-body
// many-body pair styles not yet implemented
if (pairflag && force->pair) {
if (force->pair->centroidstressflag & 2) {