triangle_io


triangle_io, an Octave code which can read or write some simple versions of some of the files used by Jonathan Shewchuk's triangle() program.

Licensing:

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

Languages:

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

triangle_io_test

fem_to_triangle, an Octave code which reads FEM files defining a 2d mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by Jonathan Shewchuk's triangle() program.

poly, a data directory which contains a description and examples of the poly file format.

triangle_display, an Octave code which displays the nodes and elements of a triangulation on the MATLAB graphics screen, assuming the data has been stored in node and ele files by Jonathan Shewchuk's triangle() program.

triangle_files, a data directory of examples of files used by Jonathan Shewchuk's triangle() and showme() programs.

triangle_to_fem, an Octave code which reads the node and ele files created by Jonathan Shewchuk's triangle() to describe a triangular mesh, and writes two simple "mesh" format files, listing node coordinates and element connectivity.

triangle_to_xml, an Octave code which reads the node and ele files created by Jonathan Shewchuk's triangle() to describe a triangular mesh in 2d, and writes out a corresponding xml mesh file for use by dolfin or fenics.

Source Code:


Last revised on 19 April 2023.