Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Oct 11, 2023
1 parent a79a2f6 commit a5ddabe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ analysis_callback = AnalysisCallback(semi, interval=analysis_interval)

alive_callback = AliveCallback(analysis_interval=analysis_interval,)

# This uses velocity-based AMR
amr_indicator = IndicatorLöhner(semi, variable=v1)
amr_controller = ControllerThreeLevel(semi, amr_indicator,
base_level = 3,
Expand Down
2 changes: 2 additions & 0 deletions src/solvers/dgsem_tree/dg_2d_parabolic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@ function calc_boundary_flux_by_direction_divergence!(surface_flux_values::Abstra
return nothing
end

# `cache` is the hyperbolic cache, i.e., in particular not `cache_parabolic`.
# This is because mortar handling is done in the (hyperbolic) `cache`.
function prolong2mortars!(cache, flux_viscous::Vector{Array{uEltype, 4}},
mesh::TreeMesh{2},
equations_parabolic::AbstractEquationsParabolic,
Expand Down
2 changes: 2 additions & 0 deletions src/solvers/dgsem_tree/dg_3d_parabolic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,8 @@ function calc_boundary_flux_by_direction_divergence!(surface_flux_values::Abstra
return nothing
end

# `cache` is the hyperbolic cache, i.e., in particular not `cache_parabolic`.
# This is because mortar handling is done in the (hyperbolic) `cache`.
function prolong2mortars!(cache,
flux_viscous::Vector{Array{uEltype, 5}},
mesh::TreeMesh{3},
Expand Down

0 comments on commit a5ddabe

Please sign in to comment.