 |
vlmput_ugrid
NAME
vlmput_ugrid - Writes the ugrid cell and vertex information
to
a ParVox unstructured grid definition file.
SYNOPSIS
#include <vlmeta.h>
int vlmput_ugrid(char* name, vlmeta_ugrid *ugdata);
DESCRIPTION
Vlmput_ugrid writes the cell and vertex table from ugdata data
structure into a ParVox unstructured grid definition file named name.
name can be a complete name or a prefix. When name is a
prefix, ".ugrid.nc"
will be added to it. If the file exists, it will check if the dimensions stored
in the file match with the ones stored in ugdata, it returns -1 if the dimensions
don't match. If the file does not exist, a new file will be created and the
dimensions will be written to the file together with the cell and vertex definition
tables.
SEE ALSO
vlmeta_ugrid,
ParVox Tutorial: Input Data Format
DIAGNOSTICS
Upon successful completion, the value of 0 is returned.
Otherwise, a value of -1 is returned.
|
 |