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
8656c3b5
Commit
8656c3b5
authored
5 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
indendation
parent
800858e8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Framework/Cascade/Cascade.h
+5
-5
5 additions, 5 deletions
Framework/Cascade/Cascade.h
Processes/Sibyll/Decay.h
+1
-1
1 addition, 1 deletion
Processes/Sibyll/Decay.h
Processes/Sibyll/testSibyll.cc
+1
-2
1 addition, 2 deletions
Processes/Sibyll/testSibyll.cc
with
7 additions
and
8 deletions
Framework/Cascade/Cascade.h
+
5
−
5
View file @
8656c3b5
...
...
@@ -263,10 +263,10 @@ namespace corsika::cascade {
InverseTimeType
inv_decay_count
=
0
/
second
;
fProcessSequence
.
SelectDecay
(
vParticle
,
projectile
,
sample_process
,
inv_decay_count
);
// make sure particle actually did decay if it should have done so
if
(
secondaries
.
GetSize
()
==
1
&&
projectile
.
GetPID
()
==
secondaries
.
GetNextParticle
().
GetPID
())
throw
std
::
runtime_error
(
"Cascade::Step: Particle decays into itself!"
);
// make sure particle actually did decay if it should have done so
if
(
secondaries
.
GetSize
()
==
1
&&
projectile
.
GetPID
()
==
secondaries
.
GetNextParticle
().
GetPID
())
throw
std
::
runtime_error
(
"Cascade::Step: Particle decays into itself!"
);
}
fProcessSequence
.
DoSecondaries
(
secondaries
);
...
...
@@ -277,7 +277,7 @@ namespace corsika::cascade {
// be "protected" and not accessible to physics
}
else
{
// step-length limitation within volume
std
::
cout
<<
"step-length limitation"
<<
std
::
endl
;
fProcessSequence
.
DoSecondaries
(
secondaries
);
}
...
...
This diff is collapsed.
Click to expand it.
Processes/Sibyll/Decay.h
+
1
−
1
View file @
8656c3b5
...
...
@@ -57,7 +57,7 @@ namespace corsika::process {
};
}
// namespace sibyll
}
// namespace corsika::process
#endif
This diff is collapsed.
Click to expand it.
Processes/Sibyll/testSibyll.cc
+
1
−
2
View file @
8656c3b5
...
...
@@ -163,14 +163,13 @@ TEST_CASE("SibyllInterface", "[processes]") {
auto
projectile
=
view
.
GetProjectile
();
Decay
model
;
model
.
Init
();
/*[[maybe_unused]] const process::EProcessReturn ret =*/
model
.
DoDecay
(
projectile
);
// run checks
[[
maybe_unused
]]
const
TimeType
time
=
model
.
GetLifetime
(
particle
);
}
SECTION
(
"DecayConfiguration"
)
{
Decay
model
;
...
...
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