warp.fem.ShapeBasisSpace#
- class warp.fem.ShapeBasisSpace(topology, shape)[source]#
Base class for defining shape-function-based basis spaces.
- Parameters:
topology (SpaceTopology)
shape (ShapeFunction)
- __init__(topology, shape)[source]#
- Parameters:
topology (SpaceTopology)
shape (ShapeFunction)
Methods
__init__(topology, shape)basis_arg_value(device)fill_basis_arg(arg, device)Fill the arguments to be passed to basis-related device functions
make_element_outer_weight()make_element_outer_weight_gradient()make_trace_node_quadrature_weight(trace_basis)node_positions([out])Returns a temporary array containing the world position for each node
trace()Attributes
BasisArggeometryUnderlying geometry of the basis space
Shape functions used for defining individual element basis
topologyUnderlying topology of the basis space
weight_gradient_typeweight_type- property shape: ShapeFunction[source]#
Shape functions used for defining individual element basis
- property name#