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
f990a7a2
Commit
f990a7a2
authored
3 years ago
by
ralfulrich
Committed by
Ralf Ulrich
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
further fix in ObservationPlane
parent
29ddd1eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
corsika/detail/modules/ObservationPlane.inl
+4
-4
4 additions, 4 deletions
corsika/detail/modules/ObservationPlane.inl
with
4 additions
and
4 deletions
corsika/detail/modules/ObservationPlane.inl
+
4
−
4
View file @
f990a7a2
...
...
@@ -78,10 +78,10 @@ namespace corsika {
return
std
::
numeric_limits
<
double
>::
infinity
()
*
1
_m
;
}
double
const
fractionOfIntersection
=
timeOfIntersection
/
trajectory
.
getDuration
();
auto
const
pointOfIntersection
=
trajectory
.
getPosition
(
fractionOfIntersection
);
auto
dist
=
(
trajectory
.
getPosition
(
0
)
-
point
OfIntersection
)
.
getNorm
();
CORSIKA_LOG_TRACE
(
"ObservationPlane: getMaxStepLength l={} m"
,
dist
/
1
_m
);
return
dist
;
CORSIKA_LOG_TRACE
(
"ObservationPlane: getMaxStepLength dist={} m, pos={}"
,
trajectory
.
getLength
(
fraction
OfIntersection
)
/
1
_m
,
trajectory
.
getPosition
(
fractionOfIntersection
)
);
return
trajectory
.
getLength
(
fractionOfIntersection
)
;
}
template
<
typename
TTracking
,
typename
TOutput
>
...
...
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