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_ptr
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_ptr
In FLDFget_dims, an integer holding a pointer to a pointer to an array of integers; on return, *dims_ptr is filled in with an integer representing a pointer to the dims array. You must call ARRFfree() on the result when you are done with it. To access the data you will need to use ARRFoffset function described in the OM reference pages
On 64-bit platforms dims_ptr is actually an INTEGER*8.
dims
In FLDFset_dims, an integer array from which the dims are copied into the field.
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.