PYRAMID_RULE is a FORTRAN90 program which generates a quadrature rule for a pyramid.
The quadrature rules generated by PYRAMID_RULE are all examples of conical product rules, and involve a kind of direct product of the form:
Legendre rule in X * Legendre rule in Y * Jacobi rule in Zwhere the Jacobi rule includes a factor of (1-Z)^2.
The integration region is:
- ( 1 - Z ) <= X <= 1 - Z
- ( 1 - Z ) <= Y <= 1 - Z
0 <= Z <= 1.
When Z is zero, the integration region is a square lying in the (X,Y)
plane, centered at (0,0,0) with "radius" 1. As Z increases to 1, the
radius of the square diminishes, and when Z reaches 1, the square has
contracted to the single point (0,0,1).
pyramid_rule legendre_order jacobi_order filenamewhere
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
FELIPPA is a FORTRAN90 library which defines quadrature rules for lines, triangles, quadrilaterals, pyramids, wedges, tetrahedrons and hexahedrons.
GEOMETRY is a FORTRAN90 library which performs geometric calculations in 2, 3 and N dimensional space.
JACOBI_RULE, is a FORTRAN90 program which can compute and print a Gauss-Jacobi quadrature rule.
LEGENDRE_RULE, is a FORTRAN90 program which can compute and print a Gauss-Legendre quadrature rule.
LEGENDRE_RULE_FAST, is a FORTRAN90 program which uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order.
NINT_EXACTNESS_PYRAMID is a FORTRAN90 program which investigates the polynomial exactness of a quadrature rule for the pyramid.
PYRAMID_RULE is available in a C++ version and a FORTRAN90 version and a MATLAB version.
QUADRATURE_RULES_PYRAMID, a dataset directory which contains quadrature rules for a pyramid with a square base.
QUADRULE is a FORTRAN90 library which defines quadrature rules on a variety of intervals with different weight functions.
STROUD is a FORTRAN90 library which defines quadrature rules for a variety of unusual areas, surfaces and volumes in 2D, 3D and N-dimensions.
You can go up one level to the FORTRAN90 source codes.