spacer spacer spacer
spacer spacer spacer
spacer
NASA Logo - Jet Propulsion Laboratory    + View the NASA Portal
spacer
JPL Home Earth Solar System Stars & Galaxies Technology
ParVox Parallel Volume Rendering System
ParVox Home ../Images & Animations ParVox Document Download Source PAT Home Section 387 Division 38
spacer
spacer spacer spacer
spacer

vlmopen_ugrid


NAME

    vlmopen_ugrid  - Opens a ParVox unstructured grid definition file.

SYNOPSIS

    #include <vlmeta.h>
    int vlmopen_ugrid(char *name, int dtype, int mode);

DESCRIPTION

    Vlmopen_ugrid opens a ParVox unstructured grid definition file and returns a handle that can be used by vlmget_ugdim and vlmget_ugval. The name parameter can be either the basename of the voxel data file, or the complete name, including the .ugval.nc extension. For example, to open the file ocean.ugval.nc, vlmopen_vox can be called via vlmopen_env("ocean", ...) or vlmopen("ocean.ugval.nc", ...). The dtype parameter can take either VL_RAW or VL_NETCDF, indicating the data file is in either the raw binary format or the NetCDF format, respectively. However, VL_RAW is currently not supported. The mode parameter is the NetCDF file mode, either NC_WRITE or NC_NOWRITE.


NOTES

    The raw binary format is not supported in the current version of the VLMeta library.


SEE ALSO

    vlmget_ugdim, vlmget_ugval, vlmclose, ParVox Tutorial: Input Data Format

DIAGNOSTICS

    Upon successful completion, the file handle for the file is returned. Otherwise, a value of -1 is returned.
spacer
spacer spacer spacer
spacer
Privacy / Copyrights FAQ Contact JPL Sitemap
spacer
spacer spacer spacer
spacer
FIRST GOV   NASA Home Page This page, http://pat.jpl.nasa.gov/public/ParVox/API/vlmopen_ugval.html, is maintained by Peggy Li and was last modified Thursday, 24-Mar-2005 16:25:28 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech