#include <quadRule.hh>
Public Member Functions | |
QuadRuleFactory (enum intRule type=GAUSS_JACOBI, uint constPoints=10, uint addPoints=2, bool constant=false) | |
QuadratureRule1d * | operator() (const ushort p=1) const |
void | set (enum concepts::intRule rule, bool constant, uint points) |
void | reset () |
Set the standard type of integration. | |
const uint | count () const |
Returns counter of changes. | |
const std::string | integrationRule () const |
Returns information on the settings of the quadrature rule. | |
enum intRule | type () const |
Returns the integration type. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Class for creation of a quadrature rule.
There is possiblity to specify a constant number of points or a number dependent from a maximal polynomial degree.
Definition at line 224 of file quadRule.hh.
|
inline |
Returns counter of changes.
Definition at line 249 of file quadRule.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
QuadratureRule1d * concepts::QuadRuleFactory::operator() | ( | const ushort | p = 1 | ) | const |
Returns the quadrature rule, i.e. pre-computed abscissas and weights.
Created dynamically and has to be deleted by the user.
p | maximal polynomial degree |
void concepts::QuadRuleFactory::set | ( | enum concepts::intRule | rule, |
bool | constant, | ||
uint | points | ||
) |
Sets the integration rule
rule | Type of integration |
constant | Flag, true = constant number of points |
points | Number of points, constant or to add |
Returns the integration type.
Definition at line 255 of file quadRule.hh.