This is an old revision of the document!
The System class and its instance sys
The System class keeps track of the different instances of objects that are created during for setting up a simulation. It requires the logger
to be defined (see Logger) and expects an MPI communicator as argument. Most Auryn objects expect a global variable sys
of type System to be present in the namespace of the simulation program, which is why it has do be defined as simulator init code that precedes the declaration of any other simulator object.
It contains important code such as the run function that is used to trigger a simulation, which will when called iterate the Auryn duty cycle for the specified period of simulation time (simtime
).