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
69786170
Commit
69786170
authored
6 years ago
by
Maximilian Reininghaus
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.ikp.kit.edu:AirShowerPhysics/corsika
parents
4fbecb2a
48e45468
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+7
-3
7 additions, 3 deletions
CMakeLists.txt
Framework/Cascade/Cascade.h
+0
-1
0 additions, 1 deletion
Framework/Cascade/Cascade.h
Processes/Sibyll/Decay.h
+6
-0
6 additions, 0 deletions
Processes/Sibyll/Decay.h
with
13 additions
and
4 deletions
CMakeLists.txt
+
7
−
3
View file @
69786170
...
...
@@ -34,17 +34,21 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
# Set the possible values of build type for cmake-gui
set_property
(
CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"Debug"
"Release"
"MinSizeRel"
"RelWithDebInfo"
)
endif
()
endif
(
NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES
)
# enable warnings and disallow non-standard language
set
(
CMAKE_CXX_FLAGS
"-Wall -pedantic -Wextra -Wno-ignored-qualifiers"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-O0 -g"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"-O3 -g"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"-O3 -g"
)
# -O2 would not trade speed for size, neither O2/3 use fast-math
# clang produces a lot of unecessary warnings without this:
add_compile_options
(
"$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>"
)
# check if we are on OSX:
if
(
APPLE
)
add_compile_definitions
(
CORSIKA_OSX
)
endif
(
APPLE
)
# unit testing coverage, does not work yet
#include (CodeCoverage)
##set(COVERAGE_LCOV_EXCLUDES 'Documentation/*')
...
...
This diff is collapsed.
Click to expand it.
Framework/Cascade/Cascade.h
+
0
−
1
View file @
69786170
...
...
@@ -48,7 +48,6 @@ namespace corsika::cascade {
while
(
!
fStack
.
IsEmpty
())
{
while
(
!
fStack
.
IsEmpty
())
{
auto
pNext
=
fStack
.
GetNextParticle
();
//std::cout << pNext
Step
(
pNext
);
}
// do cascade equations, which can put new particles on Stack,
...
...
This diff is collapsed.
Click to expand it.
Processes/Sibyll/Decay.h
+
6
−
0
View file @
69786170
...
...
@@ -169,7 +169,10 @@ namespace corsika::process {
using
corsika
::
geometry
::
Point
;
using
namespace
corsika
::
units
::
si
;
// TODO: this should be done in a central, common place. Not here..
#ifndef CORSIKA_OSX
feenableexcept
(
FE_INVALID
);
#endif
fCount
++
;
SibStack
ss
;
...
...
@@ -216,7 +219,10 @@ namespace corsika::process {
// empty sibyll stack
ss
.
Clear
();
// TODO: this should be done in a central, common place. Not here..
#ifndef CORSIKA_OSX
fedisableexcept
(
FE_INVALID
);
#endif
}
};
}
// namespace sibyll
...
...
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