DUNE-FEM (unstable)
Dune::Fem::Integrator< Quadrature > Class Template Reference
integrator for arbitrary functions providing evaluate More...
#include <dune/fem/quadrature/integrator.hh>
Public Types | |
typedef Quadrature | QuadratureType |
type of quadrature to use | |
typedef QuadratureType::EntityType | EntityType |
type of the entity | |
Public Member Functions | |
Integrator (unsigned int order) | |
constructor More... | |
template<class Function > | |
void | integrateAdd (const EntityType &entity, const Function &function, typename Function ::RangeType &ret) const |
add the integral over an entity to a variable More... | |
template<class Function > | |
void | integrate (const EntityType &entity, const Function &function, typename Function ::RangeType &ret) const |
integrate a function over an entity More... | |
Detailed Description
template<class Quadrature>
class Dune::Fem::Integrator< Quadrature >
class Dune::Fem::Integrator< Quadrature >
integrator for arbitrary functions providing evaluate
- Parameters
-
Quadrature quadrature to use (either ElementQuadrature or CachingQuadrature)
Constructor & Destructor Documentation
◆ Integrator()
template<class Quadrature >
|
inlineexplicit |
constructor
- Parameters
-
[in] order polynomial order for which the used quadrature shall be exact
Member Function Documentation
◆ integrate()
template<class Quadrature >
template<class Function >
|
inline |
integrate a function over an entity
The function needs to have an evaluate method supporting wrapped quadrature points. The declaration should look as follows:
template< class Point >
evaluate( Point &x, RangeType &ret );
- Note
- The RangeType should be compatible with a Dune FieldVector.
- Parameters
-
[in] entity entity to integrate over [in] function function to integrate [out] ret value of the integral
References Dune::Fem::Integrator< Quadrature >::integrateAdd().
◆ integrateAdd()
template<class Quadrature >
template<class Function >
|
inline |
add the integral over an entity to a variable
The function needs to have an evaluate method supporting wrapped quadrature points. The declaration should look as follows:
template< class Point >
evaluate( Point &x, RangeType &ret );
- Note
- The RangeType should be compatible with a Dune FieldVector.
- Parameters
-
[in] entity entity to integrate over [in] function function to integrate ret variable to which the value of the integral is added
References Dune::Fem::Function< FunctionSpaceImp, FunctionImp >::evaluate().
Referenced by Dune::Fem::Integrator< Quadrature >::integrate().
The documentation for this class was generated from the following file:
- dune/fem/quadrature/integrator.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 20, 23:30, 2024)