MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / num_sub_elements

Method num_sub_elements

python/dolfinx/fem/element.py:212–214  ·  view source on GitHub ↗

Number of sub elements (for a mixed or blocked element).

(self)

Source from the content-addressed store, hash-verified

210
211 @property
212 def num_sub_elements(self) -> int:
213 """Number of sub elements (for a mixed or blocked element)."""
214 return self._cpp_object.num_sub_elements
215
216 @property
217 def value_shape(self) -> npt.NDArray[np.integer]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected