FLDFget_cell_props
Synopsis
get or set the user defined properties array in a cell_set
INTEGER FLDFget_cell_props (cell_set, props, size, mode)
INTEGER cell_set(OIDSIZ)
INTEGER props(*)
INTEGER size
INTEGER modeDescription
FLDFget_cell_props gets or sets the user defined properties array (props) in a specified cell set. A properties can be material id, cell thickness, etc.
The FLDFget_cell_props routine can be used for both getting and setting the props array. When setting with a "get" routine (mode = OM_GET_ARRAY_WR or OM_GET_ARRAY_RW), this routine returns an integer representing a pointer to a pre-allocated array, and the developer just needs to fill in the values.
Parameter
An integer representing a pointer to a float array in which the props array is returned. To access data array you will need to use ARRFoffset function described in the OM reference pages. Call ARRFfree() on this an integer representing a pointer when you are done using it.
mode sets the access mode for the array. The choices are:
The program requires a copy of the array for its own, private use (reading or writing).
Returned value
A pointer to the array, or NULL if ARRalloc failed.
Examples
Examples
Files
See Also