IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Air Shower Physics
corsika
Merge requests
!24
Remove casacade cc
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove casacade cc
remove_casacade_cc
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
Ralf Ulrich
requested to merge
remove_casacade_cc
into
master
6 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
Fix issue
#76 (closed)
0
0
Merge request reports
Viewing commit
5df416c0
Prev
Next
Show latest version
1 file
+
0
−
43
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5df416c0
removed unused file
· 5df416c0
ralfulrich
authored
6 years ago
Framework/Cascade/Cascade.cc deleted
100644 → 0
+
0
−
43
Options
/**
* (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
);
}
Loading