-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathcubpack.html
534 lines (477 loc) · 14.1 KB
/
cubpack.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
<html>
<head>
<title>
CUBPACK - Adaptive Cubature for Simplices
</title>
</head>
<body bgcolor="#eeeeee" link="#cc0000" alink="#ff3300" vlink="#000055">
<h1 align = "center">
CUBPACK <br> Adaptive Cubature for Simplices
</h1>
<hr>
<p>
<b>CUBPACK</b>
is a FORTRAN90 library which
estimates the integral of a function
(or vector of functions) over a collection of N-dimensional
hyperrectangles and simplices,
by Alan Genz and Ronald Cools.
</p>
<h3 align = "center">
Related Data and Programs:
</h3>
<p>
<a href = "../../f_src/dunavant/dunavant.html">
DUNAVANT</a>,
a FORTRAN90 library which
defines Dunavant rules for quadrature
on a triangle.
</p>
<p>
<a href = "../../f_src/fekete/fekete.html">
FEKETE</a>,
a FORTRAN90 library which
defines
a Fekete rule for quadrature or interpolation over a triangle.
</p>
<p>
<a href = "../../f_src/gm_rule/gm_rule.html">
GM_RULE</a>,
a FORTRAN90 library which
defines a Grundmann-Moeller
rule for quadrature over a triangle, tetrahedron, or general
M-dimensional simplex.
</p>
<p>
<a href = "../../f_src/intlib/intlib.html">
INTLIB</a>,
a FORTRAN90 library which
estimates integrals in 1D.
</p>
<p>
<a href = "../../f_src/keast/keast.html">
KEAST</a>,
a FORTRAN90 library which
defines a number of quadrature rules
for a tetrahedron.
</p>
<p>
<a href = "../../f_src/ncc_tetrahedron/ncc_tetrahedron.html">
NCC_TETRAHEDRON</a>,
a FORTRAN90 library which
defines Newton-Cotes closed quadrature
rules on a tetrahedron.
</p>
<p>
<a href = "../../f_src/ncc_triangle/ncc_triangle.html">
NCC_TRIANGLE</a>,
a FORTRAN90 library which
defines Newton-Cotes closed quadrature
rules on a triangle.
</p>
<p>
<a href = "../../f_src/nco_tetrahedron/nco_tetrahedron.html">
NCO_TETRAHEDRON</a>,
a FORTRAN90 library which
defines Newton-Cotes open quadrature
rules on a tetrahedron.
</p>
<p>
<a href = "../../f_src/nco_triangle/nco_triangle.html">
NCO_TRIANGLE</a>,
a FORTRAN90 library which
defines Newton-Cotes open quadrature
rules on a triangle.
</p>
<p>
<a href = "../../f_src/nint_exactness/nint_exactness.html">
NINT_EXACTNESS</a>,
a FORTRAN90 program which
demonstrates how to measure the
polynomial exactness of a multidimensional quadrature rule.
</p>
<p>
<a href = "../../f_src/nint_exactness_tri/nint_exactness_tri.html">
NINT_EXACTNESS_TRI</a>,
a FORTRAN90 program which
investigates the polynomial
exactness of a quadrature rule for the triangle.
</p>
<p>
<a href = "../../f_src/nintlib/nintlib.html">
NINTLIB</a>,
a FORTRAN90 library which
estimates integrals in multiple dimensions.
</p>
<p>
<a href = "../../f_src/quadpack/quadpack.html">
QUADPACK</a>,
a FORTRAN90 library which
estimates integrals in 1D.
</p>
<p>
<a href = "../../datasets/quadrature_rules/quadrature_rules.html">
QUADRATURE_RULES</a>,
a dataset directory which
contains sets of files that define quadrature
rules over various 1D intervals or multidimensional hypercubes.
</p>
<p>
<a href = "../../datasets/quadrature_rules_tet/quadrature_rules_tet.html">
QUADRATURE_RULES_TET</a>,
a dataset directory which
contains triples of files defining various quadrature
rules on tetrahedrons.
</p>
<p>
<a href = "../../datasets/quadrature_rules_tri/quadrature_rules_tri.html">
QUADRATURE_RULES_TRI</a>,
a dataset directory which
contains quadrature rules to be applied to triangular
regions.
</p>
<p>
<a href = "../../f_src/quadrature_test/quadrature_test.html">
QUADRATURE_TEST</a>,
a FORTRAN90 program
which reads the definition of a
multidimensional quadrature rule from three files, applies
the rule to a number of test integrals, and prints the
results.
</p>
<p>
<a href = "../../m_src/quadrule/quadrule.html">
QUADRULE</a>,
a FORTRAN90 library which
defines a number of
quadrature rules for approximate integration.
</p>
<p>
<a href = "../../f77_src/simpack/simpack.html">
SIMPACK</a>,
a FORTRAN77 library which
approximate the integral of a function or vector of functions
over a multidimensional simplex, or a region which is the
sum of multidimensional simplexes.
</p>
<p>
<a href = "../../f_src/stroud/stroud.html">
STROUD</a>,
a FORTRAN90 library which
contains quadrature
rules for a variety of unusual areas, surfaces and volumes in 2D,
3D and N-dimensions.
</p>
<p>
<a href = "../../f_src/test_int/test_int.html">
TEST_INT</a>,
a FORTRAN90 library which
contains functions that may be used as test integrands for
quadrature rules in 1D.
</p>
<p>
<a href = "../../f_src/test_nint/test_nint.html">
TEST_NINT</a>,
a FORTRAN90 library containing a
number of functions that may be used as test integrands for
quadrature rules in multiple dimensions.
</p>
<p>
<a href = "../../f_src/test_tri_int/test_tri_int.html">
TEST_TRI_INT</a>,
a FORTRAN90 library which
can be used to test algorithms
for quadrature over a triangle.
</p>
<p>
<a href = "../../f77_src/toms351/toms351.html">
TOMS351</a>,
a FORTRAN77 library which
estimates an integral using Romberg
integration.
</p>
<p>
<a href = "../../f77_src/toms379/toms379.html">
TOMS379</a>,
a FORTRAN77 library which
estimates an integral.
</p>
<p>
<a href = "../../f77_src/toms418/toms418.html">
TOMS418</a>,
a FORTRAN77 library which
estimates the integral of a function
with a sine or cosine factor.
</p>
<p>
<a href = "../../f77_src/toms424/toms424.html">
TOMS424</a>,
a FORTRAN77 library which
estimates the integral of a function
using Clenshaw-Curtis quadrature.
</p>
<p>
<a href = "../../f77_src/toms468/toms468.html">
TOMS468</a>,
a FORTRAN77 library which
carries out the "automatic" integration of a function.
</p>
<p>
<a href = "../../f_src/wandzura/wandzura.html">
WANDZURA</a>,
a FORTRAN90 library
for defining Wandzura rules for quadrature
on a triangle.
</p>
<h3 align = "center">
Author:
</h3>
<p>
Alan Genz and Ronald Cools.
</p>
<h3 align = "center">
Reference:
</h3>
<p>
<ol>
<li>
Alan Genz, Ronald Cools,<br>
An Adaptive Cubature Algorithm for Simplices,<br>
ACM Transactions on Mathematical Software,<br>
Volume 29, Number 3, September 2003, pages 297-308.
</li>
<li>
Alan Genz, Ronald Cools,<br>
Algorithm 824:
CUBPACK: a Package for Automatic Cubature;
Framework Description,<br>
ACM Transactions on Mathematical Software,<br>
Volume 29, Number 3, September 2003, pages 287-296.
</li>
</ol>
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "buckley.f90">buckley.f90</a>
contains modules describing numeric precision;
</li>
<li>
<a href = "check.f90">check.f90</a>
checks the validity of the
input parameters to CUBATR on start or restart;
</li>
<li>
<a href = "cui.f90">cui.f90</a>
contains the CUBPACK user interface;
</li>
<li>
<a href = "divide.f90">divide.f90</a>
divides a region into subregions with equal volume;
</li>
<li>
<a href = "ds__output.txtines.f90">ds__output.txtines.f90</a>
contains _output.txtines involving the data structure;
</li>
<li>
<a href = "error_handling.f90">error_handling.f90</a>
contains _output.txtines to handle errors;
</li>
<li>
<a href = "global_all.f90">global_all.f90</a>
controls the computation of integrals over a collection of regions;
</li>
<li>
<a href = "internal_types.f90">internal_types.f90</a>
a module that declares some data types;
</li>
<li>
<a href = "region_processor.f90">region_processor.f90</a>
improves the estimate of an integral over a region;
</li>
<li>
<a href = "rule_1.f90">rule_1.f90</a>
returns integration rules for an interval;
</li>
<li>
<a href = "rule_c2.f90">rule_c2.f90</a>
computes integration rules and error estimates over a square;
</li>
<li>
<a href = "rule_c3.f90">rule_c3.f90</a>
computes integration rules and error estimates over a cube;
</li>
<li>
<a href = "rule_cn.f90">rule_cn.f90</a>
computes integration rules and error estimates over
a hyper-rectangular region;
</li>
<li>
<a href = "rule_general.f90">rule_general.f90</a>
computes integration rules and error estimates;
</li>
<li>
<a href = "rule_t2.f90">rule_t2.f90</a>
computes integration rules over a triangle;
</li>
<li>
<a href = "rule_t3.f90">rule_t3.f90</a>
computes integration rules over a tetrahedron;
</li>
<li>
<a href = "rule_tn.f90">rule_tn.f90</a>
computes integration rules over a hyper-symplex region;
</li>
<li>
<a href = "volume.f90">volume.f90</a>
computes the volume of a polytope;
</li>
<li>
<a href = "cubpack.sh">cubpack.sh</a>,
commands to compile the source code;
</li>
</ul>
</p>
<h3 align = "center">
Examples and Tests:
</h3>
<p>
<b>DETAILS</b> simply prints information a_output.txt CUBPACK.
<ul>
<li>
<a href = "details.f90">details.f90</a>;
</li>
<li>
<a href = "details.sh">details.sh</a>,
commands to compile, link and run the program;
</li>
<li>
<a href = "details_output.txt">details_output.txt</a>, the output.
</li>
</ul>
</p>
<p>
<b>EX_QAG</b> approximates an integral over an interval, like NAG's
QAG _output.txtine.
<ul>
<li>
<a href = "ex_qag.f90">ex_qag.f90</a>;
</li>
<li>
<a href = "ex_qag.sh">ex_qag.sh</a>,
commands to compile, link and run the program;
</li>
<li>
<a href = "ex_qag_output.txt">ex_qag_output.txt</a>, the output.
</li>
</ul>
</p>
<p>
<b>EX_QAGS</b> approximates an integral over an interval, like NAG's
QAGS _output.txtine.
<ul>
<li>
<a href = "ex_qags.f90">ex_qags.f90</a>;
</li>
<li>
<a href = "ex_qags.sh">ex_qags.sh</a>,
commands to compile, link and run the program;
</li>
<li>
<a href = "ex_qags_output.txt">ex_qags_output.txt</a>, the output.
</li>
</ul>
</p>
<p>
<b>EX_TRIEX</b> approximates an integral over a triangle, like the
TRIEX _output.txtine.
<ul>
<li>
<a href = "ex_triex.f90">ex_triex.f90</a>;
</li>
<li>
<a href = "ex_triex.sh">ex_triex.sh</a>,
commands to compile, link and run the program;
</li>
<li>
<a href = "ex_triex_output.txt">ex_triex_output.txt</a>, the output.
</li>
</ul>
</p>
<p>
<b>EX_DECUHR2D</b> approximates an integral over a square, like the
DECUHR2D _output.txtine.
<ul>
<li>
<a href = "ex_decuhr2d.f90">ex_decuhr2d.f90</a>;
</li>
<li>
<a href = "ex_decuhr2d.sh">ex_decuhr2d.sh</a>,
commands to compile, link and run the program;
</li>
<li>
<a href = "ex_decuhr2d_output.txt">ex_decuhr2d_output.txt</a>, the output.
</li>
</ul>
</p>
<p>
<b>EX_CUTET</b> approximates an integral over a tetrahedron, like the
CUTET _output.txtine.
<ul>
<li>
<a href = "ex_cutet.f90">ex_cutet.f90</a>;
</li>
<li>
<a href = "ex_cutet.sh">ex_cutet.sh</a>,
commands to compile, link and run the program;
</li>
<li>
<a href = "ex_cutet_output.txt">ex_cutet_output.txt</a>, the output.
</li>
</ul>
</p>
<p>
<b>EX_DECUHR3D</b> approximates an integral over a cube, like the
DECUHR3D _output.txtine.
<ul>
<li>
<a href = "ex_decuhr3d.f90">ex_decuhr3d.f90</a>;
</li>
<li>
<a href = "ex_decuhr3d.sh">ex_decuhr3d.sh</a>,
commands to compile, link and run the program;
</li>
<li>
<a href = "ex_decuhr3d_output.txt">ex_decuhr3d_output.txt</a>, the output.
</li>
</ul>
</p>
<p>
<b>SIMPLEXPAPERTEST</b> approximates an integral over a 5D region
<ul>
<li>
<a href = "simplexpapertest.f90">simplexpapertest.f90</a>;
</li>
<li>
<a href = "simplexpapertest.sh">simplexpapertest.sh</a>,
commands to compile, link and run the program;
</li>
<li>
<a href = "simplexpapertest_output.txt">simplexpapertest_output.txt</a>, the output.
</li>
</ul>
</p>
<p>
You can go up one level to <a href = "../f_src.html">
the FORTRAN90 source codes</a>.
</p>
<hr>
<i>
Last revised on 17 January 2011.
</i>
<!-- John Burkardt -->
</body>
</html>