@@ -103,16 +103,6 @@ def _is_globally_constant(self) -> bool:
103
103
"""Check if the element is a global constant."""
104
104
return False
105
105
106
- @property
107
- def _is_cellwise_constant (self ) -> bool :
108
- """Check if the basis functions of this element are constant over each cell."""
109
- return self .highest_degree == 0
110
-
111
- @property
112
- def _is_linear (self ) -> bool :
113
- """Check if the element is Lagrange degree 1."""
114
- return False
115
-
116
106
@property
117
107
def sub_elements (self ) -> _typing .List [_AbstractFiniteElement ]:
118
108
"""Return a list of sub elements."""
@@ -344,11 +334,6 @@ def __init__(self, element: _basix.finite_element.FiniteElement, gdim: _typing.O
344
334
345
335
self .element = element
346
336
347
- @property
348
- def _is_linear (self ) -> bool :
349
- """Check if the element is Lagrange degree 1."""
350
- return self .element .family == _basix .ElementFamily .P and self .element .degree == 1
351
-
352
337
@property
353
338
def basix_sobolev_space (self ):
354
339
"""Return a Basix enum representing the underlying Sobolev space."""
@@ -998,11 +983,6 @@ def basix_sobolev_space(self):
998
983
"""Basix enum representing the underlying Sobolev space."""
999
984
return self .sub_element .basix_sobolev_space
1000
985
1001
- @property
1002
- def _is_linear (self ) -> bool :
1003
- """Check if the element is Lagrange degree 1."""
1004
- return self .sub_element ._is_linear
1005
-
1006
986
@property
1007
987
def sub_elements (self ) -> _typing .List [_ElementBase ]:
1008
988
"""List of sub elements."""
@@ -1433,11 +1413,6 @@ def _is_globally_constant(self) -> bool:
1433
1413
"""Check if the element is a global constant."""
1434
1414
return True
1435
1415
1436
- @property
1437
- def _is_cellwise_constant (self ) -> bool :
1438
- """Check if the basis functions of this element are constant over each cell."""
1439
- return True
1440
-
1441
1416
def tabulate (self , nderivs : int , points : _npt .NDArray [_np .float64 ]) -> _npt .NDArray [_np .float64 ]:
1442
1417
"""Tabulate the basis functions of the element.
1443
1418
0 commit comments