Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::QuadratureRule2dQuadTensor Class Reference

#include <quadRule.hh>

Inheritance diagram for concepts::QuadratureRule2dQuadTensor:
concepts::QuadratureRule2d concepts::QuadratureRule concepts::OutputOperator

Public Member Functions

 QuadratureRule2dQuadTensor (const concepts::QuadratureRule1d *xRule, const concepts::QuadratureRule1d *yRule)
 
virtual const Realweights (uint i) const
 
virtual const uint n (uint i) const
 
virtual bool quadratureData (const uint i, Real3d &q, Real &w) const
 
virtual const bool domain () const
 
virtual const bool tensor () const
 
const concepts::QuadratureRule1dxRule () const
 
const concepts::QuadratureRule1dyRule () const
 
virtual const Realabscissas (uint i) const
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

const RealintX_
 Abscissas.
 
const RealintY_
 

Detailed Description

Tensor quadrature rule in 2d.

For each direction a different integration rule can be specified.

The abscissa are computed on

\[ [-1,1]^2 \]

.

Author
Robert Gruhlke, 2014

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
xRuleQuadrature rule in x-direction.
yRuleQuadrature rule in y-direction.

Member Function Documentation

◆ abscissas()

virtual const Real * concepts::QuadratureRule2d::abscissas ( uint  i) const
inlinevirtualinherited

Returns the quadrature abcissas in the i-th direction.

Parameters
ii = 0 : x-direction, i = 1 : y-direction

Implements concepts::QuadratureRule.

Definition at line 360 of file quadRule.hh.

◆ domain()

virtual const bool concepts::QuadratureRule2dQuadTensor::domain ( ) const
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

\[ [-1,1]^2 \]

or false if they are computed in

\[ [0,1]^2 \]

.

Implements concepts::QuadratureRule2d.

Definition at line 422 of file quadRule.hh.

◆ info()

virtual std::ostream & concepts::QuadratureRule2dQuadTensor::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ n()

virtual const uint concepts::QuadratureRule2dQuadTensor::n ( uint  i) const
virtual

Returns the number of quadrature points in i-th direction. i = 0 : x direction i = 1 : y direction

Implements concepts::QuadratureRule2d.

◆ quadratureData()

virtual bool concepts::QuadratureRule2dQuadTensor::quadratureData ( const uint  i,
Real3d q,
Real w 
) const
virtual

Method delivers the i-th quadrature point

\[ q \in [0,1]^n \]

and its belonging i-th weight. If i exceeds the numer of quadrature, false is returned.

Implements concepts::QuadratureRule.

◆ tensor()

virtual const bool concepts::QuadratureRule2dQuadTensor::tensor ( ) const
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 const Real * concepts::QuadratureRule2dQuadTensor::weights ( uint  i) const
virtual

Returns the weights in i-th direction. i = 0 : x direction i = 1 : y direction

Implements concepts::QuadratureRule2d.

◆ xRule()

const concepts::QuadratureRule1d * concepts::QuadratureRule2dQuadTensor::xRule ( ) const
inline

Definition at line 429 of file quadRule.hh.

◆ yRule()

const concepts::QuadratureRule1d * concepts::QuadratureRule2dQuadTensor::yRule ( ) const
inline

Definition at line 433 of file quadRule.hh.

Member Data Documentation

◆ intX_

const Real* concepts::QuadratureRule2d::intX_
protectedinherited

Abscissas.

Definition at line 382 of file quadRule.hh.

◆ intY_

const Real* concepts::QuadratureRule2d::intY_
protectedinherited

Definition at line 383 of file quadRule.hh.


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