From bc8d1e0f84eb02e6691330e9fd887c4cc1f31e89 Mon Sep 17 00:00:00 2001 From: Aidan Thompson Date: Sat, 19 Feb 2022 20:55:37 -0700 Subject: [PATCH] Tweaked one comment --- src/EXTRA-COMPUTE/compute_born_matrix.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/EXTRA-COMPUTE/compute_born_matrix.cpp b/src/EXTRA-COMPUTE/compute_born_matrix.cpp index eb6fce9ce9..048dddf2a1 100644 --- a/src/EXTRA-COMPUTE/compute_born_matrix.cpp +++ b/src/EXTRA-COMPUTE/compute_born_matrix.cpp @@ -592,9 +592,11 @@ void ComputeBornMatrix::update_virial() { int eflag = 0; - // NOTE: this may affect stress/atom output, untested + // this may not be completely general + // but it works for lj/cut and sw pair styles + // and compute stress/atom output is unaffected - int vflag = VIRIAL_PAIR; // Need to generalize this + int vflag = VIRIAL_PAIR; if (force->pair) force->pair->compute(eflag, vflag);