Skip to content

Commit

Permalink
Merge branch 'main' into ci_mirgecom_examples
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener authored Mar 3, 2022
2 parents 551c993 + 65a0a92 commit 10ba69c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grudge/dt_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ def dt_geometric_factors(
)

if dcoll.dim == 1:
return freeze(cell_vols)
# Inscribed "circle" radius is half the cell size
return freeze(cell_vols/2)

dd_face = DOFDesc("all_faces", dd.discretization_tag)
face_discr = dcoll.discr_from_dd(dd_face)
Expand Down

0 comments on commit 10ba69c

Please sign in to comment.