Rodin/Variational/P0/Grad.h file

Gradient operator specialization for P0 (piecewise constant) functions.

For P0 functions, the gradient is zero within each element since $ u|_K = \text{const} $ implies $ \nabla u|_K = 0 $ .

Namespaces

namespace Rodin
The Rodin library for Shape and Topology Optimization.
namespace Rodin::FormLanguage
Module for writing high level abstract expressions.
namespace Rodin::Variational
Module which provides the necessary tools for constructing variational problems.

Classes

template<class Range, class Data, class Mesh>
class Rodin::Variational::Grad<GridFunction<P0<Range, Mesh>, Data>>
Gradient of a P0 GridFunction.
template<class NestedDerived, class Scalar, class Mesh, ShapeFunctionSpaceType SpaceType>
class Rodin::Variational::Grad<ShapeFunction<NestedDerived, P0<Scalar, Mesh>, SpaceType>>
Gradient of a P0 ShapeFunction.