Skip to content

Commit 22fdd11

Browse files
committed
Remove references to _volum_discr
1 parent 3879e80 commit 22fdd11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grudge/discretization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def _has_affine_groups(self):
244244
return any(
245245
megrp.is_affine
246246
and issubclass(megrp._modepy_shape_cls, Simplex)
247-
for megrp in self._volume_discr.mesh.groups)
247+
for megrp in self._mesh.groups)
248248

249249
@memoize_method
250250
def _base_to_geoderiv_connection(self, dd: DOFDesc):
@@ -443,7 +443,7 @@ def _discr_tag_volume_discr(self, discretization_tag):
443443

444444
# Refuse to re-make the volume discretization
445445
if discretization_tag is DISCR_TAG_BASE:
446-
return self._volume_discr
446+
return self.discr_from_dd("vol")
447447

448448
from meshmode.discretization import Discretization
449449
return Discretization(

0 commit comments

Comments
 (0)