diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4015bdd5ecb8ba8ab091bdfaecb60c1e385a8f07..9d33bf5e4f9fa0a6785c4fa50b73f1033aaaf80e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,21 +18,20 @@ build: - cmake --build . - ctest -V -code_quality: - image: docker:stable - variables: - DOCKER_DRIVER: overlay2 - allow_failure: true - services: - - docker:stable-dind - script: - - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - - docker run - --env SOURCE_CODE="$PWD" - --volume "$PWD":/code - --volume /var/run/docker.sock:/var/run/docker.sock - "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code - artifacts: - reports: - codequality: gl-code-quality-report.json - \ No newline at end of file +# code_quality: +# image: docker:stable +# variables: +# DOCKER_DRIVER: overlay2 +# allow_failure: true +# services: +# - docker:stable-dind +# script: +# - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') +# - docker run +# --env SOURCE_CODE="$PWD" +# --volume "$PWD":/code +# --volume /var/run/docker.sock:/var/run/docker.sock +# "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code +# artifacts: +# reports: +# codequality: gl-code-quality-report.json diff --git a/Framework/Cascade/Cascade.cc b/Framework/Cascade/Cascade.cc deleted file mode 100644 index 5844785262187001c913927b3fd7bbc7e87b5d44..0000000000000000000000000000000000000000 --- 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); -}