Skip to content

Latest commit

 

History

History
99 lines (77 loc) · 3.83 KB

mesh_io.md

File metadata and controls

99 lines (77 loc) · 3.83 KB

MESH_IO
Reading and Writing MESH Files {#mesh_io-reading-and-writing-mesh-files align="center"}


MESH_IO is a C++ library which can read or write MESH files, which define a finite element mesh.

Licensing: {#licensing align="center"}

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

Languages: {#languages align="center"}

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: {#related-programs align="center"}

ICE_TO_MESH, a C++ 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 C++ program which reads the ICE dataset information from a MESH files and rewrites it to a NETCDF file.

TRIANGLE_TO_MESH, a C++ 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: {#reference align="center"}

  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: {#source-code align="center"}

Examples and Tests: {#examples-and-tests align="center"}

List of Routines: {#list-of-routines align="center"}

  • CH_CAP capitalizes a single character.
  • CH_EQI is a case insensitive comparison of two characters for equality.
  • CH_TO_DIGIT returns the integer value of a base 10 digit.
  • CYL248_DATA defines the data for a 3D tetrahedral mesh.
  • CYL248_SIZE defines the sizes for a 3D tetrahedral mesh.
  • GET_UNIT returns a free FORTRAN unit number.
  • HEXAHEXA_2X2X2_DATA defines the data for a 3D hexahedral mesh.
  • HEXAHEXA_2X2X2_SIZE defines the sizes for a 3D hexahedral mesh.
  • I4MAT_COPY copies an I4MAT.
  • I4VEC_COPY copies an I4VEC.
  • MESH_DATA_PRINT prints mesh data.
  • MESH_DATA_READ reads data from a MESH file.
  • MESH_SIZE_PRINT prints mesh sizes.
  • MESH_SIZE_READ reads sizes from a MESH file.
  • MESH_WRITE writes sizes and data to a MESH file.
  • R8MAT_COPY copies an R8MAT.
  • R8VEC_COPY copies an R8VEC.
  • S_BEGIN is TRUE if one string matches the beginning of the other.
  • S_EQI is a case insensitive comparison of two strings for equality.
  • S_TO_I4 reads an integer value from a string.
  • S_TO_I4VEC reads an integer vector from a string.
  • S_TO_R8 reads an R8 value from a string.
  • S_TO_R8VEC reads an R8VEC from a string.
  • TIMESTAMP prints the current YMDHMS date as a time stamp.

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


Last revised on 25 October 2010.