sphere_triangle_monte_carlo


sphere_triangle_monte_carlo, a C++ code which applies the Monte Carlo method to estimate the integral of a function F(X,Y,Z) over a triangle on the surface of the unit sphere in 3D.

Licensing:

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

Languages:

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

sphere_triangle_monte_carlo_test

cpp_monte_carlo, a C++ code which uses Monte Carlo sampling to estimate areas and integrals.

Reference:

Source Code:


Last revised on 07 November 2022.