Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
+8
View File
@@ -17,6 +17,14 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
04-November-2016 - G.Cosmo (externals-V10-02-11)
- Updated to CLHEP-2.3.4.3.
- CLHEP: fixed array initialisation in Evaluator static method function().
08-July-2016 - G.Cosmo (externals-V10-02-10)
- CLHEP: corrected value of SPECIALMUL in mixmax.h to correspond to exact
formula for N=17 (m=2^36+1).
10-May-2016 - G.Cosmo (externals-V10-02-09)
- Updated to CLHEP-2.3.3.0.
- CLHEP: corrected check for counter range in MixMaxRng::getState().
+8
View File
@@ -17,6 +17,14 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
04 November 2016 - G.Cosmo
- Updated to CLHEP-2.3.4.3.
- Fixed array initialisation in Evaluator static method function().
08 July 2016 - G.Cosmo
- Corrected value of SPECIALMUL in mixmax.h to correspond to exact formula
for N=17 (m=2^36+1).
10 May 2016 - G.Cosmo
- Updated to CLHEP-2.3.3.0.
- Corrected check for counter range in MixMaxRng::getState().
+7 -7
View File
@@ -133,13 +133,13 @@ void branch_inplace( rng_state_t* Xin, myID_t* ID ); // almost the same as apply
// the charpoly is irreducible for the combinations of N and SPECIAL and has maximal period for N=508, 256, half period for 1260, and 1/12 period for 3150
// #if (N==256)
#define SPECIALMUL 0
#define SPECIAL 487013230256099064ULL // s=487013230256099064, m=1 -- good old MIXMAX
#define MOD_MULSPEC(k) fmodmulM61( 0, SPECIAL , (k) );
/*
#elif (N==17)
#define SPECIALMUL 36 // m=2^37+1
// #define SPECIALMUL 0
// #define SPECIAL 487013230256099064ULL // s=487013230256099064, m=1 -- good old MIXMAX
// #define MOD_MULSPEC(k) fmodmulM61( 0, SPECIAL , (k) );
// #elif (N==17)
#define SPECIALMUL 36 // m=2^36+1
/*
#elif (N==8)
#define SPECIALMUL 53 // m=2^53+1
+1 -1
View File
@@ -129,7 +129,7 @@ static int function(const string & name, stack<double> & par,
if (iter == dictionary.end()) return EVAL::ERROR_UNKNOWN_FUNCTION;
Item item = iter->second;
double pp[MAX_N_PAR];
double pp[MAX_N_PAR] = {0.0};
for(int i=0; i<npar; i++) { pp[i] = par.top(); par.pop(); }
errno = 0;
if (item.function == 0) return EVAL::ERROR_CALCULATION_ERROR;