cube_felippa_rule


cube_felippa_rule, a C code which generates the points and weights of a Felippa quadrature rule over the interior of a cube in 3D.

Actually, the word "cube" is meant to designate any quadrature region defined by:

        A(1) <= X <= B(1)
        A(2) <= Y <= B(2)
        A(3) <= Z <= B(3)
      

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

cube_felippa_rule is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Data and Programs:

cube_felippa_rule_test

c_rule, a C code which computes a quadrature rule which estimates the integral of a function f(x), which might be defined over a one dimensional region (a line) or more complex shapes such as a circle, a triangle, a quadrilateral, a polygon, or a higher dimensional region, and which might include an associated weight function w(x).

cube_exactness, a C code which investigates the polynomial exactness of quadrature rules over the interior of a cube in 3D.

cube_grid, a C code which computes a grid of points over the interior of a cube in 3D.

cube_integrals, a C code which returns the exact value of the integral of any monomial over the interior of the unit cube in 3D.

cube_monte_carlo, a C code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit cube 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 16 June 2019.