Import Geant4 10.7.2 source tree
This commit is contained in:
Vendored
+3
@@ -16,6 +16,9 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
06 May 2021 - G.Cosmo (externals-V10-06-07)
|
||||
- CLHEP: Fixed trivial compilation warnings on gcc-11 in Random headers.
|
||||
|
||||
8 December 2020 - B.Morgan (externals-V10-06-06)
|
||||
- Force PTL to install its CMake configuration files within the directory
|
||||
where Geant4 installs its own.
|
||||
|
||||
Vendored
+3
@@ -16,6 +16,9 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
06 May 2021 - G.Cosmo
|
||||
- Fixed trivial compilation warnings on gcc-11 in Random headers.
|
||||
|
||||
11 November 2020 - G.Cosmo
|
||||
- Synchronised with CLHEP-2.4.4.0:
|
||||
* Vector (G.Amadio <amadio@cern.ch>)
|
||||
|
||||
@@ -144,6 +144,7 @@ private:
|
||||
#if defined __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#endif
|
||||
inline double convert1double(myuint_t u)
|
||||
{
|
||||
|
||||
@@ -63,29 +63,29 @@ public:
|
||||
|
||||
// Static methods to shoot random values using the static generator
|
||||
|
||||
static long shoot( double m=1.0 );
|
||||
static long shoot( double mean=1.0 );
|
||||
|
||||
static void shootArray ( const int size, long* vect, double m=1.0 );
|
||||
static void shootArray ( const int size, long* vect, double mean=1.0 );
|
||||
|
||||
// Static methods to shoot random values using a given engine
|
||||
// by-passing the static generator.
|
||||
|
||||
static long shoot( HepRandomEngine* anEngine, double m=1.0 );
|
||||
static long shoot( HepRandomEngine* anEngine, double mean=1.0 );
|
||||
|
||||
static void shootArray ( HepRandomEngine* anEngine,
|
||||
const int size, long* vect, double m=1.0 );
|
||||
const int size, long* vect, double mean=1.0 );
|
||||
|
||||
// Methods using the localEngine to shoot random values, by-passing
|
||||
// the static generator.
|
||||
|
||||
long fire();
|
||||
long fire( double m );
|
||||
long fire( double mean );
|
||||
|
||||
void fireArray ( const int size, long* vect );
|
||||
void fireArray ( const int size, long* vect, double m);
|
||||
void fireArray ( const int size, long* vect, double mean);
|
||||
|
||||
double operator()();
|
||||
double operator()( double m );
|
||||
double operator()( double mean );
|
||||
|
||||
std::string name() const;
|
||||
HepRandomEngine & engine();
|
||||
|
||||
@@ -71,29 +71,29 @@ public:
|
||||
|
||||
// Static methods to shoot random values using the static generator
|
||||
|
||||
static long shoot( double m=1.0 );
|
||||
static long shoot( double mean=1.0 );
|
||||
|
||||
static void shootArray ( const int size, long* vect, double m=1.0 );
|
||||
static void shootArray ( const int size, long* vect, double mean=1.0 );
|
||||
|
||||
// Static methods to shoot random values using a given engine
|
||||
// by-passing the static generator.
|
||||
|
||||
static long shoot( HepRandomEngine* anEngine, double m=1.0 );
|
||||
static long shoot( HepRandomEngine* anEngine, double mean=1.0 );
|
||||
|
||||
static void shootArray ( HepRandomEngine* anEngine,
|
||||
const int size, long* vect, double m=1.0 );
|
||||
const int size, long* vect, double mean=1.0 );
|
||||
|
||||
// Methods using the localEngine to shoot random values, by-passing
|
||||
// the static generator.
|
||||
|
||||
long fire();
|
||||
long fire( double m );
|
||||
long fire( double mean );
|
||||
|
||||
void fireArray ( const int size, long* vect );
|
||||
void fireArray ( const int size, long* vect, double m);
|
||||
void fireArray ( const int size, long* vect, double mean);
|
||||
|
||||
double operator()();
|
||||
double operator()( double m );
|
||||
double operator()( double mean );
|
||||
|
||||
std::string name() const;
|
||||
HepRandomEngine & engine();
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ public:
|
||||
// Static member functions using the static generator
|
||||
// --------------------------------------------------
|
||||
|
||||
static void setTheSeed(long seed, int lux=3);
|
||||
static void setTheSeed(long seed, int lxr=3);
|
||||
// (Re)Initializes the generator with a seed.
|
||||
|
||||
static long getTheSeed();
|
||||
|
||||
@@ -51,8 +51,8 @@ public:
|
||||
|
||||
Ranlux64Engine( std::istream& is );
|
||||
Ranlux64Engine();
|
||||
Ranlux64Engine( long seed, int lux = 1 );
|
||||
Ranlux64Engine( int rowIndex, int colIndex, int lux );
|
||||
Ranlux64Engine( long seed, int lxr = 1 );
|
||||
Ranlux64Engine( int rowIndex, int colIndex, int lxr );
|
||||
virtual ~Ranlux64Engine();
|
||||
// Constructors and destructor
|
||||
|
||||
@@ -63,10 +63,10 @@ public:
|
||||
void flatArray (const int size, double* vect);
|
||||
// Fills the array "vect" of specified size with flat random values.
|
||||
|
||||
void setSeed(long seed, int lux=1);
|
||||
void setSeed(long seed, int lxr=1);
|
||||
// Sets the state of the algorithm according to seed.
|
||||
|
||||
void setSeeds(const long * seeds, int lux=1);
|
||||
void setSeeds(const long * seeds, int lxr=1);
|
||||
// Sets the state of the algorithm according to the zero terminated
|
||||
// array of seeds. Only the first seed is used.
|
||||
|
||||
|
||||
@@ -47,8 +47,8 @@ public:
|
||||
|
||||
RanluxEngine( std::istream& is );
|
||||
RanluxEngine();
|
||||
RanluxEngine( long seed, int lux = 3 );
|
||||
RanluxEngine( int rowIndex, int colIndex, int lux );
|
||||
RanluxEngine( long seed, int lxr = 3 );
|
||||
RanluxEngine( int rowIndex, int colIndex, int lxr );
|
||||
virtual ~RanluxEngine();
|
||||
// Constructors and destructor
|
||||
|
||||
@@ -70,10 +70,10 @@ public:
|
||||
void flatArray (const int size, double* vect);
|
||||
// Fills the array "vect" of specified size with flat random values.
|
||||
|
||||
void setSeed(long seed, int lux=3);
|
||||
void setSeed(long seed, int lxr=3);
|
||||
// Sets the state of the algorithm according to seed.
|
||||
|
||||
void setSeeds(const long * seeds, int lux=3);
|
||||
void setSeeds(const long * seeds, int lxr=3);
|
||||
// Sets the state of the algorithm according to the zero terminated
|
||||
// array of seeds. Only the first seed is used.
|
||||
|
||||
|
||||
Vendored
+3
@@ -19,6 +19,9 @@ committal in the CVS repository !
|
||||
History file for G4 zlib package
|
||||
--------------------------------
|
||||
|
||||
23 February 2021 Ben Morgan (zlib-V10-06-02)
|
||||
- Use separate genexes in G4zlib include directories to prevent parsing issues.
|
||||
|
||||
29 October 2020 Ben Morgan (zlib-V10-06-01)
|
||||
- sources.cmake: remove include of obsolete CMake module,
|
||||
update for full migration to new CMake system.
|
||||
|
||||
Vendored
+1
-1
@@ -136,5 +136,5 @@ GEANT4_DEFINE_MODULE(NAME G4zlib
|
||||
)
|
||||
# List any source specific properties here
|
||||
geant4_module_include_directories(G4zlib
|
||||
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src;${CMAKE_CURRENT_BINARY_DIR}>
|
||||
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src> $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user