Import Geant4 4.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:39:52 +02:00
parent 921d3b1cda
commit 330b82b769
4524 changed files with 178689 additions and 43575 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VRestContinuousDiscreteProcess.hh,v 1.5 2001/07/11 10:08:18 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: G4VRestContinuousDiscreteProcess.hh,v 1.6 2002/04/15 04:29:57 kurasige Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//
// ------------------------------------------------------------
@@ -36,12 +36,11 @@
// ------------------------------------------------------------
// New Physics scheme 8 Mar. 1997 H.Kurahige
// ------------------------------------------------------------
// modified 26 Mar. 1997 H.Kurahige
// modified 16 Apr. 1997 L.Urban
// modified AlongStepGPIL etc. 17 Dec. 1997 H.Kurashige
// fix bugs in GetGPILSelection() 24 Jan. 1998 H.Kurashige
// modified for new ParticleChange 12 Mar. 1998 H.Kurashige
// Fixed a bug in PostStepGetPhysicalInteractionLength
// 15 Apr. 2002 H.Kurashige
//
#ifndef G4VRestContinuousDiscreteProcess_h
#define G4VRestContinuousDiscreteProcess_h 1
@@ -255,7 +254,12 @@ inline G4double G4VRestContinuousDiscreteProcess::PostStepGetPhysicalInteraction
}
#endif
G4double value = theNumberOfInteractionLengthLeft * currentInteractionLength;
G4double value;
if (currentInteractionLength <DBL_MAX) {
value = theNumberOfInteractionLengthLeft * currentInteractionLength;
} else {
value = DBL_MAX;
}
#ifdef G4VERBOSE
if (verboseLevel>1){
G4cout << "G4VRestContinuousDiscreteProcess::PostStepGetPhysicalInteractionLength ";