![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
FunctionIntegrator Class Reference
provides static methods for numerical integration More...
#include <dune/fufem/functiontools/functionintegrator.hh>
Static Public Member Functions | |
| template<class GridView , class FunctionType > | |
| static auto | integrate (const GridView &gv, const FunctionType &integrand, const int quad_order) |
| numerically integrates a given function | |
| template<class RangeType , class BasisType , class VectorType > | |
| static auto | integrateDiscreteFunction (const BasisType &basis, const VectorType &integrandCoeff, const int quad_order) |
| numerically integrates a gridfunction given by a coefficient vector | |
Detailed Description
provides static methods for numerical integration
Member Function Documentation
◆ integrate()
template<class GridView , class FunctionType >
|
inlinestatic |
numerically integrates a given function
Numerically integrates the given integrand over the domain covered by the given GridView using a Dune::QuadratureRule of order quad_order on the grid specified by the GridView.
- Template Parameters
-
GridView the type of the GridView provided FunctionType the type of the function provided, needs to provide method void evalall(...)and the FunctionType's rangetype has to be RT
- Parameters
-
gv the GridView describing the domain of integration and the Grid for quadrature integrand the function to be integrated quad_order the order of the quadrature rule employed
◆ integrateDiscreteFunction()
template<class RangeType , class BasisType , class VectorType >
|
inlinestatic |
numerically integrates a gridfunction given by a coefficient vector
Numerically integrates the gridfunction represented by a coefficient vector in a given basis using a Dune::QuadratureRule of order quad_order.
- Template Parameters
-
RangeType Range type for the grid function BasisType the functionspace basis for the coefficient representation VectorType the type of the coefficient vector
- Parameters
-
basis the functionspace basis of the gridfunction integrandCoeff the coefficient vector quad_order the order of the quadrature rule employed
The documentation for this class was generated from the following file:
