Skip to content

Commit

Permalink
Unify Indicator 3-Level Combined TreeMesh
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Oct 15, 2024
1 parent cdd552f commit 6462127
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/callbacks_step/amr_dg1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function create_cache(::Type{ControllerThreeLevel}, mesh::TreeMesh{1}, equations
return (; controller_value)
end

function create_cache(::Type{ControllerThreeLevelCombined}, mesh::TreeMesh{1},
function create_cache(::Type{ControllerThreeLevelCombined}, mesh::TreeMesh,
equations, dg::DG, cache)
controller_value = Vector{Int}(undef, nelements(dg, cache))
return (; controller_value)
Expand Down
5 changes: 0 additions & 5 deletions src/callbacks_step/amr_dg2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,4 @@ function create_cache(::Type{ControllerThreeLevel},
return (; controller_value)
end

function create_cache(::Type{ControllerThreeLevelCombined}, mesh::TreeMesh{2},
equations, dg::DG, cache)
controller_value = Vector{Int}(undef, nelements(dg, cache))
return (; controller_value)
end
end # @muladd

0 comments on commit 6462127

Please sign in to comment.