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
e8be8b52
Commit
e8be8b52
authored
4 years ago
by
Nikos Karastathis
Browse files
Options
Downloads
Patches
Plain Diff
fixed ZHS-like approximation in CoREAS
parent
648e6e53
No related branches found
No related tags found
1 merge request
!329
Radio interface
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
corsika/modules/radio/CoREAS.hpp
+8
-0
8 additions, 0 deletions
corsika/modules/radio/CoREAS.hpp
with
8 additions
and
0 deletions
corsika/modules/radio/CoREAS.hpp
+
8
−
0
View file @
e8be8b52
...
...
@@ -221,6 +221,10 @@ namespace corsika {
// perform ZHS-like calculation close to Cherenkov angle
if
(
std
::
fabs
(
preDoppler_
)
<=
approxThreshold_
||
std
::
fabs
(
postDoppler_
)
<=
approxThreshold_
)
{
// clear the existing paths for this particle and track
paths1
.
clear
();
paths2
.
clear
();
// get global simulation time for the middle point of that track. (This is my best guess for now)
auto
midTime_
{
particle
.
getTime
()
-
(
track
.
getDuration
()
/
2
)};
...
...
@@ -334,6 +338,10 @@ namespace corsika {
}
// End of looping over paths3
std
::
cout
<<
"RECEIVE using ZHS-like approximation"
<<
std
::
endl
;
antenna
.
receive
(
startPointReceiveTime_
,
ReceiveVectorStart_
,
EV1_
);
antenna
.
receive
(
endPointReceiveTime_
,
ReceiveVectorEnd_
,
EV2_
);
}
// end of ZHS-like approximation
std
::
cout
<<
"RIGHT BEFORE RECEIVE INCIDENT :"
<<
std
::
endl
;
...
...
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