armi.bookkeeping.mainInterface module¶
This module performs some file manipulations, cleanups, state loads, etc.
It’s a bit of a catch-all interface, and it’s name is admittedly not very descriptive.
-
armi.bookkeeping.mainInterface.describeInterfaces(_cs)[source]¶ Function for exposing interface(s) to other code
-
class
armi.bookkeeping.mainInterface.MainInterface(r, cs)[source]¶ Bases:
armi.interfaces.InterfaceDo some basic manipulations, calls, Instantiates the databse.
Notes
Interacts early so that the database is accessible as soon as possible in the run. The database interfaces interacts near the end of the interface stack, but the main interface interacts first.
Construct an interface.
The
randcsarguments are required, but may beNone, where appropriate for the specificInterfaceimplementation.- Parameters
- Raises
RuntimeError – Interfaces derived from Interface must define their name
-
name= 'main'¶