FLDFget_ndim
FLDFset_ndim


Synopsis

get/set the ndim in a structured mesh (uniform, rectilinear or curvilinear)


INTEGER FLDFget_ndim (field, ndim)
INTEGER field(OIDSIZ)
INTEGER ndim

INTEGER FLDFset_ndim (field, ndim)
INTEGER field(OIDSIZ)
INTEGER ndim

Description

These routines get/set the number of dimensions (ndim: 1D, 2D, 3D, etc.) in a structured mesh (uniform, rectilinear or curvilinear).

Parameters

field

The integer id of a field that contains a Grid_Struct.

ndim

In FLDFget_ndim, ndim is an integer variable in which the ndim is returned.

In FLDFset_ndim, ndim is an integer variable from which the ndim is copied to the field.