|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
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 | |
| 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 | |
| template<class Function > | |
| void | integrate (const EntityType &entity, const Function &function, typename Function ::RangeType &ret) const |
| integrate a function over an entity | |
Protected Attributes | |
| const int | order_ |
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)
Member Typedef Documentation
◆ EntityType
template<class Quadrature >
| typedef QuadratureType::EntityType Dune::Fem::Integrator< Quadrature >::EntityType |
type of the entity
◆ QuadratureType
template<class Quadrature >
| typedef Quadrature Dune::Fem::Integrator< Quadrature >::QuadratureType |
type of quadrature to use
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
◆ 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
Member Data Documentation
◆ order_
template<class Quadrature >
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8