# PLTSUB GRID.UPI

### From BAWiki

##### Revision as of 15:00, 24 January 2014 by imported>Lang Guenther (CREATE_SIMPLE_UNTRIM2_GRID added)

Revision as of 15:00, 24 January 2014 by imported>Lang Guenther (CREATE_SIMPLE_UNTRIM2_GRID added)

## Basic Information

### File-Type

pltsub_grid.upi

### File-Form

FORMATTED

### Version

1.x / February 2010

### Description-Date

January 2011

## Significance of the File

contains plot grid data for the numerical model UNTRIM2

## File-Contents (in Catchwords)

- static informations:
- number of polygons in the computational grid,
- number of edges (with flow) in the computational grid,
- number of subpolygons for plotting purposes,
- number of subedges for plotting purposes, and
- number of subvertices for plotting purposes.

- dynamic data:
- polygon data (for each polygon of the computational grid):

- polygon number (informative),
- number of subpolygons for plotting purposes within polygon, and
- subpolygon data for plotting purposes (for all plot subpolygons of a polygon):

- local (plot) subpolygon number (informative),
- number of subvertices for plotting purposes within (plot) subpolygon,
- pointer to subpolygon depth class of polygon (local depth class index for (computational) polygon, see also subpolygon depth class data in utrsub_grid.dat), and
- list of x- and y-coordinates for (plot) subpolygon.

- edge data (for each edge with flow of the computational grid):

- edge number (informative),
- number of subedges for plotting purposes at edge, and
- subedge data for plotting purposes (for all plot subedges of an edge):

- local (plot) subedge number (informative),
- pointer to subedge depth class of edge (local depth class index for (computational) edge,, see also subedge depth class data in utrsub_grid.dat), and
- list of x- and y-coordinates for start and end point of (plot) subedge.

## Programs using this Type of File

CREATE_SIMPLE_UNTRIM2_GRID, GRIDCONVERT, SGHVIEW2D, UTRPRE

### Example-File

see $PROGHOME/examples/prg/gridconvert/data/sub/

back to: File Descriptions