From 59e9012c74be2fb76a3058da21f8205ed45d911f Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Tue, 9 Apr 2024 14:10:36 -0700 Subject: [PATCH] refineplasma not a static var --- Source/Particles/PhysicalParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 268f0b36c93..508455a7fa3 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -978,7 +978,7 @@ PhysicalParticleContainer::AddPlasma (PlasmaInjector const& plasma_injector, int rrfac = m_gdb->refRatio(0); fine_injection_box.coarsen(rrfac); } - static bool refineplasma = false; + bool refineplasma = false; amrex::ParticleLocator > refinepatch_locator; if (WarpX::refineAddplasma) {