IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
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
Model registry
Operate
Environments
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
Air Shower Physics
corsika
Compare revisions
1bfd18302658dde80cd6a090787a506b0dea6d7c to 5189e66d64b66720f4e59745e3f2e2f83c9b41a1
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
AirShowerPhysics/corsika
Select target project
No results found
5189e66d64b66720f4e59745e3f2e2f83c9b41a1
Select Git revision
Swap
Target
AirShowerPhysics/corsika
Select target project
AirShowerPhysics/corsika
rulrich/corsika
AAAlvesJr/corsika
Andre/corsika
arrabito/corsika
Nikos/corsika
olheiser73/corsika
AirShowerPhysics/papers/corsika
pranav/corsika
9 results
1bfd18302658dde80cd6a090787a506b0dea6d7c
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
Fix for "noise" in radio module. Time in C8 gets updated correctly now.
· bd024209
Nikos Karastathis
authored
3 years ago
bd024209
Only time update should be after .doContinuous()
· f24b9ea2
Nikos Karastathis
authored
3 years ago
f24b9ea2
Merge branch 'noise_fix_Cascade' into 'master'
· 5189e66d
Remy Prechelt
authored
3 years ago
Bug in Cascade.inl See merge request
!397
5189e66d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
corsika/detail/framework/core/Cascade.inl
+6
-6
6 additions, 6 deletions
corsika/detail/framework/core/Cascade.inl
with
6 additions
and
6 deletions
corsika/detail/framework/core/Cascade.inl
View file @
5189e66d
...
...
@@ -126,7 +126,7 @@ namespace corsika {
// inform ContinuousProcesses (if applicable) that it is responsible for step-limit
// this would become simpler if we follow the idea of Max to enumerate ALL types of
// processes. Then non-cont
u
nuous are included and no further logic is needed to
// processes. Then non-cont
i
nuous are included and no further logic is needed to
// distinguish between continuous and non-continuous limit.
ContinuousProcessIndex
limitingId
;
bool
const
isContinuous
=
continuous_max_dist
<
min_non_continuous
;
...
...
@@ -151,7 +151,6 @@ namespace corsika {
// assumption: tracking does not change absolute momentum (continuous physics can and
// will):
vParticle
.
setMomentum
(
step
.
getDirection
(
1
)
*
vParticle
.
getMomentum
().
getNorm
());
vParticle
.
setTime
(
vParticle
.
getTime
()
+
step
.
getDuration
());
// apply all continuous processes on particle + track
if
(
sequence_
.
doContinuous
(
vParticle
,
step
,
limitingId
)
==
...
...
@@ -167,6 +166,7 @@ namespace corsika {
}
return
;
}
vParticle
.
setTime
(
vParticle
.
getTime
()
+
step
.
getDuration
());
if
(
isContinuous
)
{
return
;
// there is nothing further, step is finished
}
...
...
@@ -232,11 +232,11 @@ namespace corsika {
/*
Create SecondaryView object on Stack. The data container
remains untouched and identical, and 'projectil' is identical
remains untouched and identical, and 'projectil
e
' is identical
to 'vParticle' above this line. However,
projectil.AddSecondaries populate the SecondaryView, which can
projectil
e
.AddSecondaries populate the SecondaryView, which can
then be used afterwards for further processing. Thus: it is
important to use projectle/view (and not vParticle) for Interaction,
important to use project
i
le/view (and not vParticle) for Interaction,
and Decay!
*/
...
...
@@ -303,7 +303,7 @@ namespace corsika {
if
(
actual_inv_length
*
0.99
>
initial_inv_int_length
)
{
CORSIKA_LOG_WARN
(
"Interaction length decreased during step! This leads to un-physical step "
"length. delta_in
n
verse_interaction_length={}"
,
"length. delta_inverse_interaction_length={}"
,
1
/
initial_inv_int_length
-
1
/
actual_inv_length
);
}
#endif
...
...
This diff is collapsed.
Click to expand it.