MESH2D_TO_MEDIT
Save MESH2D data in MEDIT format


MESH2D_TO_MEDIT, a MATLAB program which accepts the nodes and triangles of a mesh created by MESH2D and creates a corresponding file that is in MEDIT format.

Usage:

mesh2d_to_medit ( p, t, 'filename' )
where

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

MESH2D_TO_MEDIT is available in a MATLAB version.

Related Data and Programs:

MEDIT, a data directory which contains examples of files which can be used by the MEDIT program to define a 2D or 3D mesh for use by the finite element method (FEM), using triangles, quadrilaterals, tetrahedrons or hexahedrons.

MEDIT, examples which illustrate the use of medit, an interactive graphics program developed to visualize numerical simulation results on unstructured meshes in two and three dimensions. Scalar, vector and tensor fields can be easily associated and displayed with meshes. The program is by Pascal Frey.

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.

MESH2D, a MATLAB library which can automatically create a triangular mesh for a given polygonal region, by Darren Engwirda.

MESH2D_WRITE, a MATLAB program which demonstrates how MESH2D node and element data can be written to files.

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

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:

Examples and Tests:

ELL_DEMO calls MESH2D to create a mesh of an L-shaped region. Then it calls MESH2D_TO_MEDIT to write the data to a file.

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


Last revised on 16 February 2015.