triangle_twb_rule


triangle_twb_rule, a Fortran90 code which generates the points and weights of quadrature rules over the interior of a triangle in 2D, determined by Taylor, Wingate, and Bos.

Licensing:

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

Languages:

triangle_twb_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_twb_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. Rouben Rostamian,
    Programming Projects in C for Students of Engineering, Science, and Mathematics,
    SIAM, 2014,
    ISBN:978-1-611973-49-5,
    LC: Q183.9R67.
  2. Mark Taylor, Beth Wingate, Len Bos,
    Several new quadrature formulas for polynomial integration in the triangle,
    https://arxiv.org/abs/math/0501496v2,
    08 February 2007.

Source Code:


Last revised on 16 April 2019