sailfish.driver
Library functions and command-line access to the simulation driver.
Functions
|
Append to the driver state timeseries for post-processing. |
|
|
Convenience method to enable logging to standard output. |
|
|
Return a key, val pair where the value string describes a recurrence rule. |
|
Return a key, val pair from a "key=val" string. |
|
Load the simulation state from a pickle file. |
Initialize user extensions: setups and solvers outside the main codebase. |
|
|
General-purpose command line interface. |
|
|
|
Run a simulation with no side-effects, and return the final state. |
|
Main generator for running simulations. |
|
Like dict.update, except key=value pairs in old_dict are only used to add / overwrite values in new_dict if they are None or missing. |
|
Same as update_dict_where_none, except operates on (immutable) named tuple instances and returns a new named tuple. |
|
Write the simulation state to a file, as a pickle. |
Classes
|
Contains data used by the driver. |
|
Contains the stateful variables in use by the simulate function. |
Exceptions
An invalid runtime configuration |
|
An invalid extension was specified |