From bb55424db4feefe24166476bee7f1111e07bf5ea Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Wed, 22 Nov 2023 11:55:46 -0800 Subject: [PATCH] add particle redistribute call --- Source/ERF.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/ERF.cpp b/Source/ERF.cpp index 7bf30f541..86c23ccf7 100644 --- a/Source/ERF.cpp +++ b/Source/ERF.cpp @@ -314,6 +314,10 @@ ERF::post_timestep (int nstep, Real time, Real dt_lev0) { BL_PROFILE("ERF::post_timestep()"); +#ifdef ERF_USE_PARTICLES + particleData.Redistribute(); +#endif + if (solverChoice.coupling_type == CouplingType::TwoWay || solverChoice.coupling_type == CouplingType::Mixed) {