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:
degree (int)
family (Polynomial)
- __init__(degree, family)[source]#
- Parameters:
degree (int)
family (Polynomial)
Methods
__init__(degree, family)Attributes
EDGE_XEDGE_YINTERIORVERTEXvalueValue type of the shape function.
VERTEX_NODE_COUNTNumber of shape function nodes per vertex.
EDGE_NODE_COUNTNumber of shape function nodes per square edge (excluding vertex nodes).
INTERIOR_NODE_COUNTNumber of shape function nodes per square (excluding edge and vertex nodes).
ORDERMaximum degree of the polynomials used to define the shape function.
NODES_PER_ELEMENTNumber of shape function nodes.