Skip to content

Latest commit

 

History

History
115 lines (82 loc) · 4.29 KB

ice_to_mesh.md

File metadata and controls

115 lines (82 loc) · 4.29 KB

ICE_TO_MESH
Transfer ICE dataset from NECDF format to MESH format {#ice_to_mesh-transfer-ice-dataset-from-necdf-format-to-mesh-format align="center"}


ICE_TO_MESH is a C++ program which reads a NETCDF file containing an ICE dataset and rewrites the information as a MESH file.

Usage: {#usage align="center"}

ice_to_mesh prefix

where

  • prefix is the filename prefix,

reads prefix.nc and creates prefix.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"}

ICE_TO_MESH 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"}

FEM_TO_MESH, a C++ program which reads a pair of FEM files defining node coordinates and elements, and creates a corresponding MESH file.

ICE, a data directory which contains examples of ICE files, which store icesheet grid datasets in the NETCDF format.

ICE_IO, a C++ library which reads or writes ICE datasets, using the NETCDF format.

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 C++ 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.

MESH_TO_ICE, a C++ program which reads a MESH file containing an ICE dataset and rewrites the information as 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.
  2. Russ Rew, Glenn Davis, Steve Emmerson, Harvey Davies, Ed Hartne,
    The NetCDF User's Guide,
    Unidata Program Center, March 2009.
  3. Russ Rew,
    The NetCDF C++ Interface Guide,
    Unidata Program Center, August 2008.

Source Code: {#source-code align="center"}

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

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: {#list-of-routines align="center"}

  • ICE_TO_MESH reads ICE data from a NETCDF file and writes to a MESH file.
  • DATA_PRINT prints the data of an ICE grid dataset.
  • DATA_READ reads ICE data from a NETCDF file.
  • MESH_WRITE writes mesh data to a MESH file.
  • SIZE_PRINT prints the sizes of an ICE grid dataset.
  • SIZE_READ reads ICE sizes from a NETCDF file.
  • TIMESTAMP prints the current YMDHMS date as a time stamp.

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


Last revised on 30 November 2010.