Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::QuadratureRule1dTrapeze Class Reference
Inheritance diagram for concepts::QuadratureRule1dTrapeze:
concepts::QuadratureRule1dDynamic concepts::QuadratureRule1d concepts::OutputOperator

Public Member Functions

 QuadratureRule1dTrapeze (uint n)
 
 QuadratureRule1dTrapeze (uint n, Real x0, Real xend)
 
virtual const Realabscissas () const
 Returns a pointer into the array of the abscissas.
 
virtual const Realweights () const
 Returns a pointer into the array of the weights.
 
virtual uint n () const
 Returns the number of points.
 
virtual void printRule ()
 print weights and abscissas to stdout
 

Protected Member Functions

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

Protected Attributes

const Realabscissas_
 Abscissas.
 
const Realweights_
 Weights.
 

Detailed Description

Definition at line 178 of file quadRule.hh.

Constructor & Destructor Documentation

◆ QuadratureRule1dTrapeze() [1/2]

concepts::QuadratureRule1dTrapeze::QuadratureRule1dTrapeze ( uint  n)
inline

Constructor. Computes the quadrature points.

Parameters
nNumber of points to be computed

Definition at line 183 of file quadRule.hh.

◆ QuadratureRule1dTrapeze() [2/2]

concepts::QuadratureRule1dTrapeze::QuadratureRule1dTrapeze ( uint  n,
Real  x0,
Real  xend 
)

Constructor. Computes the quadrature points in the interval (x0, xend).

This implementation is not that optimal as the mapping to the intervall is recomputed always again.

Parameters
nNumber of points to be computed
x0Left interval border.
xendRight interval border.

Member Function Documentation

◆ abscissas()

virtual const Real * concepts::QuadratureRule1dTrapeze::abscissas ( ) const
inlinevirtual

Returns a pointer into the array of the abscissas.

Reimplemented from concepts::QuadratureRule1dDynamic.

Definition at line 201 of file quadRule.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ n()

virtual uint concepts::QuadratureRule1dTrapeze::n ( ) const
inlinevirtual

Returns the number of points.

Implements concepts::QuadratureRule1d.

Definition at line 208 of file quadRule.hh.

◆ printRule()

virtual void concepts::QuadratureRule1d::printRule ( )
virtualinherited

print weights and abscissas to stdout

Reimplemented in concepts::AdaptiveQuadratureRule1d< ruleType >.

◆ weights()

virtual const Real * concepts::QuadratureRule1dTrapeze::weights ( ) const
inlinevirtual

Returns a pointer into the array of the weights.

Reimplemented from concepts::QuadratureRule1dDynamic.

Definition at line 204 of file quadRule.hh.

Member Data Documentation

◆ abscissas_

const Real* concepts::QuadratureRule1dDynamic::abscissas_
protectedinherited

Abscissas.

Definition at line 66 of file quadRule.hh.

◆ weights_

const Real* concepts::QuadratureRule1dDynamic::weights_
protectedinherited

Weights.

Definition at line 68 of file quadRule.hh.


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