diff --git a/Framework/ProcessSequence/ProcessSequence.h b/Framework/ProcessSequence/ProcessSequence.h index 8116966d188200ccaca38e292c7e5dd7c0e47fab..333a4f47d9678a0b7ee2d2bd61437240b71ec8fb 100644 --- a/Framework/ProcessSequence/ProcessSequence.h +++ b/Framework/ProcessSequence/ProcessSequence.h @@ -136,6 +136,14 @@ namespace corsika::process { return ret; } + /** + The processes of type StackProcess do have an internal counter, + so they can be exectuted only each N steps. Often these are + "maintenacne processes" that do not need to run after each + single step of the simulations. In the CheckStep function it is + tested if either A or B are StackProcess and if they are due + for execution. + */ bool CheckStep() { bool ret = false; if constexpr (std::is_base_of_v<StackProcess<T1type>, T1type> || t1ProcSeq) { @@ -147,6 +155,9 @@ namespace corsika::process { return ret; } + /** + Execute the StackProcess-es in the ProcessSequence + */ template <typename TStack> EProcessReturn DoStack(TStack& vS) { EProcessReturn ret = EProcessReturn::eOk;