template<class Range, class Mesh>
P0g class
Forward declaration of global constant finite element spaces.
| Template parameters | |
|---|---|
| Range | Value range of the finite element space. |
| Mesh | Mesh type on which the space is defined. |
Global constant (P0g) finite element space.
| Specialization | Description |
|---|---|
| P0g<Real, Mesh<Context:: | Scalar global constant space on a local mesh with one degree of freedom. |
| P0g<Math:: | Vector-valued global constant space on a local mesh with one degree of freedom per component. |
- Scalar-valued: 1 DOF total (span{1})
- Vector-valued: vdim DOFs total (span{e_0,...,e_{vdim-1}})
This is the global analogue of P0 (which is elementwise constant).