<html><body><div id="zimbraEditorContainer" style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000" class="10"><div>Many thanks Hermann for your response! I will try this.</div><div><br data-mce-bogus="1"></div><div>Sarah</div><div><br></div><div><span id="zwchr" data-marker="__DIVIDER__">----- Le 24 Fév 22, à 15:11, Hermann Fuchs <hermann.fuchs@meduniwien.ac.at> a écrit :<br></span></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><p>Hi Sarah,</p>
    <p>I believe this could be a problem with the implemented datatype.
      The number of particles is stored internally in GATE as an
      integer.<br>
    </p>
    <p>The highest number an integer can store is~2.1e9</p>
    <p>Consequently simulating 1e9 particles works and 1e10 particles
      will not work any more.</p>
    <p>The easiest solution is to split your simulation in multiple
      parts, each having less particles than 2.1e9.</p>
    <p>All the best,</p>
    <p>Hermann<br>
    </p>
    <div class="moz-cite-prefix">On 23.02.22 16:37, Sarah Blind wrote:<br>
    </div>
    <blockquote cite="mid:1614461897.1525339.1645630677551.JavaMail.zimbra@univ-lorraine.fr">
      
      <div style="font-family: arial, helvetica, sans-serif; font-size:
        12pt; color: #000000">
        <div>Dear Gate users, <br>
        </div>
        <div><br>
        </div>
        <div>I have the following model : 1 cell inside of which there
          are 12 clusters of 8000 nanoparticles each.<br>
        </div>
        <div>My source is composed of a gamma beam of 5 keV.<br>
        </div>
        <div>My simulation works fine up to 10^9 photons send. But with
          10^10 primaries nothing happens anymore (there is no error
          message).<br>
        </div>
        <div>Does someone have an idea what the problem might be ?<br>
        </div>
        <div><br>
        </div>
        <div>Thank you very much for your help,<br>
        </div>
        <div>Regards,<br>
        </div>
        <div>Sarah Blind<br>
        </div>
        <div><br>
        </div>
        <div>world.mac<br>
        </div>
        <div><br>
        </div>
        <blockquote>
          <div>/gate/world/geometry/setXLength 30 um<br>
            /gate/world/geometry/setYLength 30 um<br>
            /gate/world/geometry/setZLength 30 um<br>
            /gate/world/setMaterial Air<br>
            <br>
            /gate/world/daughters/name                       cell<br>
            /gate/world/daughters/insert                     sphere<br>
            /gate/cell/geometry/setRmin                        0.0 mm<br>
            /gate/cell/geometry/setRmax                        10 um<br>
            /gate/cell/placement/setTranslation                0 0 0 um<br>
            /gate/cell/setMaterial                  G4_WATER<br>
            /gate/cell/vis/setVisible                          1<br>
            /gate/cell/vis/setColor                  blue<br>
            /gate/cell/vis/forceSolid                          false<br>
            <br>
            /gate/cell/daughters/name                       cluster<br>
            /gate/cell/daughters/insert                     sphere<br>
            /gate/cluster/geometry/setRmin                        0.0 mm<br>
            /gate/cluster/geometry/setRmax                        500 nm<br>
            /gate/cluster/placement/setTranslation                0 0 0
            um<br>
            /gate/cluster/setMaterial                  G4_WATER<br>
            /gate/cluster/vis/setVisible                          1<br>
            /gate/cluster/vis/setColor                  yellow<br>
            /gate/cluster/vis/forceSolid                          false<br>
            <br>
            /gate/cluster/daughters/name                           NP<br>
            /gate/cluster/daughters/insert                         
            sphere<br>
            /gate/NP/geometry/setRmin                               0 mm<br>
            /gate/NP/geometry/setRmax                               2 nm<br>
            /gate/NP/placement/setTranslation                       0 0
            0 mm<br>
            /gate/NP/setMaterial                                   
            Bismuth<br>
            /gate/NP/vis/setVisible                                 1<br>
            /gate/NP/vis/setColor                                   red<br>
            /gate/NP/vis/forceSolid                                 true<br>
            <br>
            <br>
            /gate/NP/repeaters/insert cubicArray<br>
            /gate/NP/cubicArray/setRepeatNumberX 20<br>
            /gate/NP/cubicArray/setRepeatNumberY 20<br>
            /gate/NP/cubicArray/setRepeatNumberZ 20<br>
            /gate/NP/cubicArray/setRepeatVector 5 5 5 nm<br>
            <br>
            /gate/cluster/repeaters/insert cubicArray<br>
            /gate/cluster/cubicArray/setRepeatNumberX 3<br>
            /gate/cluster/cubicArray/setRepeatNumberY 2<br>
            /gate/cluster/cubicArray/setRepeatNumberZ 2<br>
            /gate/cluster/cubicArray/setRepeatVector 5 5 5 um<br>
          </div>
          <div><br>
          </div>
        </blockquote>
        <div>physics.mac<br>
        </div>
        <blockquote>
          <div><br>
            /gate/physics/addPhysicsList QGSP_BERT_EMV<br>
            <br>
            /gate/physics/Gamma/SetCutInRegion      world 50 nm<br>
            /gate/physics/Electron/SetCutInRegion   world 50 nm<br>
            <br>
            /gate/physics/Gamma/SetCutInRegion      cell 20 nm<br>
            /gate/physics/Electron/SetCutInRegion   cell 20 nm<br>
            <br>
            /gate/physics/Gamma/SetCutInRegion      cluster 5 nm<br>
            /gate/physics/Electron/SetCutInRegion   cluster 5 nm<br>
            <br>
            /gate/physics/Gamma/SetCutInRegion      NP 0.5 nm<br>
            /gate/physics/Electron/SetCutInRegion   NP 0.5 nm</div>
          <div><br>
            /gate/random/setEngineName MersenneTwister <br>
            <br>
            /gate/physics/addAtomDeexcitation<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>
            /gate/physics/addProcess                     GammaConversion<br>
            /gate/physics/processes/GammaConversion/setModel        
            LivermoreModel<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>
            <br>
            /gate/physics/SetMinKineticEnergyInRegion             world
            1 eV<br>
            /gate/physics/SetMinKineticEnergyInRegion             cell 1
            eV<br>
