IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pranav Sampathkumar
corsika
Commits
cd4f0249
Commit
cd4f0249
authored
5 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
added comments
parent
9583e2b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/ProcessSequence/ProcessSequence.h
+11
-0
11 additions, 0 deletions
Framework/ProcessSequence/ProcessSequence.h
with
11 additions
and
0 deletions
Framework/ProcessSequence/ProcessSequence.h
+
11
−
0
View file @
cd4f0249
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment