Closed LivelyLiz closed 1 year ago
This is curious! From what I can see (a) you are doing everything correctly and (b) there is no obvious issue in the integrator causing this problem. I may have an idea, though. I will investigate this...
This is fixed in the master branch for most Runge-Kutta methods (not yet for more special integrators). This was a rather nasty thing. I guess we don't have tests for time-dependent problems...
Please update to master
]add GeometricIntegrators #master
and try again.
:+1: Looks like it's working now. Thanks for the quick response
Maybe I misunderstand something crucial, but I tried to integrate a time varying ODE and the result is just wrong. When I looked at the value
t
that I get, it seems to be always the timestep taken, not the total time of the current integration step.Example:
prints: