Import Geant4 10.2.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Randomize.hh 80506 2014-04-24 14:44:18Z gcosmo $
|
||||
// $Id: Randomize.hh 91902 2015-08-10 12:04:22Z gcosmo $
|
||||
//
|
||||
#ifndef randomize_h
|
||||
#define randomize_h 1
|
||||
@@ -32,14 +32,14 @@
|
||||
#include <CLHEP/Random/Randomize.h>
|
||||
|
||||
#if __clang__
|
||||
#if (defined(G4MULTITHREADED) && !defined(G4USE_STD11) && \
|
||||
#if ((defined(G4MULTITHREADED) && !defined(G4USE_STD11)) || \
|
||||
!__has_feature(cxx_thread_local))
|
||||
#define CLANG_NOSTDTLS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if (defined(G4MULTITHREADED) && !defined(G4USE_STD11)) || \
|
||||
(defined(CLANG_NOSTDTLS))
|
||||
#if (defined(G4MULTITHREADED) && \
|
||||
(!defined(G4USE_STD11) || (defined(CLANG_NOSTDTLS) || defined(__INTEL_COMPILER))))
|
||||
|
||||
// MT needs special Random Number distribution classes
|
||||
//
|
||||
@@ -64,7 +64,9 @@
|
||||
#define G4Random G4MTHepRandom
|
||||
|
||||
#define G4UniformRand() G4MTHepRandom::getTheEngine()->flat()
|
||||
|
||||
//
|
||||
//#include "G4UniformRandPool.hh"
|
||||
//#define G4UniformRand() G4UniformRandPool::flat()
|
||||
// Currently not be used in G4 source
|
||||
//
|
||||
#define G4RandFlatArray G4MTRandFlat::shootArray
|
||||
|
||||
Reference in New Issue
Block a user