FLDget_grid_type, FLDset_grid_type


Synopsis

get/set the grid_type of a Grid_Struct Grid


int FLDget_grid_type (
           OMobj_id field,
           int *grid_type);

int FLDset_grid_type (
           OMobj_id field,
           int grid_type);

Description

These routines get/set the grid_type of a Grid_Struct Grid.

Parameters

OMobj_id field

The OMobj_id of a field that contains a Grid_Struct.

int *grid_type
int grid_type

In FLDget_grid_type, grid_type is a pointer to an integer in which the grid_type is returned.

In FLDset_grid_type, grid_type is an integer from which the grid_type is copied to the field.

0 (unset) = Grid_Struct
1 = Grid_Unif
2 = Grid_Rect

Example

None available.

Related routines

Not applicable.