diff --git a/Particles/src/NuParticleContainers.cxx b/Particles/src/NuParticleContainers.cxx index 33156ea..6ffd98d 100644 --- a/Particles/src/NuParticleContainers.cxx +++ b/Particles/src/NuParticleContainers.cxx @@ -155,9 +155,6 @@ void NuParticleContainer::PushAndDeposeParticles(const amrex::MultiFab &lapse, ptd.rdata(PIdx::time)[i] += dt; }); } - - // tidy after the full step - this->Redistribute(); } void NuParticleContainer::OutputParticlesAscii(const cGH *cctkGH) { diff --git a/TestNuParticles/src/testnuparticles.cxx b/TestNuParticles/src/testnuparticles.cxx index 6a6204f..fcd2cfa 100644 --- a/TestNuParticles/src/testnuparticles.cxx +++ b/TestNuParticles/src/testnuparticles.cxx @@ -246,6 +246,7 @@ extern "C" void TestNuParticles_PushAndDeposeParticles(CCTK_ARGUMENTS) { pc->PushAndDeposeParticles(lapse, shift, met3d, dt, lev); } + pc->Redistribute(); } // for patch // IO diff --git a/TestNuPcsArdBH/src/testnupcsardbh.cxx b/TestNuPcsArdBH/src/testnupcsardbh.cxx index 41bd324..f3d1ee4 100644 --- a/TestNuPcsArdBH/src/testnupcsardbh.cxx +++ b/TestNuPcsArdBH/src/testnupcsardbh.cxx @@ -109,6 +109,7 @@ extern "C" void TestNuPcsArdBH_PushAndDeposeParticles(CCTK_ARGUMENTS) { pc->PushAndDeposeParticles(lapse, shift, met3d, dt, lev); } + pc->Redistribute(); } // for patch // IO