fem_to_triangle


fem_to_triangle, an Octave code which reads FEM files of node coordinates and element connectivity, which define a mesh of a 2D region, divided into triangular elements, and creates a corresponding pair of files for Jonathan Shewchuk's triangle() program.

These files can be used as input to triangle() for viewing, or mesh refinement.

Usage:

fem_to_triangle prefix
where prefix is the common filename prefix:

Licensing:

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

Languages:

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

fem_to_triangle_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).

fem_to_gmsh, an Octave code which reads fem files definining a 1d, 2d or 3d mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a gmsh mesh file.

fem_to_xml, an Octave 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().

fem2d, a data directory which contains examples of 2d fem files, text files that describe a 2d geometry and node values associated with the finite element method (fem);

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

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

Source Code:


Last revised on 17 July 2023.