TRIANGLE_TO_FEM
Convert Node and Element Files from TRIANGLE to FEM Format.


TRIANGLE_TO_FEM is a C++ 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.

Related Data and Programs:

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.

FEM_IO, a C++ library which can read or write FEM files.

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_DISPLAY, a MATLAB program which displays the nodes and elements of a triangulation on the MATLAB graphics screen, assuming the data has been stored in NODE and ELE files by the TRIANGLE program.

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

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

TRIANGLE_TO_MESH, a C++ program which can read the node and element files from the TRIANGLE program and produce a corresponding MESH file.

Reference:

  1. "../../txt/triangle.txt" , the information that TRIANGLE will print in response to the "-h" switch;
  2. http://www-2.cs.cmu.edu/~quake/triangle.html, the TRIANGLE web site;

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the C++ source codes.


Last revised on 08 December 2010.