-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, opinf.models.ContinuousModel.predict() wraps scipy.integrate.solve_ivp(). It would be nice to be able to pass a custom time-stepper, probably as the method attribute. This is also important for certain types of models, like Hamiltonian systems, which require symplectic integrators.
- Write an
IntegratorTemplatesomewhere (newopinf.integratesubmodule?) - Update
predict()so thatmethodcan be an integrator object. - Write a few common integrators as examples (forward/backward Euler, IMEX, etc.).
Need to think about how the integrator should interact with the list of operators or the model's rhs() method.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request