concepts::QuadratureRule1dTrapeze Class Reference
#include <quadRule.hh>
Public Member Functions | |
virtual const Real * | abscissas () 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 Real * | weights () 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 Real * | abscissas_ |
Abscissas. More... | |
const Real * | weights_ |
Weights. More... | |
Private Attributes | |
Quadrature< 5 > | rule_ |
Real * | shAbscissas_ |
Abscissas and weights on the shifted interval. More... | |
Real * | shWeights_ |
Detailed Description
Definition at line 178 of file quadRule.hh.
Constructor & Destructor Documentation
◆ QuadratureRule1dTrapeze() [1/2]
|
inline |
Constructor.
Computes the quadrature points.
- Parameters
-
n Number of points to be computed
Definition at line 183 of file quadRule.hh.
◆ QuadratureRule1dTrapeze() [2/2]
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
-
n Number of points to be computed x0 Left interval border. xend Right interval border.
◆ ~QuadratureRule1dTrapeze()
|
virtual |
Member Function Documentation
◆ abscissas()
|
inlinevirtual |
Returns a pointer into the array of the abscissas.
Reimplemented from concepts::QuadratureRule1dDynamic.
Definition at line 201 of file quadRule.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
◆ n()
|
inlinevirtual |
Returns the number of points.
Implements concepts::QuadratureRule1d.
Definition at line 208 of file quadRule.hh.
◆ printRule()
|
virtualinherited |
print weights and abscissas to stdout
Reimplemented in concepts::AdaptiveQuadratureRule1d< ruleType >.
◆ weights()
|
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_
|
protectedinherited |
Abscissas.
Definition at line 66 of file quadRule.hh.
◆ rule_
|
private |
Definition at line 212 of file quadRule.hh.
◆ shAbscissas_
|
private |
Abscissas and weights on the shifted interval.
Definition at line 214 of file quadRule.hh.
◆ shWeights_
|
private |
Definition at line 214 of file quadRule.hh.
◆ weights_
|
protectedinherited |
Weights.
Definition at line 68 of file quadRule.hh.
The documentation for this class was generated from the following file:
- integration/quadRule.hh