#include <quadrature.hh>
Public Member Functions | |
Quadrature (uint n) | |
const Real * | abscissas () const |
Returns a pointer into the array of the abscissas. | |
const Real * | weights () const |
Returns a pointer into the array of the weights. | |
uint | n () const |
Returns the number of quadrature points. | |
Static Public Member Functions | |
static std::string | storedPoints () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
Real * | abscissas_ |
Abscissas. | |
Real * | weights_ |
Weights. | |
Basic class for numerical integration. This class provides the datastructures for the weights and abscissas and the methods to get them.
The values are computed in the template instantiations.
type | Template parameter: type of the quadrature rule. Can take the values
|
Requesting the same quadrature rule with the same amount of integration points several times does not harm: the values are only stored once (internally).
Definition at line 97 of file quadrature.hh.
concepts::Quadrature< type >::Quadrature | ( | uint | n | ) |
Constructor. Computes the quadrature points.
n | Number of entries to be computed |
|
inline |
Returns a pointer into the array of the abscissas.
Definition at line 105 of file quadrature.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
|
inline |
Returns the number of quadrature points.
Definition at line 109 of file quadrature.hh.
|
static |
Lists the integration orders (points) which have been computed so far.
|
inline |
Returns a pointer into the array of the weights.
Definition at line 107 of file quadrature.hh.
|
protected |
Abscissas.
Definition at line 119 of file quadrature.hh.
|
protected |
Weights.
Definition at line 121 of file quadrature.hh.