/gate/physics/ActivateSpecialCuts                             gamma</div>
        </blockquote>
        <div><br>
        </div>
        <div>source.mac</div>
        <blockquote>
          <div><br>
            /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 5 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>
            <br>
            /gate/source/mybeam/gps/position 0 0 15 um<br>
            /gate/source/mybeam/gps/pos/type Volume<br>
            /gate/source/mybeam/gps/pos/shape Cylinder<br>
            /gate/source/mybeam/gps/pos/inner_radius 0 mm<br>
            /gate/source/mybeam/gps/pos/radius 10 um<br>
            /gate/source/mybeam/gps/pos/halfz 0.01 um<br>
            /gate/source/mybeam/gps/ang/type      beam2d<br>
                         <br>
            <br>
            <br>
            <br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre">_______________________________________________
Gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre>
    </blockquote>
    <pre class="moz-signature">-- 
-------------
DI Hermann Fuchs, PhD
Department of Radiation Oncology
Medical University Vienna
Währinger Gürtel 18-20
A-1090 Wien

Tel.  + 43 / 2622 / 26100 / 628
Mail. <a class="moz-txt-link-abbreviated" href="mailto:hermann.fuchs@meduniwien.ac.at" target="_blank">hermann.fuchs@meduniwien.ac.at</a></pre>
  

<br>_______________________________________________<br>Gate-users mailing list<br>Gate-users@lists.opengatecollaboration.org<br>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br></blockquote></div><div><br></div><div><br data-mce-bogus="1"></div></div></body></html>