Skip to content

Commit

Permalink
add methods
Browse files Browse the repository at this point in the history
  • Loading branch information
LasNikas committed Nov 7, 2024
1 parent ff016f2 commit 4890a64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/multi_resolution/particle_refinement.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ function refinement!(semi, v_ode, u_ode, v_tmp, u_tmp, t)
check_refinement_criteria!(semi, v_ode, u_ode)

# Update the spacing of particles (Algorthm 1)
update_particle_spacing(semi, u_ode)

# Split the particles (Algorithm 2)
split_particles!(semi, v_ode, u_ode, v_tmp, u_tmp)

# Merge the particles (Algorithm 3)
merge_particles!(semi, v_ode, u_ode, v_tmp, u_tmp)

# Shift the particles

# Correct the particles

# Update smoothing lengths

resize!(semi, v_ode, u_ode, v_tmp, u_tmp)

# Resize neighborhood search
foreach_system(semi) do system
foreach_system(semi) do neighbor_system
Expand Down

0 comments on commit 4890a64

Please sign in to comment.