Import Geant4 10.5.1 source tree

This commit is contained in:
Gabriele Cosmo
2019-04-17 10:39:02 +02:00
parent a7fdc52004
commit 28a70706e0
661 changed files with 55791 additions and 106984 deletions
@@ -15,6 +15,11 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
19 December 2018 - Alberto Ribon (hadr-inclxx-V10-04-07)
---------------------------------------------------------------
- G4INCLHFB.cc : Fixed (weak and strong) non-reproducibility by making
the arrays radiusP, radiusN, diffusenessP, diffusenessN thread-local.
21 November 2018 - Gabriele Cosmo (hadr-inclxx-V10-04-06)
---------------------------------------------------------------
- G4INCLRandom.hh: changed Adapter::operator()() to make direct use of
@@ -105,11 +105,11 @@ public:
G4INCLXXInterface(G4VPreCompoundModel * const aPreCompound = 0);
~G4INCLXXInterface(); // Destructor
G4int operator==(G4INCLXXInterface& right) {
G4bool operator==(G4INCLXXInterface& right) {
return (this == &right);
}
G4int operator!=(G4INCLXXInterface& right) {
G4bool operator!=(G4INCLXXInterface& right) {
return (this != &right);
}
@@ -45,16 +45,17 @@
#include "G4INCLHFB.hh"
#include "G4INCLParticleTable.hh"
#include "G4INCLGlobals.hh"
#include "G4Threading.hh"
#include <algorithm>
#include <istream>
namespace G4INCL {
namespace {
G4double radiusP[TableZSize][TableASize];
G4double radiusN[TableZSize][TableASize];
G4double diffusenessP[TableZSize][TableASize];
G4double diffusenessN[TableZSize][TableASize];
G4ThreadLocal G4double radiusP[TableZSize][TableASize];
G4ThreadLocal G4double radiusN[TableZSize][TableASize];
G4ThreadLocal G4double diffusenessP[TableZSize][TableASize];
G4ThreadLocal G4double diffusenessN[TableZSize][TableASize];
void cleanTable(){
for(G4int i=0;i<TableZSize;++i)