KEAST
Quadrature Rules for a Tetrahedron
KEAST
is a C++ library which
defines a set of quadrature rules for the tetrahedron.
The ten rules have the following orders and precisions:
| Rule | Order | Precision |
| 1 | 1 | 0 |
| 2 | 4 | 1 |
| 3 | 5 | 2 |
| 4 | 10 | 3 |
| 5 | 11 | 4 |
| 6 | 14 | 4 |
| 7 | 15 | 5 |
| 8 | 24 | 6 |
| 9 | 31 | 7 |
| 10 | 45 | 8 |
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Related Data and Programs:
DUNAVANT
is a C++ library which
defines Dunavant rules for quadrature
on a triangle.
FELIPPA
is a C++ library which
defines quadrature rules for lines, triangles, quadrilaterals,
pyramids, wedges, tetrahedrons and hexahedrons.
GM_RULES
is a C++ library which
defines Grundmann-Moeller
rules for quadrature over a triangle, tetrahedron, or general
M-dimensional simplex.
KEAST is available in
a C++ version and
a FORTRAN90 version and
a MATLAB version.
NCC_TETRAHEDRON
is a C++ library which
defines Newton-Cotes closed quadrature
rules on a tetrahedron.
NCO_TETRAHEDRON
is a C++ library which
defines Newton-Cotes open quadrature
rules on a tetrahedron.
NINTLIB
is a FORTRAN90 library which
contains a variety
of routines for numerical estimation of integrals in multiple dimensions.
QUADRATURE_RULES_TET
is a dataset directory which
contains triples of files defining various quadrature
rules on tetrahedrons.
QUADRULE
is a C++ library which
includes a
library of routines for defining quadrature rules on a
variety of intervals with different weight functions.
STROUD
is a C++ library which
contains quadrature
rules for a variety of unusual areas, surfaces and volumes in 2D,
3D and N-dimensions.
TETRAHEDRON_MONTE_CARLO,
a C++ program which
uses the Monte Carlo method to estimate integrals over a tetrahedron.
TETRAHEDRONS,
a dataset directory which
contains examples of tetrahedrons;
Reference:
-
Patrick Keast,
Moderate Degree Tetrahedral Quadrature Formulas,
Computer Methods in Applied Mechanics and Engineering,
Volume 55, Number 3, May 1986, pages 339-348.
Source Code:
Examples and Tests:
List of Routines:
-
COMP_NEXT computes the compositions of the integer N into K parts.
-
I4_MAX returns the maximum of two I4's.
-
I4_MIN returns the smaller of two I4's.
-
I4_MODP returns the nonnegative remainder of I4 division.
-
I4_WRAP forces an I4 to lie between given limits by wrapping.
-
KEAST_DEGREE returns the degree of a Keast rule for the triangle.
-
KEAST_ORDER_NUM returns the order of a Keast rule for the triangle.
-
KEAST_RULE returns the points and weights of a Keast rule.
-
KEAST_RULE_NUM returns the number of Keast rules available.
-
KEAST_SUBORDER returns the suborders for a Keast rule.
-
KEAST_SUBORDER_NUM returns the number of suborders for a Keast rule.
-
KEAST_SUBRULE returns a compressed Keast rule.
-
KEAST_SUBRULE_01 returns a compressed Keast rule 1.
-
KEAST_SUBRULE_02 returns a compressed Keast rule 2.
-
KEAST_SUBRULE_03 returns a compressed Keast rule 3.
-
KEAST_SUBRULE_04 returns a compressed Keast rule 4.
-
KEAST_SUBRULE_05 returns a compressed Keast rule 5.
-
KEAST_SUBRULE_06 returns a compressed Keast rule 6.
-
KEAST_SUBRULE_07 returns a compressed Keast rule 7.
-
KEAST_SUBRULE_08 returns a compressed Keast rule 8.
-
KEAST_SUBRULE_08 returns a compressed Keast rule 8.
-
KEAST_SUBRULE_10 returns a compressed Keast rule 10.
-
MONOMIAL_VALUE evaluates a monomial.
-
R8_HUGE returns a "huge" R8.
-
R8_NINT returns the nearest integer to an R8.
-
R8MAT_DET_4D computes the determinant of a 4 by 4 R8MAT.
-
R8VEC_DOT computes the dot product of a pair of R8VEC's.
-
S_LEN_TRIM returns the length of a string to the last nonblank.
-
TETRAHEDRON_REFERENCE_TO_PHYSICAL maps reference points to physical points.
-
TETRAHEDRON_VOLUME computes the volume of a tetrahedron in 3D.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
You can go up one level to
the C++ source codes.
Last revised on 26 June 2007.