Skip to content

Commit

Permalink
initial refinement: resize
Browse files Browse the repository at this point in the history
  • Loading branch information
LasNikas committed Nov 18, 2024
1 parent 9a668d7 commit c89285c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/callbacks/refinement.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c89285c

Please sign in to comment.