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
3b9a4562
Commit
3b9a4562
authored
1 year ago
by
Alan Coleman
Committed by
Alan Coleman
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
downgrade shower axis warns to debug
parent
d748500c
No related branches found
No related tags found
1 merge request
!603
Resolve "Downgrade warning for particles beyond shower axis"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
corsika/detail/media/ShowerAxis.inl
+2
-2
2 additions, 2 deletions
corsika/detail/media/ShowerAxis.inl
with
2 additions
and
2 deletions
corsika/detail/media/ShowerAxis.inl
+
2
−
2
View file @
3b9a4562
...
@@ -65,7 +65,7 @@ namespace corsika {
...
@@ -65,7 +65,7 @@ namespace corsika {
unsigned
int
const
upper
=
lower
+
1
;
unsigned
int
const
upper
=
lower
+
1
;
if
(
fractionalBin
<
0
)
{
if
(
fractionalBin
<
0
)
{
CORSIKA_LOG_
WARN
(
"cannot extrapolate to points behind point of injection l={} m"
,
CORSIKA_LOG_
DEBUG
(
"cannot extrapolate to points behind point of injection l={} m"
,
l
/
1
_m
);
l
/
1
_m
);
if
(
throw_
)
{
if
(
throw_
)
{
throw
std
::
runtime_error
(
throw
std
::
runtime_error
(
...
@@ -75,7 +75,7 @@ namespace corsika {
...
@@ -75,7 +75,7 @@ namespace corsika {
}
}
if
(
upper
>=
X_
.
size
())
{
if
(
upper
>=
X_
.
size
())
{
CORSIKA_LOG_
WARN
(
CORSIKA_LOG_
DEBUG
(
"shower axis too short, cannot extrapolate (l / max_length_ = {} )"
,
"shower axis too short, cannot extrapolate (l / max_length_ = {} )"
,
l
/
max_length_
);
l
/
max_length_
);
if
(
throw_
)
{
if
(
throw_
)
{
...
...
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