LYNESS_RULE is a MATLAB library which produces the Lyness-Jespersen family of quadrature rules for the triangle.
The rules have the following orders (number of points) and precisions (maximum degree of polynomials whose integrals they can compute exactly):
| Rule | Order | Precision |
|---|---|---|
| 0 | 1 | 1 |
| 1 | 3 | 2 |
| 2 | 4 | 2 |
| 3 | 4 | 3 |
| 4 | 7 | 3 |
| 5 | 6 | 4 |
| 6 | 10 | 4 |
| 7 | 9 | 4 |
| 8 | 7 | 5 |
| 9 | 10 | 5 |
| 10 | 12 | 6 |
| 11 | 16 | 6 |
| 12 | 13 | 6 |
| 13 | 13 | 7 |
| 14 | 16 | 7 |
| 15 | 16 | 8 |
| 16 | 21 | 8 |
| 17 | 16 | 8 |
| 18 | 19 | 9 |
| 19 | 22 | 9 |
| 20 | 27 | 11 |
| 21 | 28 | 11 |
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
LYNESS_RULE is available in a C++ version and a FORTRAN90 version and a MATLAB version.
DUNAVANT, a MATLAB library which defines Dunavant rules for quadrature on a triangle.
FEKETE, a MATLAB library which defines Fekete rules for interpolation or quadrature on a triangle.
FELIPPA, a MATLAB library which defines quadrature rules for lines, triangles, quadrilaterals, pyramids, wedges, tetrahedrons and hexahedrons.
GM_RULE, a MATLAB library which defines a Grundmann-Moeller rule for quadrature over a triangle, tetrahedron, or general M-dimensional simplex.
NCC_TRIANGLE, a MATLAB library which defines Newton-Cotes closed quadrature rules on a triangle.
NCO_TRIANGLE, a MATLAB library which defines Newton-Cotes open quadrature rules on a triangle.
QUADRATURE_RULES_TRI, a dataset directory of triples of files which defines various quadrature rules on triangles.
STROUD, a MATLAB library which contains quadrature rules for a variety of unusual areas, surfaces and volumes in 2D, 3D and M-dimensions.
TEST_TRI_INT, a MATLAB library which tests algorithms for quadrature over a triangle.
TRIANGLE_EXACTNESS, a MATLAB program which investigates the polynomial exactness of a quadrature rule for the triangle.
TRIANGLE_MONTE_CARLO, a MATLAB program which uses the Monte Carlo method to estimate integrals over a triangle.
WANDZURA, a MATLAB library which definines Wandzura rules for quadrature on a triangle.
You can go up one level to the MATLAB source codes.