From cc5279f00ec8c8df673ff3bbee1f15fe845c074b Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Sat, 5 Jun 2021 22:51:16 +0200 Subject: [PATCH] fix CFMakeLists --- corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl | 3 --- examples/CMakeLists.txt | 2 -- 2 files changed, 5 deletions(-) diff --git a/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl b/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl index a07e74963..1f07f7957 100644 --- a/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl +++ b/corsika/detail/modules/tracking/TrackingLeapFrogCurved.inl @@ -361,9 +361,6 @@ namespace corsika { CORSIKA_LOG_TRACE("maxStepLength={} s", maxStepLength / 1_s); // with final length correction, |direction| becomes >1 during step - // double const correction = - // 1. + fabs(0.5 * direction_x_B.getNorm() * maxStepLength * charge / - // p_norm); return Intersections(maxStepLength / absVelocity); // unit: s diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 9cb9b3fd3..e3d056e22 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -60,6 +60,4 @@ CORSIKA_REGISTER_EXAMPLE (hybrid_MC RUN_OPTIONS 4 2 10000.) add_executable (corsika corsika.cpp) target_link_libraries (corsika CORSIKA8::CORSIKA8) -add_executable (tracking tracking.cpp) -target_link_libraries (tracking CORSIKA8::CORSIKA8) -- GitLab