HASEonGPU.TimeIntegrationSolver

class HASEonGPU.TimeIntegrationSolver

Bases: object

Base protocol for custom beta time-integration solvers.

Implement step(rhs, betaCells, time, timeStep). rhs is a callable that accepts (betaCells, time) and returns a TimeDerivative. Higher order solvers may call rhs several times for one public simulation step.

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.