Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified fluka line length #26

Merged
merged 2 commits into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/convert/T001_geant4Box2Fluka.gdml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<volumeref ref="b1l"/>
<position name="bp_pos" x="0.000000000000000" y="37.500000000000000" z="0.000000000000000" unit="mm"/>
<rotation name="bp_rot" x="0.000000000000000" y="0.000000000000000" z="0.785398163397448" unit="rad"/>
<scale name="bp_sca" x="-1.000000000000000" y="1.000000000000000" z="1.000000000000000"/>
<scale name="bp_sca" x="1.000000000000000" y="1.000000000000000" z="1.000000000000000"/>
</physvol>
</volume>
</structure>
Expand Down
177 changes: 0 additions & 177 deletions data/convert/T001_geant4Box2Fluka.inp~

This file was deleted.

6 changes: 4 additions & 2 deletions data/convert/T001_geant4Box2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -20.0 20.0 -20.0 20.0 -20.0 20.0
* wl ws
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0 0.0 20.0 0.0 0.0 0.0 20.0
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0
0.0 20.0 0.0 0.0 0.0 20.0
* bp b1s
BOX B000201 -4.419417382415921 2.866116523516814 -5.0 3.535533905932739 -3.535533905932736 0.0 5.303300858899104 5.303300858899108 0.0 0.0 0.0 10.0
BOX B000201 -4.419417382415921 2.866116523516814 -5.0 3.535533905932739 -3.535533905932736 0.0
5.303300858899104 5.303300858899108 0.0 0.0 0.0 10.0
END
* bp
R0002 5 | +B000201
Expand Down
2 changes: 2 additions & 0 deletions data/convert/T002_geant4Tubs2Fluka.gdml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
<solidref ref="ws"/>
<physvol name="t_pv1">
<volumeref ref="tl"/>
<position name="t_pv1_pos" x="0.000000000000000" y="25.000000000000000" z="0.000000000000000" unit="mm"/>
<rotation name="t_pv1_rot" x="0.785398163397448" y="0.000000000000000" z="0.000000000000000" unit="rad"/>
</physvol>
</volume>
</structure>
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T002_geant4Tubs2Fluka.inp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ RPP BLKBODY -10.0 10.0 -10.0 10.0 -10.0 10.0
RPP B000001 -5.0 5.0 -5.0 5.0 -5.0 5.0
$start_transform T0002
* t_pv1 ts
RCC B000201 0.0 0.0 -2.5 0.0 0.0 5.0 1.0
RCC B000201 0.0 0.0 -2.5
0.0 0.0 5.0 1.0
$end_transform
END
* t_pv1
Expand Down
6 changes: 4 additions & 2 deletions data/convert/T002_geant4Tubs2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -10.0 10.0 -10.0 10.0 -10.0 10.0
* wl ws
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0 10.0
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0
0.0 10.0 0.0 0.0 0.0 10.0
* t_pv1 ts
RCC B000201 0.0 0.732233047033632 -1.7677669529663695 0.0 3.535533905932736 3.535533905932739 1.0
RCC B000201 0.0 0.732233047033632 -1.7677669529663695
0.0 3.535533905932736 3.535533905932739 1.0
END
* t_pv1
R0002 5 | +B000201
Expand Down
9 changes: 6 additions & 3 deletions data/convert/T002_geant4Tubs2Fluka_cuts_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -10.0 10.0 -10.0 10.0 -10.0 10.0
* wl ws
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0 10.0
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0
0.0 10.0 0.0 0.0 0.0 10.0
* t_pv1 ts
RCC B000201 0.0 0.732233047033632 -1.7677669529663695 0.0 3.535533905932736 3.535533905932739 1.0
RCC B000201 0.0 0.732233047033632 -1.7677669529663695
0.0 3.535533905932736 3.535533905932739 1.0
* t_pv1 ts
RCC B000204 0.0 0.732233047033632 -1.7677669529663695 0.0 3.535533905932736 3.535533905932739 0.25
RCC B000204 0.0 0.732233047033632 -1.7677669529663695
0.0 3.535533905932736 3.535533905932739 0.25
* t_pv1 ts
PLA B000205 0.0 0.7071067811865478 -0.7071067811865472 0.0 2.5 0.0
* t_pv1 ts
Expand Down
6 changes: 4 additions & 2 deletions data/convert/T003_geant4CutTubs2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -20.0 20.0 -20.0 20.0 -20.0 20.0
* wl ws
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0 0.0 20.0 0.0 0.0 0.0 20.0
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0
0.0 20.0 0.0 0.0 0.0 20.0
* t_pv1 ts
RCC B000201 0.0 -15.177669529663682 -17.677669529663696 0.0 35.35533905932736 35.35533905932739 1.0
RCC B000201 0.0 -15.177669529663682 -17.677669529663696
0.0 35.35533905932736 35.35533905932739 1.0
* t_pv1 ts
PLA B000202 0.0 0.7071067811865472 0.7071067811865478 0.0 0.732233047033632 -1.7677669529663695
* t_pv1 ts
Expand Down
9 changes: 6 additions & 3 deletions data/convert/T003_geant4CutTubs2Fluka_cuts_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -20.0 20.0 -20.0 20.0 -20.0 20.0
* wl ws
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0 0.0 20.0 0.0 0.0 0.0 20.0
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0
0.0 20.0 0.0 0.0 0.0 20.0
* t_pv1 ts
RCC B000201 0.0 -15.177669529663682 -17.677669529663696 0.0 35.35533905932736 35.35533905932739 1.0
RCC B000201 0.0 -15.177669529663682 -17.677669529663696
0.0 35.35533905932736 35.35533905932739 1.0
* t_pv1 ts
PLA B000202 1.0 1.414213562373095 5.551115123125783e-16 0.0 0.732233047033632 -1.7677669529663695
* t_pv1 ts
PLA B000203 -1.0 -5.551115123125783e-16 1.414213562373095 0.0 4.267766952966368 1.7677669529663695
* t_pv1 ts
RCC B000204 0.0 -15.177669529663682 -17.677669529663696 0.0 35.35533905932736 35.35533905932739 0.25
RCC B000204 0.0 -15.177669529663682 -17.677669529663696
0.0 35.35533905932736 35.35533905932739 0.25
* t_pv1 ts
PLA B000205 0.0 0.7071067811865478 -0.7071067811865472 0.0 2.5 0.0
* t_pv1 ts
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T004_geant4Cons2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -20.0 20.0 -20.0 20.0 -20.0 20.0
* wl ws
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0 0.0 20.0 0.0 0.0 0.0 20.0
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0
0.0 20.0 0.0 0.0 0.0 20.0
* c_pv1 cs
TRC B000201 0.0 -1.035533905932736 -3.535533905932739 0.0 7.071067811865472 7.071067811865478 2.0 1.0
END
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T004_geant4Cons2Fluka_cuts_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -20.0 20.0 -20.0 20.0 -20.0 20.0
* wl ws
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0 0.0 20.0 0.0 0.0 0.0 20.0
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0
0.0 20.0 0.0 0.0 0.0 20.0
* c_pv1 cs
TRC B000201 0.0 -1.035533905932736 -3.535533905932739 0.0 7.071067811865472 7.071067811865478 2.0 1.0
TRC B000202 0.0 -1.035533905932736 -3.535533905932739 0.0 7.071067811865472 7.071067811865478 0.6000000000000001 0.5
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T005_geant4Para2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -20.0 20.0 -20.0 20.0 -20.0 20.0
* wl ws
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0 0.0 20.0 0.0 0.0 0.0 20.0
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0
0.0 20.0 0.0 0.0 0.0 20.0
* pl ps
PLA B000200 0.0 0.7071067811865478 -0.7071067811865472 0.0 -0.1516504294495542 2.6516504294495524
* pl ps
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T006_geant4Trd2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -20.0 20.0 -20.0 20.0 -20.0 20.0
* wl ws
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0 0.0 20.0 0.0 0.0 0.0 20.0
BOX B000001 -10.0 -10.0 -10.0 20.0 0.0 0.0
0.0 20.0 0.0 0.0 0.0 20.0
* t_pv1 ts
PLA B000200 0.9486832980505139 -0.22360679774997888 -0.22360679774997905 -2.5 2.5 0.0
* t_pv1 ts
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T007_geant4Trap2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -10.0 10.0 -10.0 10.0 -10.0 10.0
* wl ws
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0 10.0
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0
0.0 10.0 0.0 0.0 0.0 10.0
* t_pv1 ts
PLA B000200 0.0 0.7893522173763267 -0.6139406135149202 0.0 2.279029130879204 0.22097086912079603
* t_pv1 ts
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T008_geant4Sphere2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -10.0 10.0 -10.0 10.0 -10.0 10.0
* wl ws
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0 10.0
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0
0.0 10.0 0.0 0.0 0.0 10.0
* s_pv1 ss
SPH B000201 0.0 2.0 0.0 1.0
END
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T008_geant4Sphere2Fluka_cuts_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -10.0 10.0 -10.0 10.0 -10.0 10.0
* wl ws
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0 10.0
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0
0.0 10.0 0.0 0.0 0.0 10.0
* s_pv1 ss
SPH B000201 0.0 2.0 0.0 1.0
* s_pv1 ss
Expand Down
3 changes: 2 additions & 1 deletion data/convert/T009_geant4Orb2Fluka_baked.inp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ GEOBEGIN , , , , , , , COMBNAME
0 0
RPP BLKBODY -10.0 10.0 -10.0 10.0 -10.0 10.0
* wl ws
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0 0.0 10.0 0.0 0.0 0.0 10.0
BOX B000001 -5.0 -5.0 -5.0 10.0 0.0 0.0
0.0 10.0 0.0 0.0 0.0 10.0
* o_pv1 os
SPH B000201 0.0 1.5 0.0 1.0
END
Expand Down
Loading
Loading