FLDFget_dims
FLDFset_dims


Synopsis

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


INTEGER FLDFget_dims (field, dims, size)
INTEGER field(OIDSIZ)
INTEGER dims
INTEGER size

INTEGER FLDFset_dims (field, dims)
INTEGER field(OIDSIZ)
INTEGER dims

Description

These routines get/set the dims array (number of coordinates in each of the X, Y, and Z axes) in a structured mesh (uniform, rectilinear or curvilinear).

Parameters

field

The integer id of a field that contains a Grid_Struct.

dims

In FLDFget_dims, an integer representing a pointer to an integer representing a pointer to INTEGERs; on return, *dims is filled in with an integer representing a pointer to the dims array. You must call ARRfree() on the result when you are done with it.

In FLDFset_dims, address of an integer array from which the dims are copied into the field.

To access data array you will need to use ARRFoffset function described in Appendix D of Developers Reference.

size

FLDFget_dims only. An integer representing a pointer to an integer in which the number of values in the dims array (effectively, the ndim) is returned.