Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
AGL_Quadrature.h
Go to the documentation of this file.
1 #pragma once
2 
9 #include "AdaptiveQuadrature.h"
10 #include "GaussLegendreRules.h"
11 
12 #include <cassert>
13 
14 namespace UA_CoMP {
15 namespace Num {
16 
20 template <int N>
22 {
23 };
24 
28 template <>
30 {
31 public:
33 };
34 
38 template <>
40 {
41 public:
43 };
44 
48 template <>
50 {
51 public:
53 };
54 
58 template <>
60 {
61 public:
63 };
64 
68 template <>
70 {
71 public:
73 };
74 
81 template <int N1, int N2, typename ConvergencePolicy = ComboDifference, typename CellCountPolicy = OnViolationThrow>
83  : public AdaptiveQuadrature<typename GaussLegendreSelect<N1>::Rule, typename GaussLegendreSelect<N2>::Rule,
84  ConvergencePolicy, CellCountPolicy>
85 {
86 public:
88  AGL_Quadrature(double convergenceTolerance, unsigned int initialCellCount, unsigned int cellCountLimit)
89  : AdaptiveQuadrature<typename GaussLegendreSelect<N1>::Rule, typename GaussLegendreSelect<N2>::Rule,
90  ConvergencePolicy, CellCountPolicy>(convergenceTolerance, initialCellCount,
91  cellCountLimit)
92  {
93  assert(N1 != N2);
94  }
95 
96 private:
97 };
98 
99 } // namespace Num
100 } // namespace UA_CoMP
The AdaptiveQuadrature is a host class with policy classes QuadRule1, QuadRule2, ErrorPolicy and Conv...
Template definition to allow compile-time selection of GaussLegendre rules.
AGL_Quadrature(double convergenceTolerance, unsigned int initialCellCount, unsigned int cellCountLimit)
Constructor initializes everything.
The Gauss-Legendre rule of order 16.
AGL (Adaptive GaussLegendre) Quadrature.
GaussLegendre Quadrature Rules.
The AdaptiveQuadrature template.
Template parameter provides policy for managing convergence criterion in AdaptiveQuadrature.
The Gauss-Legendre rule of order 32.
Template parameter provides policy for managing cell count in AdaptiveQuadrature. ...
The Gauss-Legendre rule of order 2.
The Gauss-Legendre rule of order 8.