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

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
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/vlmeta_ugrid.html, is maintained by Peggy Li and was last modified Thursday, 24-Mar-2005 16:46:36 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech