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}).
- Parameters:
degree (int)
family (Polynomial)
scalar_type (type)
- __init__(
- degree,
- family,
- scalar_type=warp.float32,
- Parameters:
degree (int)
family (Polynomial)
scalar_type (type)
Methods
__init__(degree, family[, scalar_type])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.