@@ -126,9 +126,9 @@ def __init__(self, element: ufl.finiteelement.FiniteElementBase):
126
126
f"QuadratureElement({ element } )" , "quadrature element" , element .cell ().cellname (), element .value_shape (),
127
127
element .degree ())
128
128
129
- def sobolev_space (self ):
129
+ def basix_sobolev_space (self ):
130
130
"""Return the underlying Sobolev space."""
131
- return ufl . sobolevspace .L2
131
+ return basix . sobolev_spaces .L2
132
132
133
133
def __eq__ (self , other ) -> bool :
134
134
"""Check if two elements are equal."""
@@ -257,6 +257,11 @@ def discontinuous(self) -> bool:
257
257
"""True if the discontinuous version of the element is used."""
258
258
return False
259
259
260
+ @property
261
+ def map_type (self ) -> basix .MapType :
262
+ """The Basix map type."""
263
+ return basix .MapType .identity
264
+
260
265
261
266
class RealElement (basix .ufl_wrapper ._BasixElementBase ):
262
267
"""A real element."""
@@ -408,6 +413,11 @@ def discontinuous(self) -> bool:
408
413
"""True if the discontinuous version of the element is used."""
409
414
return False
410
415
411
- def sobolev_space (self ):
416
+ def basix_sobolev_space (self ):
412
417
"""Return the underlying Sobolev space."""
413
- return ufl .sobolevspace .Hinf
418
+ return basix .sobolev_spaces .Hinf
419
+
420
+ @property
421
+ def map_type (self ) -> basix .MapType :
422
+ """The Basix map type."""
423
+ return basix .MapType .identity
0 commit comments