Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::QuadRuleFactory Class Reference

#include <quadRule.hh>

Inheritance diagram for concepts::QuadRuleFactory:
concepts::OutputOperator

Public Member Functions

 QuadRuleFactory (enum intRule type=GAUSS_JACOBI, uint constPoints=10, uint addPoints=2, bool constant=false)
 
QuadratureRule1doperator() (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.
 

Detailed Description

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.

Member Function Documentation

◆ count()

const uint concepts::QuadRuleFactory::count ( ) const
inline

Returns counter of changes.

Definition at line 249 of file quadRule.hh.

◆ info()

virtual std::ostream & concepts::QuadRuleFactory::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()()

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.

Parameters
pmaximal polynomial degree

◆ set()

void concepts::QuadRuleFactory::set ( enum concepts::intRule  rule,
bool  constant,
uint  points 
)

Sets the integration rule

Parameters
ruleType of integration
constantFlag, true = constant number of points
pointsNumber of points, constant or to add

◆ type()

enum intRule concepts::QuadRuleFactory::type ( ) const
inline

Returns the integration type.

Definition at line 255 of file quadRule.hh.


The documentation for this class was generated from the following file: