gemseo.disciplines.ode.jactor module#

A discipline for solving ordinary differential equations (ODEs).

class Jactor(ode_discipline, discipline, state_names, time_name)[source]#

Bases: BaseFunctor

A function with time and state as arguments to differentiate RHS.

Parameters:
  • ode_discipline (ODEDiscipline) -- The ODE discipline providing the local data.

  • discipline (Discipline) -- The wrapped discipline defining the dynamic.

  • state_names (Iterable[str] | Mapping[str, str]) -- Either the names of the state variables, passed as (state_name, ...), or the names of the state variables bound to the associated discipline outputs, passed as {state_name: output_name, ...}.

  • time_name (str) -- The name of the time variables.