BEM++
2.0
|
Quadrature descriptor selector used during the evaluation on potentials. More...
Public Types | |
typedef ScalarTraits < BasisFunctionType > ::RealType | CoordinateType |
Type used to represent coordinates. | |
Public Member Functions | |
virtual | ~QuadratureDescriptorSelectorForPotentialOperators () |
Destructor. | |
virtual SingleQuadratureDescriptor | quadratureDescriptor (const arma::Col< CoordinateType > &point, int trialElementIndex, CoordinateType nominalDistance) const =0 |
Return the descriptor of the quadrature rule to be used in the evaluation of the contribution of element trialElementIndex at point point . More... | |
virtual SingleQuadratureDescriptor | farFieldQuadratureDescriptor (const Shapeset< BasisFunctionType > &trialShapeset, int trialElementCornerCount) const =0 |
Return the descriptor of the quadrature rule used in the evaluation of a potential "far away" from the surface. More... | |
Quadrature descriptor selector used during the evaluation on potentials.
|
pure virtual |
Return the descriptor of the quadrature rule used in the evaluation of a potential "far away" from the surface.
This function should return the quadrature description to be used in the evaluation of the contribution of an element with trialElementCornerCount
vertices, endowed with the trialShapeset
set of shape functions, at points lying "far
away" from the element.
Implemented in Fiber::DefaultQuadratureDescriptorSelectorForPotentialOperators< BasisFunctionType >.
|
pure virtual |
Return the descriptor of the quadrature rule to be used in the evaluation of the contribution of element trialElementIndex
at point point
.
[in] | point | Coordinates of the point where the potential is evaluated. |
[in] | trialElementIndex | Index of the element whose contribution to the potential is evaluated. |
[in] | nominalDistance | This parameter is only relevant for quadrature selectors that vary the degree of accuracy of regular quadrature rules with point-element distance. If nominalDistance is non-negative, the quadrature rule should be chosen as if the distance between the evaluation point and the center of the element were equal to nominalDistance . Otherwise the selector should try to estimate the distance on its own and adjust the quadrature order accordingly. |