Chi-Tech
chi_math__QuadratureGaussLegendre.h
Go to the documentation of this file.
1/** \defgroup chi_math__QuadratureGaussLegendre chi_math.QuadratureGaussLegendre
2
3
4\ingroup LuaQuadrature
5General Gauss-Legendre quadrature
6
7
8## Example usage:
9Create this object:
10\code
11params =
12{
13 param_name1 = value1,
14 param_name2 = value2,
15 --etc.
16}
17chi_math.QuadratureGaussLegendre.Create(params)
18\endcode
19## Optional Input parameters
20\htmlonly
21
22<div style="display: block;">
23<button type="button" class="droppy2" style=
24"
25background-color: #edf0f5;
26color: #9373A5;
27cursor: pointer;
28border: none;
29text-align: left;
30outline: none;
31font-size: 15px;
32margin: 2px 2px;
33border: 2px solid #687372;
34display: block;
35width: 100%;
36vertical-align: middle;
37padding-top: 4px;
38padding-bottom: 0px;
39"
40><span class="arrow" style="padding-left: 0px;">►</span><TT><B>N</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspNumber of quadrature points</span></button>
41<div class="content" style="display: none;">
42 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. Number of quadrature points.
43</p>
44 <p>Default value: <TT style="color:grey">1</TT></p>
45</div>
46
47<button type="button" class="droppy2" style=
48"
49background-color: #edf0f5;
50color: #9373A5;
51cursor: pointer;
52border: none;
53text-align: left;
54outline: none;
55font-size: 15px;
56margin: 2px 2px;
57border: 2px solid #687372;
58display: block;
59width: 100%;
60vertical-align: middle;
61padding-top: 4px;
62padding-bottom: 0px;
63"
64><span class="arrow" style="padding-left: 0px;">►</span><TT><B>max_root_finding_iters</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspMaximum number of iterations used during root finding</span></button>
65<div class="content" style="display: none;">
66 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. Maximum number of iterations used during root finding
67</p>
68 <p>Default value: <TT style="color:grey">1000</TT></p>
69</div>
70
71<button type="button" class="droppy2" style=
72"
73background-color: #edf0f5;
74color: #9373A5;
75cursor: pointer;
76border: none;
77text-align: left;
78outline: none;
79font-size: 15px;
80margin: 2px 2px;
81border: 2px solid #687372;
82display: block;
83width: 100%;
84vertical-align: middle;
85padding-top: 4px;
86padding-bottom: 0px;
87"
88><span class="arrow" style="padding-left: 0px;">►</span><TT><B>order</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspQuadrature order</span></button>
89<div class="content" style="display: none;">
90 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. Quadrature order.
91</p>
92 <p>Default value: <TT style="color:grey">0</TT></p>
93 <p>Allowable values: <TT>>= 0, <= 43</TT></p>
94</div>
95
96<button type="button" class="droppy2" style=
97"
98background-color: #edf0f5;
99color: #9373A5;
100cursor: pointer;
101border: none;
102text-align: left;
103outline: none;
104font-size: 15px;
105margin: 2px 2px;
106border: 2px solid #687372;
107display: block;
108width: 100%;
109vertical-align: middle;
110padding-top: 4px;
111padding-bottom: 0px;
112"
113><span class="arrow" style="padding-left: 0px;">►</span><TT><B>root_finding_tol</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspRoot finding iterative tolerance</span></button>
114<div class="content" style="display: none;">
115 <p><I>type=</I><span style="color: blue;"><TT>FLOAT</TT></span>. Root finding iterative tolerance
116</p>
117 <p>Default value: <TT style="color:grey">1e-12(double)</TT></p>
118</div>
119
120<button type="button" class="droppy2" style=
121"
122background-color: #edf0f5;
123color: #9373A5;
124cursor: pointer;
125border: none;
126text-align: left;
127outline: none;
128font-size: 15px;
129margin: 2px 2px;
130border: 2px solid #687372;
131display: block;
132width: 100%;
133vertical-align: middle;
134padding-top: 4px;
135padding-bottom: 0px;
136"
137><span class="arrow" style="padding-left: 0px;">►</span><TT><B>verbose</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspEnables verbose operations</span></button>
138<div class="content" style="display: none;">
139 <p><I>type=</I><span style="color: blue;"><TT>BOOLEAN</TT></span>. Enables verbose operations
140</p>
141 <p>Default value: <TT style="color:grey">false</TT></p>
142</div>
143
144</div>
145\endhtmlonly
146
147\htmlonly
148
149<script>
150
151{
152 var coll = document.getElementsByClassName("droppy2");
153 var i;
154
155 for (i = 0; i < coll.length; i++) {
156 coll[i].addEventListener("click", function() {
157 this.classList.toggle("active");
158 var content = this.nextElementSibling;
159 if (content.style.display === "block") {
160 content.style.display = "none";
161 this.childNodes[0].innerText = "►"
162 } else {
163 content.style.display = "block";
164 this.children[0].innerText = "▼"
165 }
166 });
167 }
168}</script>
169
170\endhtmlonly
171
172### Usage Examples:
173\ref test_framework_chi_math_Quadrature_quadrature_test1_lua
174*/