HASEonGPU.Heun

class HASEonGPU.Heun

Bases: TimeIntegrationSolver

Second-order predictor-corrector beta update using two 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.