triangle_to_xml, a MATLAB code 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.


triangle_to_xml ( 'prefix' )
where prefix is the common filename prefix so that:


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


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 MATLAB code 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).

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

triangle_io, a MATLAB code which can read or write node and element files created by the triangle program.

triangle_to_fem, a MATLAB code 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.


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

Source Code:

Last revised on 08 April 2019.