Class documentation of Concepts

Loading...
Searching...
No Matches
quadrature.hh
Go to the documentation of this file.
1
6#ifndef quadrature_hh
7#define quadrature_hh
8
9#include <map>
10
11#include "basics/typedefs.hh"
13
14namespace concepts {
15
16 // ************************************************************ Quadrature **
17
96 template<int type>
97 class Quadrature : public virtual OutputOperator {
98 public:
105 const Real* abscissas() const { return abscissas_; }
107 const Real* weights() const { return weights_; }
109 uint n() const { return n_; }
114 static std::string storedPoints();
115 protected:
116 virtual std::ostream& info(std::ostream& os) const;
117
122 private:
127 static std::map<uint, Real*> abscissas_H;
128
133 static std::map<uint, Real*> weights_H;
134
136 uint n_;
137
138 bool find_();
139 };
140
141} // namespace concepts
142
143#endif // quadrature_hh
const Real * abscissas() const
Returns a pointer into the array of the abscissas.
Real * weights_
Weights.
const Real * weights() const
Returns a pointer into the array of the weights.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Real * abscissas_
Abscissas.
static std::string storedPoints()
uint n() const
Returns the number of quadrature points.
double Real
Definition typedefs.hh:39
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320