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

Method component

python/dolfinx/fem/function.py:796–798  ·  view source on GitHub ↗

Return the component relative to the parent space.

(self)

Source from the content-addressed store, hash-verified

794 return FunctionSpace(self._mesh, sub_element, cppV_sub)
795
796 def component(self):
797 """Return the component relative to the parent space."""
798 return self._cpp_object.component() # type: ignore
799
800 def contains(self, V) -> bool:
801 """Check if a space is contained in, or is the same as, this space.

Callers 1

test_componentFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_componentFunction · 0.36