Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/multi-volume' into multi-volume
Browse files Browse the repository at this point in the history
  • Loading branch information
majosm committed Aug 9, 2022
2 parents fb8a34b + 500505f commit 6af8108
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 0 additions & 5 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ def get_version():
# The full version, including alpha/beta/rc tags.
release = version

autodoc_type_aliases = {
"DeviceScalar": "arraycontext.DeviceScalar",
"DeviceArray": "arraycontext.DeviceArray",
}

intersphinx_mapping = {
"https://docs.python.org/3/": None,
"https://numpy.org/doc/stable/": None,
Expand Down
5 changes: 3 additions & 2 deletions grudge/dt_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,9 @@ def h_min_from_volume(

def dt_geometric_factors(
dcoll: DiscretizationCollection, dd: Optional[DOFDesc] = None) -> DOFArray:
r"""Computes a geometric scaling factor for each cell following [Hesthaven_2008]_,
section 6.4, defined as the inradius (radius of an inscribed circle/sphere).
r"""Computes a geometric scaling factor for each cell following
[Hesthaven_2008]_, section 6.4, defined as the inradius (radius of an
inscribed circle/sphere).
Specifically, the inradius for each element is computed using the following
formula from [Shewchuk_2002]_, Table 1, for simplicial cells
Expand Down
4 changes: 2 additions & 2 deletions test/test_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_flux(u_tpair):

print("L^inf error:")
print(eoc_rec)
assert(eoc_rec.order_estimate() >= order - 0.5
assert (eoc_rec.order_estimate() >= order - 0.5
or eoc_rec.max_error() < 1e-11)

# }}}
Expand Down Expand Up @@ -272,7 +272,7 @@ def get_flux(u_tpair):

print("L^inf error:")
print(eoc_rec)
assert(eoc_rec.order_estimate() >= order - 0.5
assert (eoc_rec.order_estimate() >= order - 0.5
or eoc_rec.max_error() < 1e-11)

# }}}
Expand Down

0 comments on commit 6af8108

Please sign in to comment.