Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Nov 20, 2023
1 parent dbdfb41 commit 807df89
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/solvers/dgsem_tree/dg_2d_subcell_limiters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -931,13 +931,13 @@ end
end
for i in eachnode(dg)
# interface/boundary of (nnodes(dg), i) in positive xi direction
s = entropy_spec(get_node_vars(bar_states1, equations, dg, nnodes(dg) + 1, i,
element), equations)
s = entropy_spec(get_node_vars(bar_states1, equations, dg,
nnodes(dg) + 1, i, element), equations)
s_min[nnodes(dg), i, element] = min(s_min[nnodes(dg), i, element], s)

# interface/boundary of (i, nnodes(dg)) in positive eta direction
s = entropy_spec(get_node_vars(bar_states2, equations, dg, i, nnodes(dg) + 1,
element), equations)
s = entropy_spec(get_node_vars(bar_states2, equations, dg, i,
nnodes(dg) + 1, element), equations)
s_min[i, nnodes(dg), element] = min(s_min[i, nnodes(dg), element], s)
end
end
Expand Down Expand Up @@ -972,13 +972,13 @@ end
end
for i in eachnode(dg)
# interface/boundary of (nnodes(dg), i) in positive xi direction
s = entropy_math(get_node_vars(bar_states1, equations, dg, nnodes(dg) + 1, i,
element), equations)
s = entropy_math(get_node_vars(bar_states1, equations, dg,
nnodes(dg) + 1, i, element), equations)
s_max[nnodes(dg), i, element] = max(s_max[nnodes(dg), i, element], s)

# interface/boundary of (i, nnodes(dg)) in positive eta direction
s = entropy_math(get_node_vars(bar_states2, equations, dg, i, nnodes(dg) + 1,
element), equations)
s = entropy_math(get_node_vars(bar_states2, equations, dg, i,
nnodes(dg) + 1, element), equations)
s_max[i, nnodes(dg), element] = max(s_max[i, nnodes(dg), element], s)
end
end
Expand Down

0 comments on commit 807df89

Please sign in to comment.