Div.h file
Divergence operator for vector-valued functions.
This file defines the Div class, which computes the divergence of vector-valued functions in variational formulations. The divergence is a fundamental differential operator that measures the "outflow" of a vector field.
Mathematical Foundation
For a vector field , the divergence is defined as:
Applications
- Incompressibility constraint:
- Conservation laws:
- Mixed formulations for elliptic problems
Namespaces
- namespace Rodin
- The Rodin library for finite element methods and shape optimization.
- namespace Rodin::Variational
- Namespace Variational.
- namespace Rodin::FormLanguage
- Namespace FormLanguage.
Classes
-
template<class FES, class Data, class Derived>class Rodin::Variational::DivBase<GridFunction<FES, Data>, Derived>
- Divergence of a P1 GridFunction.
-
template<class FES, class Data>struct Rodin::FormLanguage::Traits<Variational::Div<Variational::GridFunction<FES, Data>>>
- Type traits for the matrix or tensor expression specialization.
-
template<class Derived, class FES, Variational::struct Rodin::FormLanguage::Traits<Variational::Div<Variational::ShapeFunction<Derived, FES, Space>>>
ShapeFunctionSpaceType Space> - Type traits for the matrix or tensor expression specialization.
-
template<class FES, class Data>class Rodin::Variational::Div<GridFunction<FES, Data>>
- Matrix-field div, .
-
template<class Derived, class FES, ShapeFunctionSpaceType Space>class Rodin::Variational::Div<ShapeFunction<Derived, FES, Space>>
- Matrix-basis div, .