concepts::QuadratureRule2dQuadTensor Class Reference
Tensor quadrature rule in 2d. More...
#include <quadRule.hh>
Public Member Functions | |
virtual const Real * | abscissas (uint i) const |
Returns the quadrature abcissas in the i-th direction. More... | |
virtual const bool | domain () const |
Method delivers if the integration points and weights are computed in [-1,1]^2 or in [0,1]^2. More... | |
virtual const uint | n (uint i) const |
Returns the number of quadrature points in i-th direction. More... | |
virtual bool | quadratureData (const uint i, Real3d &q, Real &w) const |
Method delivers the i-th quadrature point. More... | |
QuadratureRule2dQuadTensor (const concepts::QuadratureRule1d *xRule, const concepts::QuadratureRule1d *yRule) | |
Constructor. More... | |
virtual const bool | tensor () const |
Method delivers information about the quadrature rule structure. More... | |
virtual const Real * | weights (uint i) const |
Returns the weights in i-th direction. More... | |
const concepts::QuadratureRule1d * | xRule () const |
const concepts::QuadratureRule1d * | yRule () const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
const Real * | intX_ |
Abscissas. More... | |
const Real * | intY_ |
Private Attributes | |
std::unique_ptr< const concepts::QuadratureRule1d > | xRule_ |
The integration rules along each direction. More... | |
std::unique_ptr< const concepts::QuadratureRule1d > | yRule_ |
Detailed Description
Tensor quadrature rule in 2d.
For each direction a different integration rule can be specified.
The abscissa are computed on
.
Definition at line 397 of file quadRule.hh.
Constructor & Destructor Documentation
◆ QuadratureRule2dQuadTensor()
concepts::QuadratureRule2dQuadTensor::QuadratureRule2dQuadTensor | ( | const concepts::QuadratureRule1d * | xRule, |
const concepts::QuadratureRule1d * | yRule | ||
) |
Constructor.
- Parameters
-
xRule Quadrature rule in x-direction. yRule Quadrature rule in y-direction.
Member Function Documentation
◆ abscissas()
|
inlinevirtualinherited |
Returns the quadrature abcissas in the i-th direction.
- Parameters
-
i i = 0 : x-direction, i = 1 : y-direction
Implements concepts::QuadratureRule.
Definition at line 360 of file quadRule.hh.
◆ domain()
|
inlinevirtual |
Method delivers if the integration points and weights are computed in [-1,1]^2 or in [0,1]^2.
Return true
if integration points are computed in
or false
if they are computed in
.
Implements concepts::QuadratureRule2d.
Definition at line 422 of file quadRule.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
◆ n()
|
virtual |
Returns the number of quadrature points in i-th direction.
i = 0 : x direction i = 1 : y direction
Implements concepts::QuadratureRule2d.
◆ quadratureData()
|
virtual |
Method delivers the i-th quadrature point.
and its belonging i-th weight. If i exceeds the numer of quadrature, false
is returned.
Implements concepts::QuadratureRule.
◆ tensor()
|
inlinevirtual |
Method delivers information about the quadrature rule structure.
Returns true for tensor structur and false for non-tensor one.
Implements concepts::QuadratureRule2d.
Definition at line 425 of file quadRule.hh.
◆ weights()
|
virtual |
Returns the weights in i-th direction.
i = 0 : x direction i = 1 : y direction
Implements concepts::QuadratureRule2d.
◆ xRule()
|
inline |
Definition at line 429 of file quadRule.hh.
◆ yRule()
|
inline |
Definition at line 433 of file quadRule.hh.
Member Data Documentation
◆ intX_
|
protectedinherited |
Abscissas.
Definition at line 382 of file quadRule.hh.
◆ intY_
|
protectedinherited |
Definition at line 383 of file quadRule.hh.
◆ xRule_
|
private |
The integration rules along each direction.
Definition at line 440 of file quadRule.hh.
◆ yRule_
|
private |
Definition at line 441 of file quadRule.hh.
The documentation for this class was generated from the following file:
- integration/quadRule.hh