Manicore
Library to implement schemes on n-dimensionnal manifolds.
legendregauss.hpp
Go to the documentation of this file.
1 // Creates quadrature rule on an edge
2 //
3 // Author: Jerome Droniou (jerome.droniou@monash.edu)
4 //
5 
6 
7 #ifndef LEGENDREGAUSS_HPP_INCLUDED
8 #define LEGENDREGAUSS_HPP_INCLUDED
9 #include<stddef.h>
10 
11 namespace Manicore {
12 
15 
18 public:
19  LegendreGauss(size_t doe );
21 
22  size_t npts();
24  double wq(size_t i );
26  double tq(size_t i );
27 
28 private:
29  void sub_rule_01();
30  void sub_rule_02();
31  void sub_rule_03();
32  void sub_rule_04();
33  void sub_rule_05();
34  void sub_rule_06();
35  void sub_rule_07();
36  void sub_rule_08();
37  void sub_rule_09();
38  void sub_rule_10();
39  void sub_rule_11();
40  void sub_rule_12();
41  void sub_rule_13();
42  void sub_rule_14();
43  void sub_rule_15();
44  void sub_rule_16();
45  void sub_rule_17();
46  void sub_rule_18();
47  void sub_rule_19();
48  void sub_rule_20();
49  void sub_rule_21();
50 
51  size_t _doe;
52  size_t _npts;
53  double* _t;
54  double* _w;
55 };
57 }
58 
59 #endif
Compute the number of node, their location and the associated weight for a given degree of exactness.
Definition: legendregauss.hpp:17
size_t npts()
Definition: legendregauss.cpp:689
double wq(size_t i)
Weight.
Definition: legendregauss.cpp:690
~LegendreGauss()
Definition: legendregauss.cpp:90
LegendreGauss(size_t doe)
Definition: legendregauss.cpp:16
double tq(size_t i)
Location.
Definition: legendregauss.cpp:697
Definition: maxwell.hpp:21