SimulationStateFile::ToState Method

Converts the simulation state file to a plain SimulationState object.

Syntax

SimulationState@ SimulationStateFile::ToState()

Return value

SimulationState@
The simulation state object.

Remarks

Converting the file to a simulation state removes any inputs or ghost states from the returned object.

Note, that the returned object is currently not a reference to the data present in the file object. This means that altering the state in the converted object will not alter the state in the file object. This may change in the future.