multimodemodel.Workflow

multimodemodel.Workflow#

class multimodemodel.Workflow(domain, solver)[source]#

Run model on a single process.

Arguments:#

domain: DomainBase

A domain object that contains the initial state. Using a domain object with initialized history will allow for a warm restart of a model simulation.

solver: SolverBase

The solver defining the problem to solve, the time stepping scheme and the time step.

__init__(domain, solver)[source]#

Create a simple workflow on a single Python process.

Methods

__init__(domain, solver)

Create a simple workflow on a single Python process.

run(steps[, diag])

Run model forward for a number of steps.

run_until(date)

Run until specified date.

Attributes

domain

solver