save_simulation_state: Save the simulation state

View source: R/simulation.R

save_simulation_stateR Documentation

Save the simulation state

Description

Save the simulation state in an R object, allowing it to be resumed later using restore_simulation_state.

Usage

save_simulation_state(timesteps, variables, events)

Arguments

timesteps

the number of time steps that have already been simulated

variables

the list of Variables

events

the list of Events

Value

the saved simulation state.


mrc-ide/individual documentation built on Aug. 17, 2024, 2:10 p.m.