Commit 33328324 authored by Ralf Ulrich's avatar Ralf Ulrich

more docu

parent e845cfd7
Pipeline #3615 passed with stages
in 17 minutes and 48 seconds
......@@ -56,6 +56,23 @@ namespace corsika {
* they are just classes. This allows us to handle both, rvalue as
* well as lvalue Processes in the ProcessSequence.
* The main functionality is in the interface methods
* getMaxStepLength which internally loops (static) over all
* ContinuousProcesses, identifies the one with the shortest
* getMaxStepLength and returns this shortest length together with
* an identifier of ths process. Since currently, only one process
* index is returned, in the case where two ContinuousProcesses
* have the same getMaxStepLength only the one occuring first in
* the sequence will ever be executed. Thus, avoid this setup, or
* change the ContinuousProcessIndex from a single identifier to a
* list of identifiers.
* The function selectDecay and selectInteraction both take a
* randomly sampled free path length to the next process (thus,
* either decay length or interaction length) and select one of the
* appropriate processes from the ProcessSequence with the correct
* probability.
* (The sequence, and the processes use the CRTP, curiously recurring template
* pattern).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment