check_simulation_success#

FdtdSession.check_simulation_success(project_path: str | None = None) None#

Check if the simulation completed successfully.

Raises SimulationError if the simulation failed or diverged.

Parameters:
project_pathOptional[str], optional

Path to the .fsp file, used to locate the log file (default: None).

Raises:
SimulationError

If the simulation did not complete successfully.