 |
vlmget_ugrid
NAME
vlmget_ugval - Reads a block of ugrid vertex values
from
a ParVox unstructured grid value file.
SYNOPSIS
#include <vlmeta.h>
int vlmget_ugval(int ncid, vlmeta_ugrid *ugdata, long start, long count, int dtype);
DESCRIPTION
Vlmget_ugval reads the physical values on the vertices
from a ParVox unstructured grid value file. The handle ncid,
which
is
obtained by a previous vlmopen_ugval call, points
to the file
to
read
from.
Vlmget_ugval reads in the vertex values into the vlmeta_ugrid structure
ugdata->value. The
value table is a 2D array with dimension [number of vertices, number
of variables].
Start and count represents the starting vertex index and number
of vertices to read.
If count=0, the entire array will be read in. Dtype indicates
the format the file is in, either
VL_RAW or VL_NETCDF.
VL_RAW is currently not supported.
SEE ALSO
vlmopen_ugrid,
vlmeta_ugrid,
ParVox Tutorial: Input Data Format
DIAGNOSTICS
Upon successful completion, the value of 0 is returned.
Otherwise, a value of -1 is returned.
|
 |