IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antonio Augusto Alves Junior
corsika
Commits
ed4c8216
Commit
ed4c8216
authored
6 years ago
by
Ralf Ulrich
Browse files
Options
Downloads
Patches
Plain Diff
Remove casacade cc
parent
518ae25f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+17
-18
17 additions, 18 deletions
.gitlab-ci.yml
Framework/Cascade/Cascade.cc
+0
-43
0 additions, 43 deletions
Framework/Cascade/Cascade.cc
with
17 additions
and
61 deletions
.gitlab-ci.yml
+
17
−
18
View file @
ed4c8216
...
@@ -18,21 +18,20 @@ build:
...
@@ -18,21 +18,20 @@ build:
-
cmake --build .
-
cmake --build .
-
ctest -V
-
ctest -V
code_quality
:
# code_quality:
image
:
docker:stable
# image: docker:stable
variables
:
# variables:
DOCKER_DRIVER
:
overlay2
# DOCKER_DRIVER: overlay2
allow_failure
:
true
# allow_failure: true
services
:
# services:
-
docker:stable-dind
# - docker:stable-dind
script
:
# script:
-
export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
# - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
-
docker run
# - docker run
--env SOURCE_CODE="$PWD"
# --env SOURCE_CODE="$PWD"
--volume "$PWD":/code
# --volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
# --volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
# "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts
:
# artifacts:
reports
:
# reports:
codequality
:
gl-code-quality-report.json
# codequality: gl-code-quality-report.json
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Framework/Cascade/Cascade.cc
deleted
100644 → 0
+
0
−
43
View file @
518ae25f
/**
* (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
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment