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

Method num_sub_spaces

python/dolfinx/fem/function.py:773–775  ·  view source on GitHub ↗

Number of sub spaces.

(self)

Source from the content-addressed store, hash-verified

771
772 @property
773 def num_sub_spaces(self) -> int:
774 """Number of sub spaces."""
775 return self.element.num_sub_elements
776
777 def sub(self, i: int) -> FunctionSpace[Real]:
778 """Return the i-th sub space.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected