Import Geant4 10.3.0.beta source tree
This commit is contained in:
@@ -14,6 +14,11 @@ code and to keep track of all tags.
|
||||
* Please list in reverse chronological order (last date on top)
|
||||
---------------------------------------------------------------
|
||||
|
||||
10 February 2016 Alberto Ribon (hadr-util-V10-02-00)
|
||||
--------------------------------------------------------
|
||||
- G4Nucleus : increased the max number of loops allowed in the method
|
||||
GetBiasedThermalNucleus.
|
||||
|
||||
02 November 2015 Alberto Ribon (hadr-util-V10-01-02)
|
||||
--------------------------------------------------------
|
||||
- G4Nucleus : checking of 'while' loops.
|
||||
|
||||
@@ -121,7 +121,7 @@ GetBiasedThermalNucleus(G4double aMass, G4ThreeVector aVelocity, G4double temp)
|
||||
norm *= 5.;
|
||||
norm += velMag;
|
||||
norm /= velMag;
|
||||
const G4int maxNumberOfLoops = 10000;
|
||||
const G4int maxNumberOfLoops = 1000000;
|
||||
G4int loopCounter = -1;
|
||||
while ( (value/norm<random) && ++loopCounter < maxNumberOfLoops ) /* Loop checking, 02.11.2015, A.Ribon */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user