warp.fem.space.shape.SquareSerendipityShapeFunctions#

class warp.fem.space.shape.SquareSerendipityShapeFunctions(degree, family)[source]#

Serendipity element: a tensor product space without interior nodes.

Side shape functions are usual Lagrange shape functions times a linear function in the normal direction. Corner shape functions are bilinear shape functions times a function of (x^{d-1} + y^{d-1}).

Parameters:
__init__(degree, family)[source]#
Parameters:

Methods

Attributes

EDGE_X

EDGE_Y

INTERIOR

VERTEX

name

value

Value type of the shape function.

VERTEX_NODE_COUNT

Number of shape function nodes per vertex.

EDGE_NODE_COUNT

Number of shape function nodes per square edge (excluding vertex nodes).

INTERIOR_NODE_COUNT

Number of shape function nodes per square (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.

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]#
element_node_triangulation()[source]#
element_vtk_cells()[source]#