Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Sep 18, 2023
1 parent be3c65c commit b696212
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/solvers/dgsem_unstructured/dg_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ function calc_boundary_flux!(cache, t, boundary_condition::BoundaryConditionPeri
end

# Function barrier for type stability
function calc_boundary_flux!(cache, t, boundary_conditions::UnstructuredSortedBoundaryTypes,
function calc_boundary_flux!(cache, t,
boundary_conditions::UnstructuredSortedBoundaryTypes,
mesh::Union{UnstructuredMesh2D, P4estMesh, T8codeMesh},
equations, surface_integral, dg::DG)
@unpack boundary_condition_types, boundary_indices = boundary_conditions
Expand Down Expand Up @@ -388,7 +389,7 @@ end
nonconservative_terms::False, equations,
surface_integral, dg::DG, cache,
node_index, side_index, element_index,
boundary_index) where{BC}
boundary_index) where {BC}
@unpack normal_directions = cache.elements
@unpack u, node_coordinates = cache.boundaries
@unpack surface_flux = surface_integral
Expand Down

0 comments on commit b696212

Please sign in to comment.