BEM++
2.0
|
Options controlling the order of numerical quadrature. More...
#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/fiber/quadrature_options.hpp>
Public Member Functions | |
QuadratureOptions () | |
Construct a QuadratureOptions object corresponding to a default accuracy order. | |
QuadratureOptions (int order, bool relative) | |
Construct a QuadratureOptions object corresponding to a specific accuracy order. | |
void | setAbsoluteQuadratureOrder (int order) |
Set quadrature accuracy order to order . | |
void | setRelativeQuadratureOrder (int offset) |
Set quadrature accuracy order to a default value plus offset . | |
int | quadratureOrder (int defaultOrder) const |
Get quadrature accuracy order assuming that its default value is defaultOrder . | |
Private Attributes | |
bool | m_relative |
int | m_value |
Options controlling the order of numerical quadrature.
This class can be used to specify the required order of accuracy of a numerical quadrature rule used to approximate a certain class of integrals. The order can be set either as absolute or as relative with respect to some default value determined by the code doing the integration.