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
!9
Resolve "Implement simple "homogenous" atmosphere model."
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Implement simple "homogenous" atmosphere model."
41-implement-simple-homogenous-atmosphere-model
into
master
Overview
3
Commits
14
Pipelines
0
Changes
7
Merged
Maximilian Reininghaus
requested to merge
41-implement-simple-homogenous-atmosphere-model
into
master
6 years ago
Overview
3
Commits
14
Pipelines
0
Changes
7
Expand
Closes
#41 (closed)
Edited
6 years ago
by
Maximilian Reininghaus
0
0
Merge request reports
Viewing commit
a34de546
Prev
Next
Show latest version
7 files
+
145
−
68
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
a34de546
environment tree
· a34de546
Maximilian Reininghaus
authored
6 years ago
Documentation/Examples/geometry_example.cc
+
2
−
2
Options
@@ -39,10 +39,10 @@ int main() {
std
::
cout
<<
"p2-p1 norm^2: "
<<
norm
<<
std
::
endl
;
Sphere
s
(
p1
,
10
_m
);
// define a sphere around a point with a radius
std
::
cout
<<
"p1 inside s: "
<<
s
.
isInside
(
p2
)
<<
std
::
endl
;
std
::
cout
<<
"p1 inside s: "
<<
s
.
Contains
(
p2
)
<<
std
::
endl
;
Sphere
s2
(
p1
,
3
_um
);
// another sphere
std
::
cout
<<
"p1 inside s2: "
<<
s2
.
isInside
(
p2
)
<<
std
::
endl
;
std
::
cout
<<
"p1 inside s2: "
<<
s2
.
Contains
(
p2
)
<<
std
::
endl
;
// let's try parallel projections:
auto
const
v1
=
Vector
<
length_d
>
(
root
,
{
1
_m
,
1
_m
,
0
_m
});
Loading