shoreline_test


shoreline_test, a MATLAB code which calls shoreline(), which tries to identify and triangulate the 2D domain over which some function F(X,Y) is nonnegative.

Licensing:

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

Related Data and Programs:

shoreline, a MATLAB code which tries to identify and triangulate the 2D domain over which some function f(x,y) is nonnegative.

Source Code:

SHORELINE_TEST simply uses shoreline with 1, 2, 3, and 4 refinement steps, comparing the estimates of the area of the region for a centered circle, an off-center circle, a centered ellipse, and a slanted ellipse.

SHORELINE_INTEGRAL_TEST uses shoreline with 1, 2, 3, and 4 refinement steps to triangulate a region implicitly defined by 0 < F(X,Y), and then uses the resulting triangulation to estimate the integral over that region of a circular Gaussian function, for a centered circle and an off-center circle, with initial uniform grids of 11x11 and 21x21 points.

A number of functions are available to define the F(X,Y):


Last modified on 24 March 2019.