Public Member Functions | |
| QuadratureRule1dTrapeze (uint n) | |
| QuadratureRule1dTrapeze (uint n, Real x0, Real xend) | |
| virtual const Real * | abscissas () const |
| Returns a pointer into the array of the abscissas. | |
| virtual const Real * | weights () 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 Real * | abscissas_ |
| Abscissas. | |
| const Real * | weights_ |
| Weights. | |
Definition at line 178 of file quadRule.hh.
|
inline |
Constructor. Computes the quadrature points.
| n | Number of points to be computed |
Definition at line 183 of file quadRule.hh.
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.
| n | Number of points to be computed |
| x0 | Left interval border. |
| xend | Right interval border. |
Returns a pointer into the array of the abscissas.
Reimplemented from concepts::QuadratureRule1dDynamic.
Definition at line 201 of file quadRule.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Returns the number of points.
Implements concepts::QuadratureRule1d.
Definition at line 208 of file quadRule.hh.
print weights and abscissas to stdout
Reimplemented in concepts::AdaptiveQuadratureRule1d< ruleType >.
Returns a pointer into the array of the weights.
Reimplemented from concepts::QuadratureRule1dDynamic.
Definition at line 204 of file quadRule.hh.
|
protectedinherited |
Abscissas.
Definition at line 66 of file quadRule.hh.
|
protectedinherited |
Weights.
Definition at line 68 of file quadRule.hh.