warp.fem.space.shape.CubeSerendipityShapeFunctions#
- class warp.fem.space.shape.CubeSerendipityShapeFunctions(degree, family)[source]#
Serendipity element: a tensor product space without interior nodes.
Edge shape functions are usual Lagrange shape functions times a bilinear function in the normal directions. Corner shape functions are trilinear shape functions times a function of (x^{d-1} + y^{d-1} + z^{d-1}).
- Parameters:
degree (int)
family (Polynomial)
- __init__(degree, family)[source]#
- Parameters:
degree (int)
family (Polynomial)
Methods
__init__(degree, family)Attributes
EDGEFACEINTERIORVERTEXvalueORDERMaximum degree of the polynomials used to define the shape function
NODES_PER_ELEMENTNumber of shape function nodes