HASEonGPU.TimeStepState

class HASEonGPU.TimeStepState(step, time, betaCells, betaVolume, phiAse, dndtAse, dndtPump, aseResult)

Bases: object

Snapshot handed to onStep callbacks after a completed time step.

The arrays are copies of the simulation outputs at step/time. betaCells and phiAse are point-by-level arrays with shape (numberOfPoints, numberOfLevels). betaVolume is prism-centered with shape (numberOfTriangles, numberOfLevels - 1).

Parameters:
  • step (int)

  • time (float)

  • betaCells (ndarray)

  • betaVolume (ndarray)

  • phiAse (ndarray | None)

  • dndtAse (ndarray)

  • dndtPump (ndarray)

  • aseResult (object | None)

step: int

Completed one-based step index.

time: float

Physical simulation time after the step, in seconds.

betaCells: ndarray

Excited-state fraction at mesh points and z-levels.

betaVolume: ndarray

Excited-state fraction interpolated to wedge-prism centers.

phiAse: ndarray | None

ASE flux at mesh points and z-levels, or None if unavailable.

dndtAse: ndarray

ASE depletion contribution to d beta / dt.

dndtPump: ndarray

Pump contribution to d beta / dt.

aseResult: object | None

Raw lower-level ASE result object for advanced inspection.