HASEonGPU.TimeStepState
- class HASEonGPU.TimeStepState(step, time, betaCells, betaVolume, phiAse, dndtAse, dndtPump, aseResult)
Bases:
objectSnapshot handed to
onStepcallbacks after a completed time step.The arrays are copies of the simulation outputs at
step/time.betaCellsandphiAseare point-by-level arrays with shape(numberOfPoints, numberOfLevels).betaVolumeis 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
Noneif 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.