From 00a460af4f16be27be744e12d764e92866006595 Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Mon, 9 Oct 2023 15:19:16 -0400 Subject: [PATCH] hopefully this fixes AMR boundaries for parabolic terms --- src/callbacks_step/amr.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/callbacks_step/amr.jl b/src/callbacks_step/amr.jl index 378f7f17bad..2d823512659 100644 --- a/src/callbacks_step/amr.jl +++ b/src/callbacks_step/amr.jl @@ -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