diff --git a/corsika/detail/modules/radio/CoREAS.inl b/corsika/detail/modules/radio/CoREAS.inl index cf0793c8469c9fe0946aa95f61b24a694952637b..6aa8cb0cdb572e11ee74d90fe907871485d88f00 100644 --- a/corsika/detail/modules/radio/CoREAS.inl +++ b/corsika/detail/modules/radio/CoREAS.inl @@ -82,7 +82,7 @@ namespace corsika { // because of numerical limitations here you might need std::fabs(preDoppler) // in the if statement - same with post & mid if (preDoppler_ == 0) { - CORSIKA_LOG_INFO("preDoppler factor numerically zero in COREAS"); + CORSIKA_LOG_WARN("preDoppler factor numerically zero in COREAS"); // redo calculation with higher precision auto const& beta_components_{beta_.getComponents(cs_)}; auto const& emit_components_{paths1[i].emit_.getComponents(cs_)}; @@ -106,7 +106,7 @@ namespace corsika { // check if postDoppler has become zero in case of refractive index of unity // because of numerical limitations if (postDoppler_ == 0) { - CORSIKA_LOG_INFO("postDoppler factor numerically zero in CoREAS"); + CORSIKA_LOG_WARN("postDoppler factor numerically zero in CoREAS"); // redo calculation with higher precision auto const& beta_components_{beta_.getComponents(cs_)}; auto const& emit_components_{paths2[i].emit_.getComponents(cs_)}; @@ -143,7 +143,7 @@ namespace corsika { ((std::fabs(preDoppler_) < approxThreshold_) || (std::fabs(postDoppler_) < approxThreshold_))) { - CORSIKA_LOG_INFO("used ZHS-like approximation in CoREAS"); + // CORSIKA_LOG_INFO("used ZHS-like approximation in CoREAS"); zhscounter_ += 1; // CORSIKA_LOG_INFO("Used ZHS approx: {} out of {} times", zhscounter_, trackcounter_); @@ -172,7 +172,7 @@ namespace corsika { // check if midDoppler has become zero because of numerical limitations if (midDoppler_ == 0) { - CORSIKA_LOG_INFO("midDoppler factor numerically zero in COREAS"); + CORSIKA_LOG_WARN("midDoppler factor numerically zero in COREAS"); // redo calculation with higher precision auto const& beta_components_{beta_.getComponents(cs_)}; auto const& emit_components_{path.emit_.getComponents(cs_)}; @@ -317,9 +317,6 @@ namespace corsika { if ((preDoppler_ < 1.e-9) || (postDoppler_ < 1.e-9)) { - // CORSIKA_LOG_ERROR("Doppler factors are less than 1.e-9 - // for this track"); - TimeType const gridResolution_{1 / antenna.getSampleRate()}; TimeType deltaT_{endPointReceiveTime_ - startPointReceiveTime_}; diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d9a9726dd6ea2c83b052b1c360d150da512993f5..7e1df4b56ae2ab93962396f77d941166c619c43b 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -72,16 +72,16 @@ add_executable (environment environment.cpp) target_link_libraries (environment CORSIKA8::CORSIKA8) add_executable (synchrotron_test_manual_tracking synchrotron_test_manual_tracking.cpp) target_link_libraries (synchrotron_test_manual_tracking CORSIKA8::CORSIKA8) -CORSIKA_REGISTER_EXAMPLE (synchrotron_test_manual_tracking RUN_OPTIONS 4 2 10000.) +CORSIKA_REGISTER_EXAMPLE (synchrotron_test_manual_tracking) add_executable (synchrotron_test_C8tracking synchrotron_test_C8tracking.cpp) target_link_libraries (synchrotron_test_C8tracking CORSIKA8::CORSIKA8) -CORSIKA_REGISTER_EXAMPLE (synchrotron_test_C8tracking RUN_OPTIONS 4 2 10000.) +CORSIKA_REGISTER_EXAMPLE (synchrotron_test_C8tracking) add_executable (clover_leaf clover_leaf.cpp) target_link_libraries (clover_leaf CORSIKA8::CORSIKA8) -CORSIKA_REGISTER_EXAMPLE (clover_leaf RUN_OPTIONS 4 2 10000.) +CORSIKA_REGISTER_EXAMPLE (clover_leaf) add_executable (radio_em_shower radio_em_shower.cpp) target_link_libraries (radio_em_shower CORSIKA8::CORSIKA8) -CORSIKA_REGISTER_EXAMPLE (radio_em_shower RUN_OPTIONS 10 -2008702799) +CORSIKA_REGISTER_EXAMPLE (radio_em_shower RUN_OPTIONS 10 1121673489) diff --git a/examples/radio_em_shower.cpp b/examples/radio_em_shower.cpp index 8e82e5fa7d6e49f3bbd139efcb364d3e44ba1fd5..b897c47868ef806a19384e6f8627946ba2522c4c 100644 --- a/examples/radio_em_shower.cpp +++ b/examples/radio_em_shower.cpp @@ -66,9 +66,9 @@ NOTE, WARNING, ATTENTION The .../Random.hpppp implement the hooks of external modules to the C8 random - number generator. It has to occur excatly ONCE per linked + number generator. It has to occur exactly ONCE per linked executable. If you include the header below multiple times and - link this togehter, it will fail. + link this together, it will fail. */ #include <corsika/modules/Random.hpp>