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
Commits
e1ceb1ce
Commit
e1ceb1ce
authored
1 year ago
by
Maximilian Reininghaus
Committed by
Alan Coleman
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix CONEX random number injection
parent
e323bc66
No related branches found
Branches containing commit
No related tags found
1 merge request
!559
Resolve "make friendly example scripts for the release"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
corsika/detail/modules/conex/CONEXhybrid.inl
+5
-3
5 additions, 3 deletions
corsika/detail/modules/conex/CONEXhybrid.inl
modules/conex/cxroot
+1
-1
1 addition, 1 deletion
modules/conex/cxroot
with
6 additions
and
4 deletions
corsika/detail/modules/conex/CONEXhybrid.inl
+
5
−
3
View file @
e1ceb1ce
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
#include
<corsika/framework/core/Logging.hpp>
#include
<corsika/framework/core/Logging.hpp>
#include
<corsika/media/CORSIKA7Atmospheres.hpp>
#include
<corsika/media/CORSIKA7Atmospheres.hpp>
#include
<corsika/modules/conex/CONEXhybrid.hpp>
#include
<corsika/modules/conex/CONEXhybrid.hpp>
#include
<corsika/modules/conex/CONEXrandom.hpp>
#include
<corsika/modules/Random.hpp>
#include
<corsika/modules/conex/CONEX_f.hpp>
#include
<corsika/modules/conex/CONEX_f.hpp>
#include
<corsika/framework/random/RNGManager.hpp>
#include
<corsika/framework/random/RNGManager.hpp>
#include
<corsika/framework/core/PhysicalConstants.hpp>
#include
<corsika/framework/core/PhysicalConstants.hpp>
...
@@ -106,9 +108,9 @@ namespace corsika {
...
@@ -106,9 +108,9 @@ namespace corsika {
// this is the CONEX default but actually unused there
// this is the CONEX default but actually unused there
::
conex
::
cxair_
.
airi
=
{
82.0e-09
,
95.0e-09
,
188.e-09
};
::
conex
::
cxair_
.
airi
=
{
82.0e-09
,
95.0e-09
,
188.e-09
};
int
randomSeeds
[
3
]
=
{
1234
,
0
,
int
randomSeeds
[
3
]
=
{
1234
,
0
,
0
};
// SEEDS ARE NOT USED. All random numbers are
0
};
// SEEDS ARE NOT USED. All random numbers are obtained from
// obtained from the CORSIKA 8 stream "conex"
// the CORSIKA 8
stream
"conex"
and "epos"!
corsika
::
connect_random_
stream
(
"conex"
,
::
conex
::
set_rng_function
);
int
heModel
=
eSibyll23
;
int
heModel
=
eSibyll23
;
int
nShower
=
1
;
// large to avoid final stats.
int
nShower
=
1
;
// large to avoid final stats.
...
...
This diff is collapsed.
Click to expand it.
cxroot
@
20589c2d
Compare
344c875b
...
20589c2d
Subproject commit
344c875bed534590eb86aa5e12b0382a9868fc64
Subproject commit
20589c2dac8d39ef07d0f1b46eaa3696c82f82a3
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