The SIMULIA Co-Simulation Services call the putFramePointsForField and
putFieldFnWithTime callback functions to retrieve data from
your results provider. These services are called by the SIMULIA Co-Simulation Services when new information is required to advance the downstream simulation.
The putFramePointsForField function is called by the SIMULIA Co-Simulation Services to retrieve the frame number at the specified time for a particular field or to
retrieve the frame number before and after the specified time for a particular
field. The SIMULIA Co-Simulation Services send field data only when the before and after frame time points change. The
putFramePointsForField function takes the following arguments:
iFieldType
- Field type name to retrieve the frame time points.
iMeshName
- Region name for which the frame points are retrieved.
iMaxNumberOfFrames
- Maximum number of time frames.
The value returned is either 1 or
2.
iTime
- Solution time to extract field data.
iUserData
- Pointer to user data object.
The userData object is
defined by SMACseConnect.
oNumberOfFrames
- Number of frame time points the client has for the specified time.
Set this value either to 1 or 2.
oFrameTimePoints
- Vector of frame time points.
The putFieldFnWithTime function is called by the SIMULIA Co-Simulation Services to retrieve the field at the requested time point. The
putFieldFnWithTimefunction takes the following parameters:
iFieldType
- Field type name to be retrieved.
iMeshName
- Region name for the field to be retrieved.
iCollectionName
- Collection name.
The collection name is either a node or element
collection depending on the field position.
iNMembers
- Number of members in the collection.
iMembers
- List of member identifiers.
iTime
- Solution time to extract the field.
iUserData
- Pointer to user data object.
The userData object is
defined by the SMACseConnect function.
oTargetBuffer
- Target buffer to which to write field data.