WANDZURA
High Order Quadrature in a Triangle.
WANDZURA is a C++ program,
using double precision arithmetic,
which can return any of six Wandzura
rules for high order quadrature in a triangle.
There are six rules, which have polynomial degree of exactness
of 5, 10, 15, 20, 25, and 30.
Related Data and Programs:
CLENSHAW_CURTIS
is a C++ library which can set up a
Clenshaw Curtis quadrature grid in multiple dimensions.
DUNAVANT
is a C++ library of routines
for defining Dunavant rules for quadrature
on a triangle.
FEKETE
is a C++ library of routines
for defining Fekete rules for interpolation or quadrature
on a triangle.
FEM_SAMPLE
is a C++ library of routines
for evaluating a finite element function defined on an order 3
or order 6 triangulation.
FEMPACK
is a C++ library of routines
for finite element calculations.
GM_RULES
is a C++ library of routines for defining a Grundmann-Moeller
rule for quadrature over a triangle, tetrahedron, or general
M-dimensional simplex.
KEAST
is a C++ library which defines a number of quadrature rules
for a tetrahedron.
NCC_TRIANGLE
is a C++ library defining Newton-Cotes closed quadrature
rules on a triangle.
NCO_TRIANGLE
is a C++ library defining Newton-Cotes open quadrature
rules on a triangle.
NINT_EXACTNESS_TRI
is an executable C++ program which investigates the polynomial
exactness of a quadrature rule for the triangle.
NINTLIB
is a FORTRAN90 library containing a variety
of routines for numerical estimation of integrals in multiple dimensions.
QUADRULE
is a C++ library for defining quadrature rules on a
variety of intervals with different weight functions.
STROUD
is a C++ library containing quadrature
rules for a variety of unusual areas, surfaces and volumes in 2D,
3D and N-dimensions.
TEST_TRI_INT
is a FORTRAN90 library of functions that can be used to test algorithms
for quadrature over a triangle.
TOMS612
is a FORTRAN77 library of routines which can estimate
the integral of a function over a triangle.
TOMS706
is a FORTRAN77 library which estimates the integral of a function
over a triangulated region.
WANDZURA is also available in
a FORTRAN90 version
and
a MATLAB version
Reference:
-
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.
-
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:
Examples and Tests:
One of the tests in the sample calling program creates
EPS files of
the points in the unit triangle. These have been converted
to PNG files for
display here.
List of Routines:
-
FILE_NAME_INC increments a partially numeric file name.
-
I4_MAX returns the maximum of two I4's.
-
I4_MIN returns the smaller of two I4's.
-
I4_MODP returns the nonnegative remainder of I4 division.
-
I4_WRAP forces an I4 to lie between given limits by wrapping.
-
R8_HUGE returns a "huge" R8.
-
R8_NINT returns the nearest integer to an R8.
-
REFERENCE_TO_PHYSICAL_T3 maps T3 reference points to physical points.
-
S_LEN_TRIM returns the length of a string to the last nonblank.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
-
TIMESTRING returns the current YMDHMS date as a string.
-
TRIANGLE_AREA computes the area of a triangle.
-
TRIANGLE_POINTS_PLOT plots a triangle and some points.
-
WANDZURA_DEGREE returns the degree of a given Wandzura rule for the triangle.
-
WANDZURA_ORDER_NUM returns the order of a given Wandzura rule for the triangle.
-
WANDZURA_RULE returns the points and weights of a Wandzura rule.
-
WANDZURA_RULE_NUM returns the number of Wandzura rules available.
-
WANDZURA_SUBORDER returns the suborders for a Wandzura rule.
-
WANDZURA_SUBORDER_NUM returns the number of suborders for a Wandzura rule.
-
WANDZURA_SUBRULE returns a compressed Wandzura rule.
-
WANDZURA_SUBRULE_1 returns a compressed Wandzura rule 1.
-
WANDZURA_SUBRULE_2 returns a compressed Wandzura rule 2.
-
WANDZURA_SUBRULE_3 returns a compressed Wandzura rule 3.
-
WANDZURA_SUBRULE_4 returns a compressed Wandzura rule 4.
-
WANDZURA_SUBRULE_5 returns a compressed Wandzura rule 5.
-
WANDZURA_SUBRULE_6 returns a compressed Wandzura rule 6.
-
WANDZURA_SUBRULE2_1 returns a compressed Wandzura rule 1.
-
WANDZURA_SUBRULE2_2 returns a compressed Wandzura rule 2.
-
WANDZURA_SUBRULE2_3 returns a compressed Wandzura rule 3.
-
WANDZURA_SUBRULE2_4 returns a compressed Wandzura rule 4.
-
WANDZURA_SUBRULE2_5 returns a compressed Wandzura rule 5.
-
WANDZURA_SUBRULE2_6 returns a compressed Wandzura rule 6.
You can go up one level to
the C++ source codes.
Last revised on 12 December 2006.