R/simulation.R
checkpoint_state.Rd
Save the simulation state in an R object, allowing it to be resumed later using restore_state.
restore_state
checkpoint_state(timesteps, variables, events)
<- the number of time steps that have already been simulated
the list of Variables
the list of Events