triangle_symq_rule


triangle_symq_rule, a C code which returns symmetric quadrature rules, with exactness up to total degree 50, over the interior of a triangle, by Hong Xiao and Zydrunas Gimbutas.

The original source code, from which this library was developed, is available from the Courant Mathematics and Computing Laboratory, at https://www.cims.nyu.edu/cmcl/quadratures/quadratures.html ,

Licensing:

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

Languages:

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

Related Data and Programs:

triangle_symq_rule_test

c_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).

toms886, a C code which defines the Padua points for interpolation in a 2D region, including the rectangle, triangle, and ellipse, by Marco Caliari, Stefano de Marchi, Marco Vianello. This is a version of ACM TOMS algorithm 886.

triangle_exactness, a C code which investigates the monomial exactness quadrature rule over the interior of a triangle in 2D.

triangle_integrals, a C code which returns the exact value of the integral of any monomial over the interior of the unit triangle in 2D.

triangle_monte_carlo, a C code which uses the Monte Carlo method to estimate the integral of a function over the interior of the unit triangle in 2D.

Reference:

  1. Hong Xiao, Zydrunas Gimbutas,
    A numerical algorithm for the construction of efficient quadrature rules in two and higher dimensions,
    Computers and Mathematics with Applications,
    Volume 59, 2010, pages 663-676.

Source Code:


Last revised on 22 August 2019.