Skip to content

Commit

Permalink
Adde P4estMeshView to flux_differencing_kernel! functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCan committed Aug 19, 2024
1 parent 9ea5422 commit 1b9be92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/solvers/dgsem_structured/dg_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ end
mesh::Union{StructuredMesh{2},
StructuredMeshView{2},
UnstructuredMesh2D, P4estMesh{2},
T8codeMesh{2}},
P4estMeshView{2}, T8codeMesh{2}},
nonconservative_terms::False, equations,
volume_flux, dg::DGSEM, cache, alpha = true)
@unpack derivative_split = dg.basis
Expand Down
4 changes: 2 additions & 2 deletions src/solvers/dgsem_structured/dg_2d_compressible_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@inline function flux_differencing_kernel!(_du::PtrArray, u_cons::PtrArray,
element,
mesh::Union{StructuredMesh{2},
UnstructuredMesh2D, P4estMesh{2}},
UnstructuredMesh2D, P4estMesh{2}, P4estMeshView{2}},
nonconservative_terms::False,
equations::CompressibleEulerEquations2D,
volume_flux::typeof(flux_shima_etal_turbo),
Expand Down Expand Up @@ -227,7 +227,7 @@ end
@inline function flux_differencing_kernel!(_du::PtrArray, u_cons::PtrArray,
element,
mesh::Union{StructuredMesh{2},
UnstructuredMesh2D, P4estMesh{2}},
UnstructuredMesh2D, P4estMesh{2}, P4estMeshView{2}},
nonconservative_terms::False,
equations::CompressibleEulerEquations2D,
volume_flux::typeof(flux_ranocha_turbo),
Expand Down

0 comments on commit 1b9be92

Please sign in to comment.