Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
concepts::QuadratureRuleTrapeze Class Reference

#include <quadRule.hh>

Inheritance diagram for concepts::QuadratureRuleTrapeze:
Inheritance graph
[legend]
Collaboration diagram for concepts::QuadratureRuleTrapeze:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

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.

Private Attributes

Quadrature< 5 > rule_
RealshAbscissas_
 Abscissas and weights on the shifted interval.
RealshWeights_

Detailed Description

Definition at line 169 of file quadRule.hh.


Constructor & Destructor Documentation

concepts::QuadratureRuleTrapeze::QuadratureRuleTrapeze ( uint  n) [inline]

Constructor.

Computes the quadrature points.

Parameters:
nNumber of points to be computed

Definition at line 174 of file quadRule.hh.

Here is the call graph for this function:

concepts::QuadratureRuleTrapeze::QuadratureRuleTrapeze ( 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.
virtual concepts::QuadratureRuleTrapeze::~QuadratureRuleTrapeze ( ) [virtual]

Member Function Documentation

virtual const Real* concepts::QuadratureRuleTrapeze::abscissas ( ) const [inline, virtual]

Returns a pointer into the array of the abscissas.

Reimplemented from concepts::QuadratureRuleDynamic.

Definition at line 192 of file quadRule.hh.

virtual std::ostream& concepts::QuadratureRuleTrapeze::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

virtual uint concepts::QuadratureRuleTrapeze::n ( ) const [inline, virtual]

Returns the number of points.

Implements concepts::QuadratureRule.

Definition at line 199 of file quadRule.hh.

Here is the call graph for this function:

void concepts::QuadratureRule::printRule ( ) [inherited]

print weights and abscissas to stdout

virtual const Real* concepts::QuadratureRuleTrapeze::weights ( ) const [inline, virtual]

Returns a pointer into the array of the weights.

Reimplemented from concepts::QuadratureRuleDynamic.

Definition at line 195 of file quadRule.hh.


Member Data Documentation

const Real* concepts::QuadratureRuleDynamic::abscissas_ [protected, inherited]

Abscissas.

Definition at line 57 of file quadRule.hh.

Definition at line 203 of file quadRule.hh.

Abscissas and weights on the shifted interval.

Definition at line 205 of file quadRule.hh.

Definition at line 205 of file quadRule.hh.

const Real* concepts::QuadratureRuleDynamic::weights_ [protected, inherited]

Weights.

Definition at line 59 of file quadRule.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)