Import Geant4 1.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:28:20 +02:00
parent aaa409b6ee
commit ca1c8cb059
2995 changed files with 106830 additions and 299600 deletions
@@ -20,6 +20,8 @@
// comparison not sharp for: abs(cost1) < 1.0
// remove sin1, sin2 in lines 556,567
// (thanks to Stefano Magni)
// 1999-10-10 - Accommodate changes done in DoAbsorption by
// changing logic in DielectricMetal
//
// Author: Peter Gumplinger
// adopted from work by Werner Keil - April 2/96
@@ -378,16 +380,17 @@ void G4OpBoundaryProcess::DielectricMetal()
if( !G4BooleanRand(theReflectivity) ) {
DoAbsorption();
break;
}
else {
DoReflection();
}
OldMomentum = NewMomentum;
OldPolarization = NewPolarization;
OldMomentum = NewMomentum;
OldPolarization = NewPolarization;
}
} while (NewMomentum * theGlobalNormal < 0.0);
}