Each Auryn simulation is a fully qualified C++ program. However, to qualify as an Auryn simulation it must initialize instances of two specific Auryn classes. These classes must be made accessible through the following three global pointers declared in auryn_global.h
:
System * sys; Logger * logger;
sys
provides the basic scaffolding which holds together and manages an Auryn simulation. NeuronGroups and Connection instances register to the System class, the System class takes care of syncing spikes between nodes in parallel simulations, and simulations are run by calling sys→run( )
. logger
provides a basic logging interface. In most cases the initialization of sys
and logger
can be copied and pasted.