kicad2ems.core.stop

Stopping a run from outside it (the GUI's Stop): a STOP file in the run's output
folder.

    arm(out)      # at the start of a run: an old STOP removed, its path in
                  # KICAD2EMS_STOP (child processes too)
    disarm()      # at its end: the STOP file and the variable gone
    request(out)  # from another process: ask the run in `out` to stop
    check()       # in a solver, between steps: raises Stopped once a stop was
                  # requested

Each solver ends at its next check: mom25d after the frequency it is solving,
openEMS at once (its run watcher writes ABORT, and no further excitation
starts). Solvers not started yet are skipped.
exception kicad2ems.core.stop.Stopped[source]
A stop was requested (request); the solver gives no result.
kicad2ems.core.stop.arm(out)[source]
At the start of a run: an old STOP in `out` removed, its path in
KICAD2EMS_STOP (child processes inherit it).
kicad2ems.core.stop.check()[source]
Between a solver's steps: raises Stopped once a stop was requested.
kicad2ems.core.stop.disarm()[source]
At the end of a run: the STOP file and the variable gone.
kicad2ems.core.stop.request(out)[source]
From another process: asks the run writing to `out` to stop (its STOP
file).
kicad2ems.core.stop.requested()[source]
True once a stop was requested for this run.