IAP GITLAB

Skip to content
Snippets Groups Projects
Commit e1ceb1ce authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Alan Coleman
Browse files

fix CONEX random number injection

parent e323bc66
No related branches found
No related tags found
1 merge request!559Resolve "make friendly example scripts for the release"
...@@ -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.
......
Subproject commit 344c875bed534590eb86aa5e12b0382a9868fc64 Subproject commit 20589c2dac8d39ef07d0f1b46eaa3696c82f82a3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment