triangle_to_medit


triangle_to_medit, a Fortran90 code which reads a pair of node and element files created by the triangle() program and writes a corresponding mesh file suitable for viewing with the medit() program.

Usage:

triangle_to_medit prefix
where prefix is the common filename prefix so that:

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

triangle_to_medit is available in a C version and a C++ version and a Fortran90 version and a MATLAB versionand an Octave version.

Related Data and Programs:

triangle_to_medit_test

fem_to_medit, a Fortran90 code which reads a pair of FEM files defining node coordinates and elements, and creates a corresponding medit() MESH file.

medit, a data directory which contains examples of medit() MESH files, which define the geometry of a finite element mesh in 2D or 3D, using triangles, quadrilaterals, tetrahedrons or hexahedrons.

medit_mesh_io, a Fortran90 code which reads or writes medit() MESH files.

poly, a data directory which contains a description and examples of the POLY file format.

showme, a C code which displays the POLY files uses as input to Jonathan Shewchuk's triangle() program and the output files that define meshes and other objects.

triangle, a C code which computes Voronoi diagrams and Delaunay triangulations, and creates and manipulates files that can be displayed by showme().

triangle_display, a MATLAB code 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 Jonathan Shewchuk's triangle() program.

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

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

triangle_to_fem, a Fortran90 code which reads the NODE and ELE files created by Jonathan Shewchuk's triangle() program to describe a triangular mesh, and writes a corresponding pair of node and element files in the 2D FEM format.

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

Reference:

  1. Pascal Frey,
    MEDIT: An interactive mesh visualization software,
    Technical Report RT-0253,
    Institut National de Recherche en Informatique et en Automatique,
    03 December 2001.

Source Code:


Last revised on 23 March 2023