DUNAVANT is a MATLAB library, using double precision arithmetic, which defines the weights and abscisass for a sequence of 20 quadrature rules on a triangle, which are exact for polynomials up to degree 20.
These rules are almost optimal, in the sense that, for each polynomial degree, the number of points used in the rule is close to, or equal to, the theoretical minimum possible value.
A few of the rules include one or two points which are "slightly" outside the triangle; a few of the rules include weights which are negative. Both of these occurrences are generally undesirable.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
CLENSHAW_CURTIS is a MATLAB library which sets up a Clenshaw Curtis quadrature grid in multiple dimensions.
DUNAVANT is also available in a C++ version and a FORTRAN90 version
FEKETE is a MATLAB library which defines Fekete rules for quadrature or interpolation on a triangle.
FELIPPA is a MATHEMATICA library which defines quadrature rules for lines, triangles, quadrilaterals, pyramids, wedges, tetrahedrons and hexahedrons.
FEM_SAMPLE is a MATLAB library which evaluates a finite element function defined on an order 3 or order 6 triangulation.
FEMPACK is a MATLAB library which contains routines useful for finite element calculations.
GM_RULES is a MATLAB library which defines Grundmann-Moeller rules for quadrature over a triangle, tetrahedron, or general M-dimensional simplex.
NCC_TRIANGLE is a MATLAB library defining Newton-Cotes closed quadrature rules on a triangle.
NCO_TRIANGLE is a MATLAB library defining Newton-Cotes open quadrature rules on a triangle.
NINT_EXACTNESS_TRI is a MATLAB program which investigates the polynomial exactness of a quadrature rule for the triangle.
NINTLIB is a MATLAB library containing a variety of routines for numerical estimation of integrals in multiple dimensions.
QUADRULE is a MATLAB library for defining quadrature rules on a variety of intervals with different weight functions.
QUADRULE_FAST is a MATLAB library of routines defining efficient versions of a few 1D quadrature rules.
STROUD is a MATLAB library containing quadrature rules for a variety of unusual areas, surfaces and volumes in 2D, 3D and N-dimensions.
TEST_TRI_INT is a MATLAB library of functions which can be used to test algorithms for quadrature over a triangle.
TOMS612 is a FORTRAN77 library of routines which can estimate the integral of a function over a triangle.
TOMS706 is a FORTRAN77 library which estimates the integral of a function over a triangulated region.
WANDZURA is a MATLAB library of routines for defining Dunavant rules for quadrature on a triangle.
A GZIP'ed TAR file of the contents of this directory is available. This is only done as a convenience for users who want ALL the files, and don't want to download them individually. This is not a convenience for me, so don't be surprised if the tar file is somewhat out of date.
One of the tests in the sample calling program creates EPS files of the Dunavant points in the unit triangle. These have been converted to PNG files for display here.
You can go up one level to the MATLAB source codes.