Skip to content

Commit

Permalink
same with prolong2mpimortars!
Browse files Browse the repository at this point in the history
  • Loading branch information
benegee committed Dec 18, 2024
1 parent 20e3174 commit fce3af0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/solvers/dgsem_p4est/dg_3d_gpu_parallel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ end
mesh::ParallelP4estMesh{3},
equations,
mortar_l2::LobattoLegendreMortarL2,
surface_integral, dg::DGSEM)
dg::DGSEM)
if nmpimortars(dg, cache) > 0
error("mortars currently not supported by KA.jl P4estMesh solver")
end
Expand Down
6 changes: 3 additions & 3 deletions src/solvers/dgsem_p4est/dg_3d_parallel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -327,17 +327,17 @@ function prolong2mpimortars!(cache, u,
mesh::Union{ParallelP4estMesh{3}, ParallelT8codeMesh{3}},
equations,
mortar_l2::LobattoLegendreMortarL2,
surface_integral, dg::DGSEM)
dg::DGSEM)
backend = backend_or_nothing(cache.mpi_mortars)
_prolong2mpimortars!(backend, cache, u, mesh, equations,
mortar_l2, surface_integral, dg)
mortar_l2, dg)
end

@inline function _prolong2mpimortars!(backend::Nothing, cache, u,
mesh::Union{ParallelP4estMesh{3}, ParallelT8codeMesh{3}},
equations,
mortar_l2::LobattoLegendreMortarL2,
surface_integral, dg::DGSEM)
dg::DGSEM)
@unpack node_indices = cache.mpi_mortars
index_range = eachnode(dg)

Expand Down

0 comments on commit fce3af0

Please sign in to comment.