warp.fem.space.shape.SquareShapeFunction#

class warp.fem.space.shape.SquareShapeFunction[source]#
__init__()#

Methods

__init__()

make_element_inner_weight()

Creates a device function returning the value of the shape function associated to a given node at given coordinates

make_element_inner_weight_gradient()

Creates a device function returning the gradient of the shape function associated to a given node at given coordinates

make_node_coords_in_element()

Creates a device function returning the coordinates of each node

make_node_quadrature_weight()

Creates a device function returning the weight of each node when use as a quadrature point over the element

make_trace_node_quadrature_weight()

Creates a device function returning the weight of each node when use as a quadrature point over the element boundary

Attributes

EDGE_X

EDGE_Y

INTERIOR

VERTEX

name

Unique name encoding all parameters defining the shape function

value

VERTEX_NODE_COUNT

Number of shape function nodes per vertex

EDGE_NODE_COUNT

Number of shape function nodes per triangle edge (excluding vertex nodes)

INTERIOR_NODE_COUNT

Number of shape function nodes per triangle (excluding edge and vertex nodes)

ORDER

Maximum degree of the polynomials used to define the shape function

NODES_PER_ELEMENT

Number of shape function nodes

VERTEX = 0#
EDGE_X = 1#
EDGE_Y = 2#
INTERIOR = 3#
VERTEX_NODE_COUNT: int#

Number of shape function nodes per vertex

EDGE_NODE_COUNT: int#

Number of shape function nodes per triangle edge (excluding vertex nodes)

INTERIOR_NODE_COUNT: int#

Number of shape function nodes per triangle (excluding edge and vertex nodes)