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

Default family of quadrature rules over pairs of elements. More...

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

Inheritance diagram for Fiber::DefaultDoubleQuadratureRuleFamily< CoordinateType >:
Fiber::DoubleQuadratureRuleFamily< CoordinateType >

Public Member Functions

virtual void fillQuadraturePointsAndWeights (const DoubleQuadratureDescriptor &desc, arma::Mat< CoordinateType > &testPoints, arma::Mat< CoordinateType > &trialPoints, std::vector< CoordinateType > &testWeights, std::vector< CoordinateType > &trialWeights, bool &isTensor) const
 Fill arrays of quadrature points and weights. More...
 
- Public Member Functions inherited from Fiber::DoubleQuadratureRuleFamily< CoordinateType >
virtual ~DoubleQuadratureRuleFamily ()
 Destructor.
 

Detailed Description

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

Default family of quadrature rules over pairs of elements.

Regular integrals are treated with tensor-product quadrature rules, singular integrals with non-tensor-product rules taken from Sauter and Schwab, "Boundary Element Methods", Springer 2011.

Member Function Documentation

template<typename CoordinateType >
void Fiber::DefaultDoubleQuadratureRuleFamily< CoordinateType >::fillQuadraturePointsAndWeights ( const DoubleQuadratureDescriptor desc,
arma::Mat< CoordinateType > &  testPoints,
arma::Mat< CoordinateType > &  trialPoints,
std::vector< CoordinateType > &  testWeights,
std::vector< CoordinateType > &  trialWeights,
bool &  isTensor 
) const
virtual

Fill arrays of quadrature points and weights.

Parameters
[in]descQuadrature descriptor.
[out]testPoints2D array whose (i, j)th element will contain the ith (local) coordinate of the jth quadrature point on the test element.
[out]trialPoints2D array whose (i, j)th element will contain the ith (local) coordinate of the jth quadrature point on the trial element.
[out]testWeightsIf isTensor is set to true, this parameter will be a vector of test point weights of a separable quadrature rule; otherwise it will be a vector of point weights of a nonseparable quadarture rule.
[out]trialWeightsIf isTensor is set to true, this parameter will be a vector of trial point weights of a separable quadrature rule; otherwise it will be empty.
[out]isTensorIf set to true, the returned quadrature rule is a tensor-product rule, otherwise it is not.

Implements Fiber::DoubleQuadratureRuleFamily< CoordinateType >.

References Fiber::DoubleQuadratureDescriptor::testOrder, Fiber::ElementPairTopology::testVertexCount, Fiber::DoubleQuadratureDescriptor::topology, Fiber::DoubleQuadratureDescriptor::trialOrder, Fiber::ElementPairTopology::trialVertexCount, and Fiber::ElementPairTopology::type.


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