SimulationStatus#
- class lumopt2.core.fdtd_session.SimulationStatus(*values)#
FDTD simulation status codes.
- Attributes:
- LAYOUT_MODE
int Simulation is in layout mode (status 0). This indicates the simulation did not run, possibly due to a setup error or license issue.
- FULL_TIME
int Simulation ran to full simulation time (status 1). Success.
- AUTOSHUTOFF
int Simulation ran to autoshutoff (status 2). Success.
- DIVERGED
int Simulation diverged (status 3). The electromagnetic fields became unstable, often due to material dispersion or mesh issues.
- LAYOUT_MODE
Methods
SimulationStatus.from_bytes(/, bytes[, ...])Return the integer represented by the given array of bytes.
Attributes