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