integrator for arbitrary functions providing evaluate
More...
#include <dune/fem/quadrature/integrator.hh>
template<class
Quadrature>
class Dune::Fem::Integrator< Quadrature >
integrator for arbitrary functions providing evaluate
- Parameters
-
◆ EntityType
◆ QuadratureType
type of quadrature to use
◆ Integrator()
constructor
- Parameters
-
[in] | order | polynomial order for which the used quadrature shall be exact |
◆ integrate()
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()
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 |
◆ order_
The documentation for this class was generated from the following file: