warp.fem.ShapeFunction#
- class warp.fem.ShapeFunction[source]#
Interface class for defining scalar-valued shape functions over a single element
- __init__()#
Methods
__init__()Creates a device function returning the value of the shape function associated to a given node at given coordinates
Creates a device function returning the gradient of the shape function associated to a given node at given coordinates
Creates a device function returning the coordinates of each node
Creates a device function returning the weight of each node when use as a quadrature point over the element
Creates a device function returning the weight of each node when use as a quadrature point over the element boundary
Attributes
Unique name encoding all parameters defining the shape function
Maximum degree of the polynomials used to define the shape function
Number of shape function nodes
- make_node_coords_in_element()[source]#
Creates a device function returning the coordinates of each node
- make_node_quadrature_weight()[source]#
Creates a device function returning the weight of each node when use as a quadrature point over the element
- make_trace_node_quadrature_weight()[source]#
Creates a device function returning the weight of each node when use as a quadrature point over the element boundary