eon.communicator_inprocess

In-process communicator: jobs run as pyeonclient.Matter (no eonclient binary).

Geometry crosses the job dict as a Structure (numpy working set) or a readcon.ConFrame. Matter is the potential-bearing client object. Result saddle and product values are ConFrames. This path does not read or write .con text.

Module Contents

Classes

LocalInProcess

Run client work in-process via Matter (nanobind), not a subprocess.

Data

API

eon.communicator_inprocess.logger

‘getLogger(…)’

class eon.communicator_inprocess.LocalInProcess(scratchpath, bundle_size=1, config=None)[source]

Bases: eon.communicator.Communicator

Run client work in-process via Matter (nanobind), not a subprocess.

Initialization

get_queue_size()[source]
get_number_in_progress()[source]
cancel_state(state)[source]

Ask the running batch to stop. Idle calls return 0.

The Python token stops the next dispatch. The C++ token is what Matter polls inside a compiled relax, NEB, or saddle search.

submit_jobs(data, invariants)[source]

Run each job dict in-process.

Geometry is a Structure, a readcon.ConFrame or .con text on one of structure, conframe, reactant, pos, or pos.con, or the same objects on the invariant dict. The result carries product and, for a saddle search, saddle as ConFrames, and the same geometry as min.con and saddle.con for the drivers that read .con text. Nothing is written to disk.

get_results(resultspath=None, keep_result=None)[source]

Return finished job dicts. Geometry is ConFrame, not a file.