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
6bdecf0b
Commit
6bdecf0b
authored
4 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
replace function by subroutine
parent
806b67ff
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!234
WIP: Initial example of python as script language from C++
,
!232
Conex EM
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+0
-4
0 additions, 4 deletions
.gitlab-ci.yml
Data
+1
-1
1 addition, 1 deletion
Data
Processes/QGSJetII/qgsjet-II-04.f
+7
-2
7 additions, 2 deletions
Processes/QGSJetII/qgsjet-II-04.f
Processes/QGSJetII/testQGSJetII.cc
+3
-3
3 additions, 3 deletions
Processes/QGSJetII/testQGSJetII.cc
with
11 additions
and
10 deletions
.gitlab-ci.yml
+
0
−
4
View file @
6bdecf0b
...
...
@@ -343,10 +343,6 @@ example-clang-8:
-
cd build
-
cmake --build . -- -j4 VERBOSE=1
-
set -o pipefail
-
echo "aha"
-
ldd corsika_data/readLib/testData
-
corsika_data/readLib/testData
-
echo "ahaddd"
-
ctest -j4 -VV | gzip -v -9 > test.log.gz
-
make -j4 run_examples | gzip -v -9 > examples.log.gz
rules
:
...
...
This diff is collapsed.
Click to expand it.
Data
@
417c94a2
Compare
dc1eb37e
...
417c94a2
Subproject commit
dc1eb37e1a309993cb0c696109c7a29201375f95
Subproject commit
417c94a28fde8824e0de3ead918b55781293e6b8
This diff is collapsed.
Click to expand it.
Processes/QGSJetII/qgsjet-II-04.f
+
7
−
2
View file @
6bdecf0b
...
...
@@ -415,7 +415,10 @@ c reading cross sections from the file
if(ifIIdat.ne.1)then
inquire(file=DATDIR(1:INDEX(DATDIR,' ')-1)//'qgsdat-II-04.bz2'
* ,exist=lcalc)
if (lcalc.and.CorDataCanDeCompress().ne.0) then
lcanRead=0
call CorDataCanDeCompress(lcanRead)
write (*,*) 'lcanRead=', lcanRead
if (lcalc.and.lcanRead.ne.0) then
luseCompress=1
else
inquire(file=DATDIR(1:INDEX(DATDIR,' ')-1)//'qgsdat-II-04'
...
...
@@ -1970,7 +1973,9 @@ c nuclear cross sections
if(ifIIncs.ne.2)then
inquire(file=DATDIR(1:INDEX(DATDIR,' ')-1)//'sectnu-II-04.bz2'
* ,exist=lcalc)
if (lcalc.and.CorDataCanDeCompress().ne.0) then
lcanRead = 0
call CorDataCanDeCompress(lcanRead)
if (lcalc.and.lcanRead.ne.0) then
luseCompress=1
else
inquire(file=DATDIR(1:INDEX(DATDIR,' ')-1)//'sectnu-II-04'
...
...
This diff is collapsed.
Click to expand it.
Processes/QGSJetII/testQGSJetII.cc
+
3
−
3
View file @
6bdecf0b
...
...
@@ -145,9 +145,9 @@ TEST_CASE("QgsjetIIInterface", "[processes]") {
[[
maybe_unused
]]
const
process
::
EProcessReturn
ret
=
model
.
DoInteraction
(
projectile
);
[[
maybe_unused
]]
const
GrammageType
length
=
model
.
GetInteractionLength
(
particle
);
CHECK
(
length
/
(
1
_g
/
square
(
1
_cm
))
==
Approx
(
26568.64
).
margin
(
0.1
));
CHECK
(
view
.
GetSize
()
==
8
);
CHECK
(
sumCharge
(
view
)
==
2
);
CHECK
(
length
/
(
1
_g
/
square
(
1
_cm
))
==
Approx
(
93.47
).
margin
(
0.1
));
CHECK
(
view
.
GetSize
()
==
14
);
CHECK
(
sumCharge
(
view
)
==
1
);
auto
const
secMomSum
=
sumMomentum
(
view
,
projectileMomentum
.
GetCoordinateSystem
());
CHECK
((
secMomSum
-
projectileMomentum
).
norm
()
/
projectileMomentum
.
norm
()
==
Approx
(
0
).
margin
(
1e-2
));
...
...
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