triangle_to_fem


triangle_to_fem, an Octave code which reads a pair of node and element files created by Jonathan Shewchuk's 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 MIT license

Languages:

triangle_to_fem is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and a Octave version.

Related Data and Programs:

triangle_to_fem_test

fem_io, an Octave code 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.

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

triangle_io, an Octave code which can read or write node and element files created by Jonathan Shewchuk's triangle() program.

triangle_to_xml, an Octave code which reads the NODE and ELE files created by Jonathan Shewchuk's triangle() program 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:


Last revised on 20 April 2023.