Skip to content

Commit

Permalink
Update src/solvers/dgsem_p4est/dg_2d_parabolic.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse Chan <[email protected]>
  • Loading branch information
DanielDoehring and jlchan authored Nov 16, 2023
1 parent f1ccb1b commit b5b62f6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/solvers/dgsem_p4est/dg_2d_parabolic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -359,14 +359,6 @@ end
mortar_l2.reverse_upper, fstar[2],
mortar_l2.reverse_lower, fstar[1])

# The flux is calculated in the outward direction of the small elements,
# so the sign must be switched to get the flux in outward direction
# of the large element.
# The contravariant vectors of the large element (and therefore the normal
# vectors of the large element as well) are twice as large as the
# contravariant vectors of the small elements. Therefore, the flux needs
# to be scaled by a factor of 2 to obtain the flux of the large element.
# u_buffer .*= 0.5

# Copy interpolated flux values from buffer to large element face in the
# correct orientation.
Expand Down

0 comments on commit b5b62f6

Please sign in to comment.