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
Commits
0ff8475b
Commit
0ff8475b
authored
6 years ago
by
Maximilian Reininghaus
Committed by
Maximilian Reininghaus
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fixed
parent
263021db
No related branches found
No related tags found
1 merge request
!99
sliding planar atmosphere
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Environment/SlidingPlanarExponential.h
+2
-4
2 additions, 4 deletions
Environment/SlidingPlanarExponential.h
with
2 additions
and
4 deletions
Environment/SlidingPlanarExponential.h
+
2
−
4
View file @
0ff8475b
...
@@ -54,16 +54,14 @@ namespace corsika::environment {
...
@@ -54,16 +54,14 @@ namespace corsika::environment {
corsika
::
units
::
si
::
GrammageType
IntegratedGrammage
(
corsika
::
units
::
si
::
GrammageType
IntegratedGrammage
(
corsika
::
geometry
::
Trajectory
<
corsika
::
geometry
::
Line
>
const
&
line
,
corsika
::
geometry
::
Trajectory
<
corsika
::
geometry
::
Line
>
const
&
line
,
corsika
::
units
::
si
::
LengthType
pTo
)
const
override
{
corsika
::
units
::
si
::
LengthType
pTo
)
const
override
{
feenableexcept
(
FE_INVALID
);
auto
const
axis
=
(
line
.
GetR0
()
-
Base
::
fP0
).
normalized
();
auto
const
axis
=
(
Base
::
fP0
-
line
.
GetR0
()).
normalized
();
return
Base
::
IntegratedGrammage
(
line
,
pTo
,
axis
);
return
Base
::
IntegratedGrammage
(
line
,
pTo
,
axis
);
}
}
corsika
::
units
::
si
::
LengthType
ArclengthFromGrammage
(
corsika
::
units
::
si
::
LengthType
ArclengthFromGrammage
(
corsika
::
geometry
::
Trajectory
<
corsika
::
geometry
::
Line
>
const
&
line
,
corsika
::
geometry
::
Trajectory
<
corsika
::
geometry
::
Line
>
const
&
line
,
corsika
::
units
::
si
::
GrammageType
pGrammage
)
const
override
{
corsika
::
units
::
si
::
GrammageType
pGrammage
)
const
override
{
feenableexcept
(
FE_INVALID
);
auto
const
axis
=
(
line
.
GetR0
()
-
Base
::
fP0
).
normalized
();
auto
const
axis
=
(
Base
::
fP0
-
line
.
GetR0
()).
normalized
();
return
Base
::
ArclengthFromGrammage
(
line
,
pGrammage
,
axis
);
return
Base
::
ArclengthFromGrammage
(
line
,
pGrammage
,
axis
);
}
}
};
};
...
...
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