From 5df416c061a6231005f227283a2f247e918f4800 Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Sat, 8 Dec 2018 14:16:28 +0100 Subject: [PATCH] removed unused file --- Framework/Cascade/Cascade.cc | 43 ------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 Framework/Cascade/Cascade.cc diff --git a/Framework/Cascade/Cascade.cc b/Framework/Cascade/Cascade.cc deleted file mode 100644 index 584478526..000000000 --- a/Framework/Cascade/Cascade.cc +++ /dev/null @@ -1,43 +0,0 @@ - -/** - * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu - * - * See file AUTHORS for a list of contributors. - * - * This software is distributed under the terms of the GNU General Public - * Licence version 3 (GPL Version 3). See file LICENSE for a full version of - * the license. - */ - -#include <corsika/cascade/Cascade.h> - -using namespace corsika::cascade; - -template <typename ProcessList, typename Stack> //, typename Trajectory> -void Cascade::Init() { - fStack.Init(); - fProcesseList.Init(); -} - -template <typename ProcessList, typename Stack> //, typename Trajectory> -void Cascade::Run() { - if (!fStack.IsEmpty()) { - if (!fStack.IsEmpty()) { - Particle& p = fStack.GetNextParticle(); - Step(p); - } - // do cascade equations, which can put new particles on Stack, - // thus, the double loop - // DoCascadeEquations(); // - } -} - -template <typename ProcessList, typename Stack> //, typename Trajectory> -void Cascade::Step(Particle& particle) { - double nextStep = fProcesseList.MinStepLength(particle); - corsika::geometry::LineTrajectory trajectory = - fProcesseList.Transport(particle, nextStep); - sequence.DoContinuous(particle, trajectory); - // whats going on here? Everywhere else DoDiscrete is passed a Stack reference as well - sequence.DoDiscrete(particle); -} -- GitLab