I am using boost::odeint and so far I was using the runge_kutta4 stepper. Now I would like to switch to a leapfrog method, e.g. my iteration step should look like:
f(t+dt) = f(t-dt) - p * f(t)
So I need a multistep method, but I am a bit lost with the documentation and would like to get some help.