template<class Range, class Mesh>
Rodin::Variational::P0 class

Degree 0 Lagrange finite element space.

Template parameters
Range Range value type

Represents the finite element space composed of discontinuous, piecewise constant functions:

\[ \mathbb{P}_0 (\mathcal{T}_h)^d = \{ v : \mathcal{T}_h \rightarrow \mathbb{R}^d : v|_{\tau} \in \mathbb{P}_0(\tau), \ \tau \in \mathcal{T}_h \} \ , \]

for a given vector dimension $ d \in \mathbb{N} $ .

SpecializationDescription
P0<Real, Mesh<Context::Local>>Scalar-valued local-mesh discontinuous piecewise constant space.
P0<Range, Mesh<Context::MPI>>Scalar or vector-valued distributed-mesh discontinuous piecewise constant space.