triangle_twb_rule


triangle_twb_rule, a C 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 computer code and data files described and made available on this web page are 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 a Python version.

Related Data and Programs:

TRIANGLE_FEKETE_RULE, a C code which defines Fekete rules for interpolation or quadrature over the interior of a triangle in 2D.

triangle_felippa_rule, a C code which returns Felippa's quadratures rules for approximating integrals over the interior of a triangle in 2D.

TRIANGLE_NCC_RULE, a C code which defines Newton-Cotes Closed (NCC) quadrature rules over the interior of a triangle in 2D.

TRIANGLE_NCO_RULE, a C code which defines Newton-Cotes Open (NCO) quadrature rules over the interior of a triangle in 2D.

TRIANGLE_SYMQ_RULE, a C code which returns efficient symmetric quadrature rules, with exactness up to total degree 50, over the interior of an arbitrary triangle in 2D, by Hong Xiao and Zydrunas Gimbutas.

triangle_twb_rule_test

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 15 April 2019