conatus.expert.ode_problem

conatus.expert.ode_problem(variables, parameters, rhs, name='ODE')[source]

IR IVP of an ODE system dx_i/dt = f_i(x; p) (a “0-D” problem).

rhs(x, p) receives dicts name -> Field / Parameter and returns the list of right-hand sides (IR expressions). The domain is one RealFourier direction holding a single mode (the constant): every field is a number, products are exact (declared in explain()).

Parameters:
  • variables (Sequence[str])

  • parameters (Mapping[str, float])

  • rhs (Callable)

  • name (str)