template<class Range, class Mesh>
Rodin::Variational::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.

SpecializationDescription
P0g<Real, Mesh<Context::Local>>Scalar global constant space on a local mesh with one degree of freedom.
P0g<Math::SpatialVector<Real>, Mesh<Context::Local>>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).