<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Dear Gate users,<br></div><div><br data-mce-bogus="1"></div><div>I have a problem defining at the same time a  repeater (of some sphere) and my source.mac file.<br data-mce-bogus="1"></div><div>Independently, each one works fine : </div><ul><li>I can generate as much spheres as described through my repeater as long as no source is defined ;<br data-mce-bogus="1"></li><li>My source.mac file works without the repeater.<br data-mce-bogus="1"></li></ul><div>I would like a working source and a working repeater together...</div><div><br data-mce-bogus="1"></div><div>I'm working with a sphere (called cell below) which I want to be filled with a certain nomber of other spheres (clusters).<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><blockquote><div>/gate/world/daughters/name                      cell<br>/gate/world/daughters/insert                      sphere<br>/gate/cell/geometry/setRmin                        0.0 mm<br>/gate/cell/geometry/setRmax                       0.5 mm<br>/gate/cell/placement/setTranslation             0 0 0 mm<br>/gate/cell/setMaterial                                    Water<br><br>/gate/cell/daughters/name                           cluster<br>/gate/cell/daughters/insert                           sphere<br>/gate/cluster/geometry/setRmin                   0 mm<br>/gate/cluster/geometry/setRmax                  0.1 mm<br>/gate/cluster/placement/setTranslation        0 0 0 mm<br>/gate/cluster/setMaterial                                    Water<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></blockquote><div>For this purpose I tried two ways : </div><div><br data-mce-bogus="1"></div><div>1) I used a generic repeater</div><div><br data-mce-bogus="1"></div><blockquote><div>Time     s<br>Rotation deg<br>Translation mm<br><br>0 0 0 0 0 -0.146833 -0.279524 -0.0599287<br>0 0 0 0 0 0.163004 0.0753492 0.111638<br>0 0 0 0 0 0.31443 -0.0819429 0.0332641</div></blockquote><div><br data-mce-bogus="1"></div><div>2) I used a linear repeater.</div><div><br data-mce-bogus="1"></div><div>Both methods lead to the same problem : with more than 3 volumes repeated, Gate shuts down :<br></div><blockquote><div> *** Break *** segmentation violation<br><br data-mce-bogus="1"></div></blockquote><div>If I lower the nomber of primaries (to 1 or 2) I'm able to repeate 4 volumes instead of 3...<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>My source is very simple :<br data-mce-bogus="1"></div><blockquote></blockquote><div><br data-mce-bogus="1"></div><blockquote><div>/gate/source/addSource mybeam gps<br>/gate/source/mybeam/gps/particle gamma<br>/gate/source/mybeam/gps/pos/type Beam<br>/gate/source/mybeam/gps/ene/mono 170 keV<br>/gate/source/mybeam/gps/ene/type Gauss<br>/gate/source/mybeam/gps/ene/sigma 1.0 keV<br>/gate/source/mybeam/gps/direction 0 0 -1<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>/gate/source/mybeam/gps/position 0 0 4 mm<br>/gate/source/mybeam/gps/type Volume<br>/gate/source/mybeam/gps/shape Cylinder<br>/gate/source/mybeam/gps/radius 0 0 mm<br>/gate/source/mybeam/gps/radius 1 mm<br>/gate/source/mybeam/gps/halfz 0.01 cm<br>/gate/source/mybeam/gps/ang/type      beam2d<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></blockquote><div>with the following physic :<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><blockquote><div>/gate/physics/addPhysicsList QGSP_BERT_EMV</div><div><br>/gate/random/setEngineName                MersenneTwister <br><br>/gate/physics/addAtomDeexcitation<br><br>###############<br>### GAMMAS ###</div><div>###############<br><br><br>/gate/physics/addProcess                                            PhotoElectric gamma<br>/gate/physics/processes/PhotoElectric/setModel        LivermoreModel<br>/gate/physics/processes/PhotoElectric/setAugerElectron     true<br>/gate/physics/processes/PhotoElectric/setDeltaRayCut     10 eV<br>/gate/physics/processes/PhotoElectric/setXRayCut         10 eV<br>/gate/physics/processes/PhotoElectric/setStepFunction     e- 0.2 0.1 nm<br><br>/gate/physics/addProcess                                          Compton gamma<br>/gate/physics/processes/Compton/setModel             LivermoreModel<br>/gate/physics/processes/Compton/setStepFunction         e- 0.2 0.1 nm<br><br>/gate/physics/addProcess                    RayleighScattering<br>/gate/physics/processes/RayleighScattering/setModel         LivermoreModel<br><br># transformation of a photon into an electron-positron pair<br><br>/gate/physics/addProcess                     GammaConversion<br>/gate/physics/processes/GammaConversion/setModel         LivermoreModel<br><br>####################<br>### ELECTRONS #####<br>####################<br><br>/gate/physics/addProcess                     ElectronIonisation<br>/gate/physics/processes/ElectronIonisation/setModel         LivermoreModel e-<br>/gate/physics/processes/ElectronIonisation/setModel         PenelopeModel e+<br>/gate/physics/processes/ElectronIonisation/setStepFunction     e- 0.2 0.1 nm<br><br>/gate/physics/addProcess                     Bremsstrahlung e-<br>/gate/physics/addProcess                     Bremsstrahlung e+<br>/gate/physics/processes/Bremsstrahlung/setModel         LivermoreModel e-<br>/gate/physics/processes/Bremsstrahlung/setModel         PenelopeModel e+<br><br>/gate/physics/addProcess                     eMultipleScattering e-<br>/gate/physics/addProcess                     eMultipleScattering e+<br>/gate/physics/processes/eMultipleScattering/setModel     UrbanModel e-<br>/gate/physics/processes/eMultipleScattering/setModel     UrbanModel e+<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div></blockquote><div>Does anyone have any idea what could be the problem?<br data-mce-bogus="1"></div><div data-marker="__SIG_POST__">Many thanks for the help !<br></div><div data-marker="__SIG_POST__"><br data-mce-bogus="1"></div><div>Sarah Blind<br><br></div></div></body></html>