-
Notifications
You must be signed in to change notification settings - Fork 2
Dynstack
The DynStack module is a customizable replacement storage for internal particle stack used in CORSIKA. The simulation works strictly sequential and calculates a single particle from its creation to the next interaction. In most cases multiple particles are created and than stores on the stack.
Dynstack is designed as an multifunctional API that implements all necessary features for a fast customization of the particle storage. The user can focus his work on the modification of a single file, all other parts are handled automatically.
The core part consists of the storage representation as decorator design pattern.
There are two different ways to use the DynStack module. The first eaier way is to use the preimplemented methods delivered with the default Cor++ Version and selectable with coconut. This includes a reproduction of the default corsika stack and a version that outputs, all particles written to the stack, into a file. More features are unlocked if the (custom stack)[] is selected. It is possible to build a complete user defined stack with different (predefined modules)[https://github.com/tudo-astroparticlephysics/Cor-PlusPlus/wiki/Introduction-and-overview-about-the-core-part-of-the-DynStack-API].
Dominik Baack (2017)