TRIANGLE_TO_XML
Convert Mesh Data from TRIANGLE to XML Format.


TRIANGLE_TO_XML is a FORTRAN90 program which reads a pair of node and element files created by the TRIANGLE program and writes a corresponding XML mesh file that can be used by FENICS or DOLFIN.

Usage:

triangle_to_xml prefix
where prefix is the common filename prefix so that:

Licensing:

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

Languages:

TRIANGLE_TO_XML is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

FEM_TO_XML, a FORTRAN90 program which reads FEM files defining a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding XML file for input to DOLFIN or FENICS.

FENICS, examples which illustrate the use of FENICS, a collection of free software with an extensive list of features for automated, efficient solution of partial differential equations (PDE's).

SHOWME, a C program which can display the POLY files uses as input to TRIANGLE, and the output files that define meshes and other objects.

TRIANGLE, a C program which computes Voronoi diagrams and Delaunay triangulations, and creates and manipulates files that can be displayed by SHOWME.

TRIANGLE_FILES, a data directory of examples of files used by the triangle and showme programs.

TRIANGLE_IO, a FORTRAN90 library which can read or write node and element files created by the TRIANGLE program.

TRIANGLE_TO_FEM, a FORTRAN90 program which reads the NODE and ELE files created by triangle() to describe a triangular mesh, and writes two simple "mesh" format files, listing node coordinates and element connectivity.

TRIANGLE_TO_MEDIT, a FORTRAN90 program which reads the NODE and ELE files created by triangle() to describe a triangular mesh, and writes a corresponding MESH file for input to medit().

XML, a data directory which contains examples of XML files, a standard, general datafile format.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 15 October 2014.