FLDget_time_values, FLDset_time_values


Synopsis

Get/set array of time values in a field

int FLDget_time_values(OMobj_id field, double **time, int *size, int mode)

int FLDset_time_values(OMobj_id field, double *time, int size, int mode)

Description

Gets or sets array of time values in a time-dependent fields

Parameters

OMobj_id field

The OMobj_id of a time-dependent field.

double **time

Pointer to an array of double that returns time coordinates. The pointer

will be filled in with the address of an array that contains the node data

You must call ARRfree() on the resulting pointer when you are done with it. See mode below.

Double *time

Array of double that holds time coordinates.

int *size

Pointer to integer in which the size (number of elements) of the time array will be returned.

int size

Size (number of elements) of the time array.

int mode

An integer constant that establishes the access mode for the array subobject that holds the time array. These are the same constants that are used in calls to OMget_array. See FLDget_node_data for a detailed description.