warp.fem.space.shape.ConstantShapeFunction#

class warp.fem.space.shape.ConstantShapeFunction(element, scalar_type=warp.float32)[source]#

Shape function that is constant over the element.

Methods

Attributes

INTERPOLATORY

Whether each shape function is one at its own node and zero at the other nodes (Lagrange property).

name

value

Value type of the shape function.

ORDER

Maximum degree of the polynomials used to define the shape function.

NODES_PER_ELEMENT

Number of shape function nodes.

Parameters:
INTERPOLATORY: bool = True#

Whether each shape function is one at its own node and zero at the other nodes (Lagrange property).

property name: str[source]#
make_node_coords_in_element()[source]#
make_node_quadrature_weight()[source]#
make_trace_node_quadrature_weight()[source]#
make_element_inner_weight()[source]#
make_element_inner_weight_gradient()[source]#
make_node_dual_weight()[source]#
element_vtk_cells()[source]#