**triangle_ncc_rule_test**,
a MATLAB program which
calls triangle_ncc_rule() to define the weights and abscisass for a sequence of
9 Newton-Cotes closed quadrature rules
over the interior of a triangle in 2D.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

triangle_ncc_rule, a MATLAB library which defines Newton-Cotes Closed (NCC) quadrature rules over the interior of a triangle in 2D.

- triangle_ncc_rule_test.m, calls all the tests.
- triangle_ncc_rule_test.sh, runs all the tests.
- triangle_ncc_rule_test.txt, the output file.

- triangle_ncc_rule_test01.m, tests TRIANGLE_NCC_RULE_NUM, TRIANGLE_NCC_DEGREE, and TRIANGLE_NCC_ORDER_NUM.
- triangle_ncc_rule_test02.m, tests TRIANGLE_NCC_RULE by summing the weights.
- triangle_ncc_rule_test03.m, tests TRIANGLE_NCC_RULE by summing the barycentric coordinates.
- triangle_ncc_rule_test04.m, tests TRIANGLE_NCC_ORDER by integrating monomials in the unit triangle.
- triangle_ncc_rule_test05.m, tests REFERENCE_TO_PHYSICAL_T3 by transforming an NCC rule from the unit triangle to another triangle.