triangle_fekete_rule


triangle_fekete_rule, a Fortran90 code which can return information defining any of seven Fekete rules for high order interpolation and quadrature over the interior of a triangle in 2D.

Fekete points can be defined for any region OMEGA. To define the Fekete points for a given region, let Poly(N) be some finite dimensional vector space of polynomials, such as all polynomials of degree less than L, or all polynomials whose monomial terms have total degree less than some value L.

Let P(1:M) be any basis for Poly(N). For this basis, the Fekete points are defined as those points Z(1:M) which maximize the determinant of the corresponding Vandermonde matrix:

        V = [ P1(Z1)  P1(Z2)  ... P1(ZM) ]
            [ P2(Z1)  P2(Z2)  ... P2(ZM) ]
            ...
            [ PM(ZM)  P2(ZM)  ... PM(ZM) ]
      

On the triangle, it is known that some Fekete points will lie on the boundary, and that on each side of the triangle, these points will correspond to a set of Gauss-Lobatto points.

The seven rules have the following orders and precisions:
RuleOrderPrecision
1 10 3
2 28 6
3 55 9
4 9112
5 9112
613615
719018

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

triangle_fekete_rule is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Data and Programs:

triangle_fekete_rule_test

f90_rule, a Fortran90 code which computes a quadrature rule which estimates the integral of a function f(x), which might be defined over a one dimensional region (a line) or more complex shapes such as a circle, a triangle, a quadrilateral, a polygon, or a higher dimensional region, and which might include an associated weight function w(x).

Reference:

  1. SF Bockman,
    Generalizing the Formula for Areas of Polygons to Moments,
    American Mathematical Society Monthly,
    Volume 96, Number 2, February 1989, pages 131-132.
  2. Hermann Engels,
    Numerical Quadrature and Cubature,
    Academic Press, 1980,
    ISBN: 012238850X,
    LC: QA299.3E5.
  3. Arthur Stroud,
    Approximate Calculation of Multiple Integrals,
    Prentice Hall, 1971,
    ISBN: 0130438936,
    LC: QA311.S85.
  4. Mark Taylor, Beth Wingate, Rachel Vincent,
    An Algorithm for Computing Fekete Points in the Triangle,
    SIAM Journal on Numerical Analysis,
    Volume 38, Number 5, 2000, pages 1707-1720.
  5. Stephen Wandzura, Hong Xiao,
    Symmetric Quadrature Rules on a Triangle,
    Computers and Mathematics with Applications,
    Volume 45, 2003, pages 1829-1840.

Source Code:


Last revised on 09 September 2020.