MESH_IO
Reading and Writing MESH Files
MESH_IO
is a directory of MATLAB programs which
read or write MESH files, which define a finite element mesh.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
MESH_IO is available in
a C version and
a C++ version and
a FORTRAN77 version and
a FORTRAN90 version and
a MATLAB version.
Related Programs:
FEM_TO_MESH,
a MATLAB program which
reads a pair of FEM files defining node coordinates and elements,
and creates a corresponding MESH file.
ICE_TO_MESH,
a MATLAB program which
reads a NETCDF file containing an ICE dataset and rewrites the
information as a MESH file.
MESH,
a data directory which
contains examples of MESH files, which can be used to define the geometry
of a finite element mesh in 2D or 3D, using triangles, quadrilaterals,
tetrahedrons or hexahedrons.
MESH_TO_ICE,
a MATLAB program which
reads the ICE dataset information from a MESH files and rewrites
it to a NETCDF file.
Reference:
-
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:
-
ch_cap.m
returns the capitalized version of a character;
-
ch_eqi.m
returns TRUE if a two characters are equal (ignoring case);
-
cyl248.m,
defines the data associated with a 3D tetrahedral mesh;
-
hexahexa2x2x2.m,
defines the data associated with a 3D hexahedral mesh;
-
mesh_data_print.m,
prints mesh data.
-
mesh_read.m,
reads mesh data from a MESH file.
-
mesh_size_print.m,
prints mesh sizes from a MESH file.
-
mesh_size_read.m,
reads mesh sizes from a MESH file.
-
mesh_write.m,
writes mesh data to a MESH file.
-
s_begin.m,
is TRUE if two strings match, up to the end of the shorter string,
ignoring spaces and capitalization;
-
s_eqi.m,
is TRUE if two strings are equal, ignoring case and trailing blanks;
-
s_len_trim.m
returns the length of a string to the last nonblank;
-
timestamp.m,
writes the YMDHMS date as a timestamp.
Examples and Tests:
You can go up one level to
the MATLAB source codes.
Last revised on 16 October 2010.