MESH_TO_ICE
Transfer ICE dataset from MESH format to NETCDF format
MESH_TO_ICE
is a FORTRAN90 program which
reads a MESH file containing an ICE dataset and rewrites the
information as a NETCDF file.
Usage:
mesh_to_ice prefix
where
-
prefix is the filename prefix,
reads prefix.mesh and creates prefix.nc.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
MESH_TO_ICE is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version.
Related Programs:
ICE_IO,
a FORTRAN90 library which
reads or writes ICE datasets, using the NETCDF format.
ICE_TO_MESH,
a FORTRAN90 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_IO,
a FORTRAN90 library which
can read or write 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.
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.
-
Russ Rew, Glenn Davis, Steve Emmerson, Harvey Davies, Ed Hartne,
The NetCDF User's Guide,
Unidata Program Center, March 2009.
-
Robert Pincus, Russ Rew,
The NetCDF Fortran90 Interface Guide,
Unidata Program Center, March 2010.
Source Code:
Examples and Tests:
HEXAHEXA_2x2x2 subdivides the unit cube into a 2x2x2 mesh
of 8 subcubes or "hexahedra", using 27 vertices, and 24 boundary
quadrilaterals.
PART is a large 3D object including 28,694 vertices, 14,890 triangles,
150,779 tetrahedrons, 50 corners, 1905 edges and 1905 ridges.
List of Routines:
-
MESH_TO_ICE reads "ICE" data from a MESH file and writes it to a NETCDF file.
-
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.
-
GET_UNIT returns a free FORTRAN unit number.
-
ICE_WRITE writes 3D ICE sizes and data to a NETCDF file.
-
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.
-
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 FORTRAN90 source codes.
Last revised on 22 November 2010.