SimulationStatus#

class lumopt2.core.fdtd_session.SimulationStatus(*values)#

FDTD simulation status codes.

Attributes:
LAYOUT_MODEint

Simulation is in layout mode (status 0). This indicates the simulation did not run, possibly due to a setup error or license issue.

FULL_TIMEint

Simulation ran to full simulation time (status 1). Success.

AUTOSHUTOFFint

Simulation ran to autoshutoff (status 2). Success.

DIVERGEDint

Simulation diverged (status 3). The electromagnetic fields became unstable, often due to material dispersion or mesh issues.

Methods

SimulationStatus.from_bytes(/, bytes[, ...])

Return the integer represented by the given array of bytes.

Attributes