Rodin/Variational/P1/Derivative.h file

Partial derivative operator specialization for P1 functions.

This file provides specialized implementations of the partial derivative operator for P1 GridFunctions and ShapeFunctions.

For a scalar P1 function $ u $ , the partial derivative with respect to coordinate $ x_i $ is computed as:

\[ \frac{\partial u}{\partial x_i} = (\nabla u) \cdot \mathbf{e}_i \]

For P1 elements, partial derivatives are piecewise constant on each element.

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::Derivative<GridFunction<P1<Range, Mesh>, Data>>
Derivative of a P1 GridFunction.