Class RK8

Inheritance Relationships

Base Type

Class Documentation

class RK8 : public lupnt::Integrator

8th-order Runge-Kutta fixed-step integrator (10-stage, Cooper-Verner-type coefficients).

Higher-accuracy alternative to RK4 for NumericalOrbitDynamics and similar models when larger step sizes or tighter accuracy are needed at the cost of more force-model evaluations per step.

Public Functions

virtual State Step(const ODE &f, Real t, const State &x, Real dt)

One step of 8th-order Runge-Kutta integration: evaluates f at 10 stages spanning [t, t+dt] and combines the resulting derivatives with fixed weights.

One step of 8th order Runge-Kutta Integration.

https://www.mathworks.com/matlabcentral/fileexchange/55431-runge-kutta-8th-order-integration

Parameters:
  • f – Right-hand side dx/dt = f(t, x)

  • t – Current time [s]

  • x – Current state

  • dt – Step size [s]

  • f – The ODE function to propagate

  • tTime

  • x – The state to propagate

  • dt – Timestep

Returns:

State after stepping by dt