# wedge_felippa_rule

wedge_felippa_rule, a Python code which returns a Felippa quadrature rule to estimate integrals over the interior of the unit wedge in 3D.

The interior of the unit wedge in 3D is defined by the constraints:

```        0 <= X
0 <= Y
X + Y <= 1
-1 <= Z <= +1
```

### Licensing:

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

### Languages:

wedge_felippa_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:

alpert_rule, a Python code which sets up an Alpert quadrature rule for functions which are regular, log(x) singular, or 1/sqrt(x) singular.

annulus_rule, a Python code which computes a quadrature rule for estimating integrals of a function over the interior of a circular annulus in 2D.

cube_felippa_rule, a Python code which returns a Felippa quadrature rule over the interior of a cube in 3D.

disk_rule, a Python code which computes quadrature rules over the interior of the unit disk in 2D.

hexagon_stroud_rule, a Python code which computes one of four Stroud quadrature rules over the interior of the unit hexagon.

pyramid_felippa_rule, a Python code which returns a Felippa quadrature rule for approximating integrals over the interior of a pyramid in 3D.

pyramid_rule, a Python code which computes a quadrature rule over the interior of the pyramid in 3D.

simplex_gm_rule, a Python code which defines Grundmann-Moeller quadrature rules over the interior of a simplex in M dimensions.

square_felippa_rule, a Python code which returns the points and weights of a Felippa quadrature rule over the interior of a square in 2D.

stroud, a Python code which defines quadrature rules for a variety of unusual areas, surfaces and volumes in 2D, 3D and M-dimensions.

tetrahedron_felippa_rule, a Python code which returns Felippa's quadratures rules for approximating integrals over the interior of a tetrahedron in 3D.

tetrahedron_keast_rule, a Python code which defines ten quadrature rules, with exactness degrees 0 through 8, over the interior of a tetrahedron in 3D.

tetrahedron_ncc_rule, a Python code which defines Newton-Cotes Closed (NCC) quadrature rules over the interior of a tetrahedron in 3D.

tetrahedron_nco_rule, a Python code which defines Newton-Cotes Open (NCO) quadrature rules over the interior of a tetrahedron in 3D.

triangle_dunavant_rule, a Python code which sets up a Dunavant quadrature rule over the interior of a triangle in 2D.

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

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

triangle_lyness_rule, a Python code which returns Lyness-Jespersen quadrature rules over the interior of a triangle in 2D.

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

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

triangle_wandzura_rule, a Python code which defines Wandzura rules for quadrature over the interior of a triangle in 2D.

wedge_exactness, a Python code which investigates the monomial exactness of a quadrature rule over the interior of the unit wedge in 3D.

wedge_integrals, a Python code which returns the exact value of the integral of any monomial over the interior of the unit wedge in 3D.

wedge_monte_carlo, a Python code which uses the Monte Carlo method to estimate the value of an integral over the interior of a wedge in 3D.

### Reference:

1. Carlos Felippa,
A compendium of FEM integration formulas for symbolic work,
Engineering Computation,
Volume 21, Number 8, 2004, pages 867-890.

### Source Code:

Last revised on 25 August 2023.