Skip to content

Dynstack

Dominik Baack edited this page Apr 30, 2017 · 2 revisions

What is 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.

For which things can Dynstack be used?

How is Dynstack designed?

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.

How do i use DynStack?

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].

Clone this wiki locally