warp.fem.make_element_based_space_topology#
- warp.fem.make_element_based_space_topology(geo, shape, discontinuous=False)[source]#
Makes a space topology from a geometry and an element-based shape function.
- Parameters:
geo (Geometry) – The geometry to make the topology for
shape (ShapeFunction) – The shape function to make the topology for
discontinuous (bool) – Whether to make a discontinuous topology
- Returns:
The element-based space topology
- Raises:
NotImplementedError – If the geometry type is not supported
ValueError – If the shape function is not supported for the given geometry`
- Return type: