From 3776ff938daaf1a1255d65ed526cdf3b2b5b8a21 Mon Sep 17 00:00:00 2001 From: Stan Moore Date: Thu, 3 Oct 2024 16:36:05 -0600 Subject: [PATCH] Need to use vflag_either instead of vflag_global --- src/KOKKOS/pair_gran_hooke_history_kokkos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KOKKOS/pair_gran_hooke_history_kokkos.cpp b/src/KOKKOS/pair_gran_hooke_history_kokkos.cpp index b3aaced0e5..495d56721a 100644 --- a/src/KOKKOS/pair_gran_hooke_history_kokkos.cpp +++ b/src/KOKKOS/pair_gran_hooke_history_kokkos.cpp @@ -212,7 +212,7 @@ void PairGranHookeHistoryKokkos::compute(int eflag_in, int vflag_in) } } } else { - if (vflag_global) { + if (vflag_either) { if (shearupdate) { Kokkos::parallel_reduce(Kokkos::RangePolicy>(0,inum),*this, ev); } else {