IAP GITLAB

Skip to content
Snippets Groups Projects
Commit af624d11 authored by ralfulrich's avatar ralfulrich
Browse files

added comment

parent 713c8d24
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ namespace corsika { ...@@ -104,7 +104,7 @@ namespace corsika {
LengthType const gyroradius = (convert_HEP_to_SI<MassType::dimension_type>(p_perp) * LengthType const gyroradius = (convert_HEP_to_SI<MassType::dimension_type>(p_perp) *
constants::c / (abs(charge) * magnitudeB)); constants::c / (abs(charge) * magnitudeB));
double const maxRadians = 0.01; double const maxRadians = 0.01; // maximal allowed deflection
LengthType const steplimit = 2 * cos(maxRadians) * sin(maxRadians) * gyroradius; LengthType const steplimit = 2 * cos(maxRadians) * sin(maxRadians) * gyroradius;
TimeType const steplimit_time = steplimit / initialVelocity.getNorm(); TimeType const steplimit_time = steplimit / initialVelocity.getNorm();
CORSIKA_LOG_DEBUG("gyroradius {}, steplimit: {} = {}", gyroradius, steplimit, CORSIKA_LOG_DEBUG("gyroradius {}, steplimit: {} = {}", gyroradius, steplimit,
......
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