triangle_wandzura_rule


triangle_wandzura_rule, a C++ code which can return any of six Wandzura rules for high order quadrature over the interior of a triangle in 2D.

There are six rules, which have polynomial degree of exactness of 5, 10, 15, 20, 25, and 30.

Licensing:

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

Languages:

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

Related Data and Programs:

triangle_wandzura_rule_test

cpp_rule, a C++ 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. James Lyness, Dennis Jespersen,
    Moderate Degree Symmetric Quadrature Rules for the Triangle,
    Journal of the Institute of Mathematics and its Applications,
    Volume 15, Number 1, February 1975, pages 19-32.
  2. Stephen Wandzura, Hong Xiao,
    Symmetric Quadrature Rules on a Triangle,
    Computers and Mathematics with Applications,
    Volume 45, Number 12, June 2003, pages 1829-1840.

Source Code:


Last revised on 04 May 2020.