Skip to content

Commit

Permalink
Applied autoformatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
iomsn committed Mar 14, 2024
1 parent 4966c4f commit e8e2aba
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/semidiscretization/semidiscretization_coupled.jl
Original file line number Diff line number Diff line change
Expand Up @@ -439,14 +439,16 @@ function (boundary_condition::BoundaryConditionCoupled)(u_inner, orientation, di
# In case of conservative and non-conservative fluxes add the non-conservative one with a factor of 1/2.
if iseven(direction) # u_inner is "left" of boundary, u_boundary is "right" of boundary
flux = (surface_flux_function[1](u_inner, u_boundary, orientation,
equations) +
0.5 *
surface_flux_function[2](u_inner, u_boundary, orientation, equations))
equations) +
0.5 *
surface_flux_function[2](u_inner, u_boundary, orientation,
equations))
else # u_boundary is "left" of boundary, u_inner is "right" of boundary
flux = (surface_flux_function[1](u_boundary, u_inner, orientation,
equations) +
0.5 *
surface_flux_function[2](u_boundary, u_inner, orientation, equations))
equations) +
0.5 *
surface_flux_function[2](u_boundary, u_inner, orientation,
equations))
end
else
if iseven(direction) # u_inner is "left" of boundary, u_boundary is "right" of boundary
Expand Down

0 comments on commit e8e2aba

Please sign in to comment.