diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Particles/WarpXParticleContainer.H | 4 | ||||
-rw-r--r-- | Source/Particles/WarpXParticleContainer.cpp | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/Source/Particles/WarpXParticleContainer.H b/Source/Particles/WarpXParticleContainer.H index fa5c586da..4fb4f007b 100644 --- a/Source/Particles/WarpXParticleContainer.H +++ b/Source/Particles/WarpXParticleContainer.H @@ -338,8 +338,8 @@ protected: //! instead of gathering fields from the finest patch level, gather from the coarsest bool m_gather_from_main_grid = false; - static int do_not_push; - static int do_not_deposit; + int do_not_push = 0; + int do_not_deposit = 0; // Whether to allow particles outside of the simulation domain to be // initialized when they enter the domain. diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index 85c4dc0d5..e6f729935 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -16,9 +16,6 @@ using namespace amrex; -int WarpXParticleContainer::do_not_push = 0; -int WarpXParticleContainer::do_not_deposit = 0; - WarpXParIter::WarpXParIter (ContainerType& pc, int level) : ParIter(pc, level, MFItInfo().SetDynamic(WarpX::do_dynamic_scheduling)) { |