You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short, the API for all equations of motion will become something like f(du, u, t, p) or f(du, u, p, t) (for out of place methods remove du).
This will also remove all kind of Functor creation of systems since the parameters p are always passed implicitly to the equations of motion. The same syntax will be used for the Jacobian. Using ForwardDiff with this syntax will be very easy nontheless.
The systems now will have a field that also has the parameters. The ODEProblem for continuous systems will have this field, and for discrete they will each have a dedicated field params or something like that.
This will break everything by the way.
The text was updated successfully, but these errors were encountered:
The methods and equations of motion of our package will change greatly, following the discussion of SciML/DifferentialEquations.jl#235
In short, the API for all equations of motion will become something like
f(du, u, t, p)
orf(du, u, p, t)
(for out of place methods removedu
).This will also remove all kind of Functor creation of systems since the parameters
p
are always passed implicitly to the equations of motion. The same syntax will be used for the Jacobian. Using ForwardDiff with this syntax will be very easy nontheless.The systems now will have a field that also has the parameters. The
ODEProblem
for continuous systems will have this field, and for discrete they will each have a dedicated fieldparams
or something like that.This will break everything by the way.
The text was updated successfully, but these errors were encountered: