test_triangulation


test_triangulation, a MATLAB code which sets up a number of triangulation test problems.

As far as possible, a uniform and abstract approach has been used. For each test region, a number of routines are provided, via which it is possible for the user to determine many things about the region. Often, just one or two routines would be needed for a particular purpose. The names of the routines, and their purposes are:

The test problems include:

  1. The unit circle;
  2. The unit circle with a circular hole;
  3. A square with a circular hole;
  4. A hexagon with a hexagonal hole;
  5. The horn;
  6. The superellipse with a superelliptical hole;
  7. The bicycle seat;
  8. The slice of pie with a circular hole and triangular notch;
  9. Jeff Borggaard's square with two hexagonal holes;
  10. The unit square;
  11. The L-shaped region;
  12. John Shadid's H-shaped region;
  13. The Sandia fork;
  14. Marcus Garvie's Lake Alpha, with Beta Island;
  15. Sangbum Kim's forward step;

Licensing:

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

Languages:

test_triangulation is available in a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

distmesh, a MATLAB code which can work from a simple description of the boundary of a region to produce a triangulation of that region.

mesh2d, a MATLAB code which can automatically create a triangular mesh for a given polygonal region, by darren engwirda.

test_triangulation, a MATLAB code which defines a number of test regions to be triangulated.

test_triangulation_test

triangulation, a MATLAB code which carries out various operations on order 3 ("linear") or order 6 ("quadratic") triangulations.

triangulation_order3, a data directory which describes the format for triangulations of order 3.

triangulation_order6, a data directory which describes the format for triangulations of order 6.

Reference:

  1. Per-Olof Persson and Gilbert Strang,
    A Simple Mesh Generator in MATLAB,
    SIAM Review,
    Volume 46, Number 2, June 2004, pages 329-345.

Source Code:


Last revised on 31 March 2019.