diff --git a/src/callbacks/refinement.jl b/src/callbacks/refinement.jl index 03f7f6fe7..130de8756 100644 --- a/src/callbacks/refinement.jl +++ b/src/callbacks/refinement.jl @@ -41,6 +41,12 @@ function initial_refinement!(cb, u, t, integrator) end function initial_refinement!(cb::ParticleRefinementCallback, u, t, integrator) + semi = integrator.p + + foreach_system(semi) do system + resize_refinement!(system) + end + cb(integrator) end