TRIANGLE_TO_FEM
Convert Mesh Data from TRIANGLE to FEM Format.


TRIANGLE_TO_FEM is a MATLAB program which reads a pair of node and element files created by the TRIANGLE program and writes a corresponding pair of node and element files that correspond to the FEM format.

Usage:

triangle_to_fem '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_FEM is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

FEM_IO, a MATLAB library which reads or writes node, element and data files defining a model associated with the finite element method (FEM).

FEM2D, a data directory which contains examples of 2D FEM files, a pair of files defining the coordinates of nodes, and the nodes that form triangular elements.

MEDIT_TO_FEM, a MATLAB program which reads a mesh file created by the MEDIT program and writes a corresponding pair of node and element files that correspond to the FEM format.

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 MATLAB library which can read or write node and element files created by the TRIANGLE program.

TRIANGLE_TO_MEDIT, a MATLAB 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().

TRIANGLE_TO_XML, a MATLAB program which reads the NODE and ELE files created by triangle() to describe a triangular mesh in 2D, and writes out a corresponding XML mesh file for use by DOLFIN or FENICS.

XML_TO_FEM, a Python program which reads an XML file created by FENICS or DOLFIN, describing a mesh in 1D, 2D, or 3D, and creates corresponding FEM files, namely, a file of node coordinates, and a file of element connectivities.

Source Code:

Examples and Tests:

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


Last revised on 12 October 2014.