| [1350] | 1 | #
|
|---|
| 2 | # GEANT4 SBT Script to test G4TessellatedSolid
|
|---|
| 3 | # I.Hrivnacova, IPN Orsay 28/01/2008
|
|---|
| 4 |
|
|---|
| 5 | #
|
|---|
| 6 | test/maxPoints 1000
|
|---|
| 7 | #
|
|---|
| 8 | # --- tessellatedSolid.a1.log
|
|---|
| 9 | # Extruded solid with triangular polygon
|
|---|
| 10 | #
|
|---|
| 11 | /solid/G4TessellatedSolid 2 (-0.3,-0.3,-0.3,0.3,-0.3,0.3) (0.0,0.3,-0.3,0.0,0.3,0.3) (0.3,-0.3,-0.3,-0.3,-0.3,0.3) 3 (0.0,0.3,-0.3,0.3,-0.3,-0.3,-0.3,-0.3,-0.3) (-0.3,-0.3,-0.3,0.0,0.3,-0.3,0.3,-0.3,-0.3) (-0.3,-0.3,0.3,0.0,0.3,0.3,0.3,-0.3,0.3) (0.0,0.3,0.3,0.3,-0.3,0.3,-0.3,-0.3,0.3)
|
|---|
| 12 | /test/gridSizes 0.1 0.1 0.1 m
|
|---|
| 13 | /test/errorFileName log/tessellatedSolid.a1.log
|
|---|
| 14 | /test/run
|
|---|
| 15 | /voxel/errorFileName log/tessellatedSolidv.a1.log
|
|---|
| 16 | /voxel/run
|
|---|
| 17 | /test/gridSizes 0.2 0.2 0.2 m
|
|---|
| 18 | /test/errorFileName log/tessellatedSolid.a2.log
|
|---|
| 19 | /test/run
|
|---|
| 20 | #
|
|---|
| 21 |
|
|---|
| 22 | # --- tessellatedSolid.b1.log
|
|---|
| 23 | # Box defined as Extruded solid interpreted as Tessellated solid
|
|---|
| 24 | #
|
|---|
| 25 | /solid/G4TessellatedSolid2 4 (-0.3,-0.3,0.3,0.3) (-0.3,0.3,0.3,-0.3) 2 (-0.3,0.3) (0.0,0.0) (0.0,0.0) (1.0,1.0)
|
|---|
| 26 | /test/gridSizes 0.1 0.1 0.1 m
|
|---|
| 27 | /test/errorFileName log/tessellatedSolid.b1.log
|
|---|
| 28 | /test/run
|
|---|
| 29 | /voxel/errorFileName log/tessellatedSolidv.b1.log
|
|---|
| 30 | /voxel/run
|
|---|
| 31 | /test/gridSizes 0.2 0.2 0.2 m
|
|---|
| 32 | /test/errorFileName log/tessellatedSolid.b2.log
|
|---|
| 33 | /test/run
|
|---|
| 34 | #
|
|---|
| 35 | # --- tessellatedSolid.c1.log
|
|---|
| 36 | # Extruded solid with 4 z-sections interpreted as Tessellated solid
|
|---|
| 37 | #
|
|---|
| 38 | /solid/G4TessellatedSolid2 8 (-0.3,-0.3,0.3,0.3,0.15,0.15,-0.15,-0.15) (-0.3,0.3,0.3,-0.3,-0.3,0.15,0.15,-0.3) 4 (-0.4,0.1,0.15,0.4) (-0.2,0.0,0.0,0.2) (0.1,0.0,0.0,0.2) (1.5,0.5,0.7,0.9)
|
|---|
| 39 | /test/gridSizes 0.1 0.1 0.1 m
|
|---|
| 40 | /test/errorFileName log/tessellatedSolid.c1.log
|
|---|
| 41 | /test/run
|
|---|
| 42 | /voxel/errorFileName log/tessellatedSolidv.c1.log
|
|---|
| 43 | /voxel/run
|
|---|
| 44 | /test/gridSizes 0.2 0.2 0.2 m
|
|---|
| 45 | /test/errorFileName log/tessellatedSolid.c2.log
|
|---|
| 46 | /test/run
|
|---|
| 47 | #
|
|---|
| 48 | # --- tessellatedSolid.d1.log
|
|---|
| 49 | # Another extruded solid, where polygon decomposition was failing,
|
|---|
| 50 | # interpreted as Tessellated solid
|
|---|
| 51 | # in Geant4 9.1
|
|---|
| 52 | #
|
|---|
| 53 | /solid/G4TessellatedSolid2 8 (-0.2,-0.2,0.1,0.1,0.2,0.2,-0.1,-0.1) (0.1,0.25,0.25,-0.1,-0.1,-0.25,-0.25,0.1) 2 (-0.2,0.2) (0.0,0.0) (0.0,0.0) (1.0,1.0)
|
|---|
| 54 | /test/gridSizes 0.1 0.1 0.1 m
|
|---|
| 55 | /test/errorFileName log/tessellatedSolid.d1.log
|
|---|
| 56 | /test/run
|
|---|
| 57 | /voxel/errorFileName log/tessellatedSolidv.d1.log
|
|---|
| 58 | /voxel/run
|
|---|
| 59 | /test/gridSizes 0.2 0.2 0.2 m
|
|---|
| 60 | /test/errorFileName log/tessellatedSolid.d2.log
|
|---|
| 61 | /test/run
|
|---|
| 62 | #
|
|---|
| 63 | exit
|
|---|