#include <quadRule.hh>

Inheritance diagram for concepts::QuadratureRule1dTrapeze:
concepts::QuadratureRule1dDynamic concepts::QuadratureRule1d concepts::OutputOperator

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

const Realabscissas_
 Abscissas. More...
 
const Realweights_
 Weights. More...
 

Private Attributes

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

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.

◆ ~QuadratureRule1dTrapeze()

virtual concepts::QuadratureRule1dTrapeze::~QuadratureRule1dTrapeze ( )
virtual

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.

◆ rule_

Quadrature<5> concepts::QuadratureRule1dTrapeze::rule_
private

Definition at line 212 of file quadRule.hh.

◆ shAbscissas_

Real* concepts::QuadratureRule1dTrapeze::shAbscissas_
private

Abscissas and weights on the shifted interval.

Definition at line 214 of file quadRule.hh.

◆ shWeights_

Real * concepts::QuadratureRule1dTrapeze::shWeights_
private

Definition at line 214 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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich