Click or drag to resize

ICoSimulatorStep Method

Called to advance the simulator by step.

Namespace: Demo3D.Time.CoSimulation
Assembly: Demo3D.Time (in Demo3D.Time.dll) Version: 19.00.00
Syntax
C#
CoSimulatorAction Step(
	ModelTime stepBeginTime,
	ModelTime step
)

Parameters

stepBeginTime  ModelTime
The time that this step begins.
step  ModelTime
The step size to advance the simulation.

Return Value

CoSimulatorAction
Returns an action for the co-simulation master to apply.
Remarks
If Asynchronous is set, then this method will be called in the simulation thread. otherwise this method is called in a separate thread.
If running in a separate thread, then any of the other API methods (except BeforeStep and AfterStep) could be called in the simulation thread while this method is being called. Including calls to Paused, Reset, and Resuming.
Always called in a strict sequence of BeforeStep, Step, AfterStep.
See Also