 |
vlmeta_voxel4d
NAME
vlmeta_ugrid - ParVox unstructured grid data structure.
SYNOPSIS
#include <vlmeta.h>
DESCRIPTION
Vlmeta_ugrid is a typedef struct defined as:
typedef struct
{
short num_vars; /* number of variables */
int num_vertices, num_cells;
short verts_per_cell; /* 4 for tetrahedrons */
/* netcdf attributes */
cell_type_t cell_type;
short time_tag;
vlpoint spacing;
/* netcdf variables */
char var_name[VL_MAX_VARS][MAX_VAR_NAME];
float range[VL_MAX_VARS][2];
vlpoint boundingbox[2]; /* two opposite corners */
float *vertex; /* size = sizeof(float) * 3 (x, y, z) */
int *cell; /* size = sizeof(int) * num_cells * verts_per_cell
Each cell set contains (vert1, vert2, vert3, ...) */
float *value; /* size = sizeof(float) * num_vars * num_vertices */
} vlmeta_ugrid;
vlmeta_ugrid data structure contains the cell and
vertex tables stored in a grid definition file (with extension ".ugrid.nc"
and the vertex values stored in a grid value file (with extension ".ugval.nc".
SEE ALSO
vlmget_ugrid,
vlmget_ugval,
ParVox Tutorial: Input Data Format
|
 |