HASEonGPU.Midpoint

class HASEonGPU.Midpoint

Bases: TimeIntegrationSolver

Second-order midpoint beta update using a half-step RHS evaluation.

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.