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
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
Pranav Sampathkumar
corsika
Commits
ef399c12
Commit
ef399c12
authored
3 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
Fixed missing include
parent
c5fe5e58
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
corsika/detail/modules/epos/Interaction.inl
+1
-2
1 addition, 2 deletions
corsika/detail/modules/epos/Interaction.inl
corsika/modules/Random.hpp
+8
-0
8 additions, 0 deletions
corsika/modules/Random.hpp
examples/corsika.cpp
+1
-3
1 addition, 3 deletions
examples/corsika.cpp
with
10 additions
and
5 deletions
corsika/detail/modules/epos/Interaction.inl
+
1
−
2
View file @
ef399c12
...
...
@@ -564,8 +564,7 @@ namespace corsika::epos {
" id= {}"
" p= {}"
,
pid
,
momentum
.
getComponents
()
/
1
_GeV
);
auto
pnew
=
view
.
addSecondary
(
std
::
make_tuple
(
pid
,
energy
,
momentum
,
pOrig
,
tOrig
));
auto
pnew
=
view
.
addSecondary
(
std
::
make_tuple
(
pid
,
momentum
,
pOrig
,
tOrig
));
Plab_final
+=
pnew
.
getMomentum
();
Elab_final
+=
pnew
.
getEnergy
();
}
...
...
This diff is collapsed.
Click to expand it.
corsika/modules/Random.hpp
+
8
−
0
View file @
ef399c12
/*
* (c) Copyright 2021 CORSIKA Project, corsika-project@lists.kit.edu
*
* 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.
*/
#pragma once
/*
...
...
This diff is collapsed.
Click to expand it.
examples/corsika.cpp
+
1
−
3
View file @
ef399c12
...
...
@@ -72,9 +72,7 @@
executable. If you include the header below multiple times and
link this togehter, it will fail.
*/
#include
<corsika/modules/sibyll/Random.hpp>
#include
<corsika/modules/urqmd/Random.hpp>
#include
<corsika/modules/qgsjetII/Random.hpp>
#include
<corsika/modules/Random.hpp>
using
namespace
corsika
;
using
namespace
std
;
...
...
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