HASEonGPU.RungeKutta4

class HASEonGPU.RungeKutta4

Bases: TimeIntegrationSolver

Classical fourth-order Runge-Kutta beta update using four RHS evaluations.

step(rhs, betaCells, time, timeStep)

Return a TimeIntegrationResult for one physical time step.

time and timeStep are in seconds. betaCells has the same shape as GainMedium.get("betaCells").expectedShape.