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
0e43ec02
Commit
0e43ec02
authored
3 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
added corsika_data
parent
907d4f95
No related branches found
No related tags found
1 merge request
!404
adding Geomagnetic Models
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
corsika/framework/utility/CorsikaData.hpp
+1
-1
1 addition, 1 deletion
corsika/framework/utility/CorsikaData.hpp
examples/corsika.cpp
+1
-1
1 addition, 1 deletion
examples/corsika.cpp
examples/vertical_EAS.cpp
+1
-1
1 addition, 1 deletion
examples/vertical_EAS.cpp
with
3 additions
and
3 deletions
corsika/framework/utility/CorsikaData.hpp
+
1
−
1
View file @
0e43ec02
...
@@ -15,7 +15,7 @@ namespace corsika {
...
@@ -15,7 +15,7 @@ namespace corsika {
* @file CorsikaData.hpp
* @file CorsikaData.hpp
* @ingroup Utilities
* @ingroup Utilities
* @{
* @{
* returns the full path of the file \p filename within the CORSIKA_DATA directory
* returns the full path of the file \p filename within the CORSIKA_DATA directory
.
*/
*/
boost
::
filesystem
::
path
corsika_data
(
boost
::
filesystem
::
path
const
&
filename
);
boost
::
filesystem
::
path
corsika_data
(
boost
::
filesystem
::
path
const
&
filename
);
...
...
This diff is collapsed.
Click to expand it.
examples/corsika.cpp
+
1
−
1
View file @
0e43ec02
...
@@ -200,7 +200,7 @@ int main(int argc, char** argv) {
...
@@ -200,7 +200,7 @@ int main(int argc, char** argv) {
EnvType
env
;
EnvType
env
;
CoordinateSystemPtr
const
&
rootCS
=
env
.
getCoordinateSystem
();
CoordinateSystemPtr
const
&
rootCS
=
env
.
getCoordinateSystem
();
Point
const
center
{
rootCS
,
0
_m
,
0
_m
,
0
_m
};
Point
const
center
{
rootCS
,
0
_m
,
0
_m
,
0
_m
};
GeomagneticModel
wmm
(
center
,
"GeoMag/WMM.COF"
);
GeomagneticModel
wmm
(
center
,
corsika_data
(
"GeoMag/WMM.COF"
)
)
;
// build a Linsley US Standard atmosphere into `env`
// build a Linsley US Standard atmosphere into `env`
create_5layer_atmosphere
<
setup
::
EnvironmentInterface
,
MyExtraEnv
>
(
create_5layer_atmosphere
<
setup
::
EnvironmentInterface
,
MyExtraEnv
>
(
...
...
This diff is collapsed.
Click to expand it.
examples/vertical_EAS.cpp
+
1
−
1
View file @
0e43ec02
...
@@ -126,7 +126,7 @@ int main(int argc, char** argv) {
...
@@ -126,7 +126,7 @@ int main(int argc, char** argv) {
EnvType
env
;
EnvType
env
;
CoordinateSystemPtr
const
&
rootCS
=
env
.
getCoordinateSystem
();
CoordinateSystemPtr
const
&
rootCS
=
env
.
getCoordinateSystem
();
Point
const
center
{
rootCS
,
0
_m
,
0
_m
,
0
_m
};
Point
const
center
{
rootCS
,
0
_m
,
0
_m
,
0
_m
};
GeomagneticModel
wmm
(
center
,
"GeoMag/WMM.COF"
);
GeomagneticModel
wmm
(
center
,
corsika_data
(
"GeoMag/WMM.COF"
)
)
;
// build a Linsley US Standard atmosphere into `env`
// build a Linsley US Standard atmosphere into `env`
create_5layer_atmosphere
<
setup
::
EnvironmentInterface
,
MyExtraEnv
>
(
create_5layer_atmosphere
<
setup
::
EnvironmentInterface
,
MyExtraEnv
>
(
...
...
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