Class documentation of Concepts

Loading...
Searching...
No Matches
adaptiveQuadRule.hh
Go to the documentation of this file.
1
7#ifndef adaptativeQuadRule_hh
8#define adaptativeQuadRule_hh
9
10#include "basics/typedefs.hh"
11#include "basics/defines.hh"
12#include "toolbox/array.hh"
13#include "quadRule.hh"
14
15namespace concepts
16{
17
18 // *********************** AdaptiveQuadRule1d **
19
23 template<const intRule ruleType>
25 {
26 public:
29
32
35
37 const Real* abscissas() const {return abscissas_; };
38
40 const Real* weights() const {return weights_; } ;
41
43 uint n() const {return n_; };
44
46 void printRule();
47
48 protected:
50 void AdaptTo();
51
58 };
59
60}
61
62#endif
uint n_
Number of quadrature points.
const Real * weights() const
Returns a pointer into the array of the weights.
AdaptiveQuadratureRule1d(uint n)
Default constructor that takes into account the number of quadrature points.
void printRule()
print weights and abscissas to stdout
AdaptiveQuadratureRule1d()
Default constructor.
void AdaptTo()
Adapt computed quadrature rules from (-1,1) to (0,1)
~AdaptiveQuadratureRule1d()
Default destructor.
uint n() const
Returns the number of points.
const Real * abscissas() const
Returns a pointer into the array of the abscissas.
double Real
Definition typedefs.hh:39
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320