Skip to content

Commit

Permalink
hopefully this fixes AMR boundaries for parabolic terms
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchan committed Oct 9, 2023
1 parent 41770d7 commit 00a460a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/callbacks_step/amr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,9 @@ function (amr_callback::AMRCallback)(u_ode::AbstractVector, mesh::P4estMesh,
end

reinitialize_boundaries!(semi.boundary_conditions, cache)
if hasproperty(semi, :boundary_conditions_parabolic)
reinitialize_boundaries!(semi.boundary_conditions_parabolic, cache)
end
end

# Return true if there were any cells coarsened or refined, otherwise false
Expand Down

0 comments on commit 00a460a

Please sign in to comment.