armi.operators.snapshots module¶
Snapshot Operator.
- class armi.operators.snapshots.OperatorSnapshots(cs)[source]¶
Bases:
armi.operators.operatorMPI.OperatorMPI
This operator just loops over the requested snapshots and computes at them.
These may add CR worth curves, rx coefficients, transient runs etc at these snapshots. This operator can be run as a restart, adding new physics to a previous run.
Constructor for operator.
- Parameters
cs (CaseSettings object) – Global settings that define the run.
- Raises
OSError – If unable to create the FAST_PATH directory.
- createInterfaces()[source]¶
Dynamically discover all available interfaces and call their factories, potentially adding them to the stack.
An operator contains an ordered list of interfaces. These communicate between the core ARMI structure and auxiliary computational modules and/or external codes. At specified interaction points in a run, the list of interfaces is executed.
Each interface optionally defines interaction “hooks” for each of the interaction points. The normal interaction points are BOL, BOC, every node, EOC, and EOL. If an interface defines an interactBOL method, that will run at BOL, and so on.
The majority of ARMI capabilities lie within interfaces, and this architecture provides much of the flexibility of ARMI.
See also
addInterface
Adds a particular interface to the interface stack.
armi.interfaces.STACK_ORDER
A system to determine the required order of interfaces.
armi.interfaces.getActiveInterfaceInfo
Collects the interface classes from relevant packages.