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
4cfcbb12
Commit
4cfcbb12
authored
6 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
started CanInteract feature of sibyll
parent
25691fd8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Processes/Sibyll/ParticleConversion.h
+7
-3
7 additions, 3 deletions
Processes/Sibyll/ParticleConversion.h
with
7 additions
and
3 deletions
Processes/Sibyll/ParticleConversion.h
+
7
−
3
View file @
4cfcbb12
...
...
@@ -25,10 +25,14 @@ namespace corsika::process::sibyll {
#include
<corsika/process/sibyll/Generated.inc>
bool
Handled
BySibyll
(
corsika
::
particles
::
Code
pCode
)
{
return
handleable
[
static_cast
<
corsika
::
particles
::
CodeIntType
>
(
pCode
)];
bool
Known
BySibyll
(
corsika
::
particles
::
Code
pCode
)
{
return
isKnown
[
static_cast
<
corsika
::
particles
::
CodeIntType
>
(
pCode
)];
}
bool
CanInteract
(
corsika
::
particles
::
Code
pCode
)
{
return
canInteract
[
static_cast
<
corsika
::
particles
::
CodeIntType
>
(
pCode
)];
}
Code
constexpr
ConvertToSibyll
(
corsika
::
particles
::
Code
pCode
)
{
//~ assert(handledBySibyll(pCode));
return
static_cast
<
Code
>
(
corsika2sibyll
[
static_cast
<
corsika
::
particles
::
CodeIntType
>
(
pCode
)]);
...
...
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