multimodemodel.Solver

multimodemodel.Solver#

class multimodemodel.Solver(rhs, ts_schema, step=1)[source]#

Implement Solver class from API for use with any provided function.

__init__(rhs, ts_schema, step=1)#

Initialize solver object providing functions to compute next iterations.

Parameters:
  • rhs ((State, Parameters]) -> State) – Function that takes State and Parameters and returns State. It is used to compute next iteration.

  • ts_schema (TimeSteppingFunction) – Integration schema like euler_forward or adams_bashforth3

  • step (float) – Length of time step in the integration process [s].

Methods

__init__(rhs, ts_schema[, step])

Initialize solver object providing functions to compute next iterations.

get_border_width()

Retuns fixed border width.

integrate(domain)

Integrate set of PDEs on domain.

integrate_border(domain, border, ...)

Integrate set of PDEs on a border of a domian.

rhs(state, parameter)

Evaluate right-hand-side function.

Attributes

step

ts_schema