warp.fem.ElementBasis#
- class warp.fem.ElementBasis(*values)[source]#
Choice of basis function to equip individual elements
Attributes
Lagrange basis functions \(P_k\) for simplices, tensor products \(Q_k\) for squares and cubes
Serendipity elements \(S_k\), corresponding to Lagrange nodes with interior points removed (for degree <= 3)
Simplex Lagrange basis functions \(P_{kd}\) embedded into non conforming reference elements (e.g. squares or cubes).
Nédélec (first kind) H(curl) shape functions.
Raviart-Thomas H(div) shape functions.
- LAGRANGE = 'P'#
Lagrange basis functions \(P_k\) for simplices, tensor products \(Q_k\) for squares and cubes
- SERENDIPITY = 'S'#
Serendipity elements \(S_k\), corresponding to Lagrange nodes with interior points removed (for degree <= 3)
- NONCONFORMING_POLYNOMIAL = 'dP'#
Simplex Lagrange basis functions \(P_{kd}\) embedded into non conforming reference elements (e.g. squares or cubes). Discontinuous only.
- NEDELEC_FIRST_KIND = 'N1'#
Nédélec (first kind) H(curl) shape functions. Should be used with covariant function space.
- RAVIART_THOMAS = 'RT'#
Raviart-Thomas H(div) shape functions. Should be used with contravariant function space.