BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | List of all members
Fiber::QuadratureDescriptorSelectorForPotentialOperators< CoordinateType > Class Template Referenceabstract

Quadrature descriptor selector used during the evaluation on potentials. More...

#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/fiber/quadrature_descriptor_selector_for_potential_operators.hpp>

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...
 

Detailed Description

template<typename CoordinateType>
class Fiber::QuadratureDescriptorSelectorForPotentialOperators< CoordinateType >

Quadrature descriptor selector used during the evaluation on potentials.

Member Function Documentation

template<typename CoordinateType>
virtual SingleQuadratureDescriptor Fiber::QuadratureDescriptorSelectorForPotentialOperators< CoordinateType >::farFieldQuadratureDescriptor ( const Shapeset< BasisFunctionType > &  trialShapeset,
int  trialElementCornerCount 
) const
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 >.

template<typename CoordinateType>
virtual SingleQuadratureDescriptor Fiber::QuadratureDescriptorSelectorForPotentialOperators< CoordinateType >::quadratureDescriptor ( const arma::Col< CoordinateType > &  point,
int  trialElementIndex,
CoordinateType  nominalDistance 
) const
pure virtual

Return the descriptor of the quadrature rule to be used in the evaluation of the contribution of element trialElementIndex at point point.

Parameters
[in]pointCoordinates of the point where the potential is evaluated.
[in]trialElementIndexIndex of the element whose contribution to the potential is evaluated.
[in]nominalDistanceThis 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.

The documentation for this class was generated from the following files: