sailfish.driver.write_checkpoint

sailfish.driver.write_checkpoint(number, outdir, state)[source]

Write the simulation state to a file, as a pickle.