diff --git a/Framework/ProcessSequence/ProcessSequence.h b/Framework/ProcessSequence/ProcessSequence.h index 3bd759c04a97e55360c87473cc4457159bd967fa..af55e7efd0f633122efe9d008d6d5829f4677117 100644 --- a/Framework/ProcessSequence/ProcessSequence.h +++ b/Framework/ProcessSequence/ProcessSequence.h @@ -119,6 +119,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<StackProcess<T1type>, T1type>::value || @@ -132,6 +140,9 @@ namespace corsika::process { return ret; } + /** + Execute the StackProcess-es in the ProcessSequence + */ template <typename TStack> EProcessReturn DoStack(TStack& vS) { EProcessReturn ret = EProcessReturn::eOk;