warp.fem.space.shape.CubeSerendipityShapeFunctions#
- class warp.fem.space.shape.CubeSerendipityShapeFunctions(
- degree,
- family,
- scalar_type=warp.float32,
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}).
Methods
Attributes
EDGEFACEINTERIORVERTEXvalueValue type of the shape function.
ORDERMaximum degree of the polynomials used to define the shape function.
NODES_PER_ELEMENTNumber of shape function nodes.
- Parameters:
degree (int)
family (Polynomial)
scalar_type (type)