Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
+113 -62
View File
@@ -1,4 +1,3 @@
$Id:$
-------------------------------------------------------------------
=========================================================
@@ -17,6 +16,58 @@ committal in the SVN repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
November 26, 2018 Gabriele Cosmo (global-V10-04-31)
- G4Cache, G4CacheDetails: minor code cleanup and formatting.
November 16, 2018 Gabriele Cosmo (global-V10-04-30)
- G4OrderedTable and G4DataVector: fixed store/retrieve of binary
data format.
- G4AllocatorPool: moved copy-ctr and operator=() to public section.
- Changed ID for release 10.5.
- Fixed unit tests.
November 13, 2018 Jonathan Madsen (global-V10-04-29)
- Fixes to G4ConvergenceTester to ensure there are no divide-by-zeros
when calculating the stat history
November 9, 2018 Gabriele Cosmo (global-V10-04-28)
- G4ConvergenceTester: fixed printout typos.
November 8, 2018 Gabriele Cosmo (global-V10-04-27)
- G4Threading: replaced 'typedef' statements with C++11 'using' correspondents.
November 1, 2018 Gabriele Cosmo (global-V10-04-26)
- Fixed inclusion recursion in G4EnvironmentUtils header.
October 30, 2018 Gabriele Cosmo (global-V10-04-25)
- Renamed G4Utility.hh to G4EnvironmentUtils.hh and moved one of the
functions to templates.hh.
October 25, 2018 Jonathan Madsen (global-V10-04-24)
- added operator += (G4double) to G4ConvergenceTester
- added G4StatAnalysis.{hh,icc} class
- this class is a lightweight statistics class that calculates the
mean, FOM, relative error, standard deviation, variance, coefficient of
variation, efficiency, r2eff, r2int (corr-coeff-of-interp/coeff-of-determ)
- G4Utility.hh - convenient environment converters and variadic template
to consume unused parameters and variables
October 12, 2018 Gabriele Cosmo (global-V10-04-23, 22)
- Moved back main G4Exception functions to source to reduce dependencies.
- Reset singleton pointer in G4StateManager destructor; addressing problem
report #2094. Minor code cleanup.
September 14, 2018 Vladimir Ivanchenko (global-V10-04-21)
- G4PhysicsVector: similar fix as in previous tag of the problem #2087
September 10, 2018 Mihaly Novak (global-V10-04-20)
- G4Physics2DVector: fixed possible out-of-bound access in the FindBin method.
problem report #2087
August 14, 2018 Gabriele Cosmo (global-V10-04-19)
- G4Timer: fixed CPU number printout in operator<<(). Use G4 types.
Code formatting.
June 6, 2018 Jonathan Madsen (global-V10-04-18)
- Added G4TiMemory.hh which defines an dummy initializer and empty macros when
TiMemory is disabled and includes the TiMemory headers and defines an
@@ -57,7 +108,7 @@ March 9, 2018 Gabriele Cosmo (global-V10-04-11)
- Minor code cleanup in G4UniformRandPool.
March 7, 2018 Jonathan Madsen (global-V10-04-10)
- Replaced erroneous "id_type" return type for G4DummyThread::get_id()
- Replaced erroneous "id_type" return type for G4DummyThread::get_id()
with correct "id" type.
March 6, 2018 Jonathan Madsen (global-V10-04-09)
@@ -141,7 +192,7 @@ February 9, 2018 M.Asai (global-V10-04-01)
- G4MTcoutDestination.cc blocks G4cout from worker threads while spplication
is in G4State_Init instead of G4State_Idle.
- G4StateManager has a new method to set verbosity and print the state change.
December 19, 2017 G.Cosmo (global-V10-04-00)
- Fixed self-consistency in G4ReferenceCountedHandle header (missing #include).
Added missing #ifdef guard in G4CacheDetails header; code formatting.
@@ -176,7 +227,7 @@ April 18, 2017 A.Dotti (global-V10-03-05)
April 18, 2017 A.Dotti (global-V10-03-04)
- New structure for G4coutDestination functionality with division
between sink and filter.
between sink and filter.
April 6, 2017 E.Tcherniaev (global-V10-03-03)
- Added function G4RandomDirection(G4double cosTheta) to G4RandomDirection.hh.
@@ -201,7 +252,7 @@ November 16, 2016 G.Cosmo (global-V10-02-33)
October 21, 2016 A.Dotti (global-V10-02-31, -32)
- To avoid confusion rename method to:
G4Threading::GetNumberOfRunningWorkerThreads()
G4Threading::GetNumberOfRunningWorkerThreads()
October 21, 2016 G.Cosmo (global-V10-02-30)
- Made initialisation of G4TWorkspacePool thread-local data to be inline
@@ -314,7 +365,7 @@ November 4, 2015 A.Dotti (global-V10-01-24)
October 21, 2015 V.Ivantchenko (global-V10-01-23)
- G4PhysicsVector, G4Physics2DVector, G4PhysicsOrderedFreeVector:
use std::lower_bound instead of old do/while loops according to
use std::lower_bound instead of old do/while loops according to
proposal of K.Genser (FNAL); also minor cleanup of the code.
October 16, 2015 V.Ivantchenko (global-V10-01-22)
@@ -337,7 +388,7 @@ August 21, 2015 G.Cosmo (global-V10-01-19)
August 19, 2015 M.Maire (global-V10-01-18)
- G4SystemOfUnits.hh : keep only liter, L, dL, cL, mL
- Updated G4SIunits.hh and G4UnitsTable.
August 10, 2015 M.Maire
- G4SystemOfUnits.hh : add dm, dm2, dm3, liter
- Update G4SIunits.hh
@@ -352,12 +403,12 @@ August 10, 2015 G.Cosmo (global-V10-01-16)
June 26, 2015 A.Dotti (global-V10-01-15)
- Coverity fix in G4UniformRandPool and bug fixing
June 12, 2015 A.Dotti (global-V10-01-14)
- Fix bug in G4CacheReference::Destroy method
- Modify behavior of G4Cache to identify internal
- Modify behavior of G4Cache to identify internal
inconsistencies. An exception is thrown
May 27, 2015 J.Allison (global-V10-01-13)
- Define G4THREADSLEEP(tick) macro in G4Threading.hh also for sequential
builds.
@@ -381,11 +432,11 @@ May 5, 2015 A.Dotti (global-V10-01-08)
April 26, 2015 V.Ivantchenko
- G4StatDouble: return RMS 0 instead of -1 in the case the number
of entries is below 2 (fixes arithmetic exceptions in examples for
of entries is below 2 (fixes arithmetic exceptions in examples for
run with 1 event only).
April 9, 2015 A.Dotti (global-V10-01-07)
- Fix testRandPool for sequential builds
- Fix testRandPool for sequential builds
April 8, 2015 G.Cosmo (global-V10-01-06)
- Some code cleanup/formatting in G4UniformRandPool.
@@ -394,7 +445,7 @@ April 8, 2015 G.Cosmo (global-V10-01-06)
- Corrected GNUmakefile in HepRandom unit tests.
April 8, 2015 A.Dotti (global-V10-01-05)
- Fixed compilation error on Windows.
- Fixed compilation error on Windows.
April 8, 2015 A.Dotti (global-V10-01-04)
- First implementation of G4UniformRandPool for serial generation of
@@ -524,10 +575,10 @@ April 24, 2014 G.Cosmo (global-V10-00-17)
keyword to conform to Standard.
April 11, 2014 A.Dotti (global-V10-00-16)
- New utility function G4Threading::IsMultithreadedApplication()
and G4Threding::SetMultithreadedApplication(bool) used to
- New utility function G4Threading::IsMultithreadedApplication()
and G4Threding::SetMultithreadedApplication(bool) used to
specify which type of kernel is instantiated indipendently by
build type (e.g. to distinghuish application migrated to MT or
build type (e.g. to distinghuish application migrated to MT or
still using sequential run manager)
April 11, 2014 G.Cosmo (global-V10-00-15)
@@ -540,7 +591,7 @@ April 8, 2014 G.Cosmo (global-V10-00-13)
- Define G4ThreadLocal to be std::thread_local in case C++11 standard is
used (temporarly enabled only on GNUMake system for testing, through use
of environment variable G4USE_STD11); directly adopt CLHEP classes in such
a case instead of G4MT* wrappers.
a case instead of G4MT* wrappers.
March 27, 2014 G.Cosmo (global-V10-00-12)
- Fixed signature for call to G4Exception in G4Threading.cc.
@@ -552,7 +603,7 @@ March 26, 2014 G.Cosmo (global-V10-00-10)
- Minor code cleanup.
March 25, 2014 A.Dotti (global-V10-00-08,global-V10-00-09)
- Introduce G4SetPinAffinity function (available only for LINUX):
- Introduce G4SetPinAffinity function (available only for LINUX):
"locks" a pthread to the given CPU index. This will be used by run
category as an option to improve performance on high-core counts CPUs.
@@ -569,7 +620,7 @@ February 7, 2014 V.Ivantchenko (global-V10-00-05)
- Updated date and tag-ID for geant4-10-00-ref-02.
February 5, 2014 T.Koi (global-V10-00-04)
- Added protections to avoid core dumps caused by division by zero
- Added protections to avoid core dumps caused by division by zero
and other minor updates in G4ConvergenceTester.
January 23, 2014 G.Cosmo (global-V10-00-03)
@@ -577,7 +628,7 @@ January 23, 2014 G.Cosmo (global-V10-00-03)
January 13, 2014 A. Dotti (global-V10-00-02)
- Call G4iosInitialization/G4iosFinalization with functions marked
__attribute__((destructor)) and __attribute__((destructor)) to
__attribute__((destructor)) and __attribute__((destructor)) to
guarantee G4cout/G4cerr are initialized correctly before main
function
@@ -610,10 +661,10 @@ October 30, 2013 A.Dotti (global-V09-06-79)
Octover 29, 2013 A.Dotti (global-V09-06-78)
- Adding G4ThreadPrivateSingleton class for thread-private singleton
handling and G4AutoDelete namespace with utility function for
handling and G4AutoDelete namespace with utility function for
simplified garbage-collection: management/include/G4AutoDelete.hh
management/include/G4ThreadLocalSingleton.hh. Two unit tests have
been developed management/test/testAutoDelete.cc and
been developed management/test/testAutoDelete.cc and
management/test/testG4TLSSingleton.cc
- Adding G4MUTEXINIT macro that expands to pthread_mutex_init
@@ -624,20 +675,20 @@ October 28, 2013 A.Dotti (global-V09-06-76)
- Bug fixing in G4Cache::Put method signature
October 23, 2013 A.Dotti (global-V09-06-75)
- Adding G4Cache classes for a thread-private data members in
- Adding G4Cache classes for a thread-private data members in
shared classes.
October 18, 2013 V.Ivantchenko (global-V09-06-74)
- G4PhysicsVector - in the FindBinLocation method extra checks
are added for Log and Lin vectors to avoid rare cases when bin
is computed incorrectly due to limited numerical precision of
are added for Log and Lin vectors to avoid rare cases when bin
is computed incorrectly due to limited numerical precision of
computations (P.Arce report)
October 02, 2013 V.Ivantchenko (global-V09-06-73)
- G4Pow - fixed typo in previous tag
October 02, 2013 V.Ivantchenko (global-V09-06-72)
- G4Pow - is now static not G4ThreadLocal, added check that it is
- G4Pow - is now static not G4ThreadLocal, added check that it is
instantiated in the master thread
- G4PhysicsVector - FindBinLocation is now inlined and not virtual,
using table type different algorithms are invoked to compute bin
@@ -677,7 +728,7 @@ September 3, 2013 G.Cosmo, V.Ivantchenko (global-V09-06-65, global-V09-06-64)
the VDT library (http://svnweb.cern.ch/world/wsvn/vdt).
August 31, 2013 M.Asai (global-V09-06-63)
- G4Threading::G4GetThreadId() returns -2 instead of 0 for the case
- G4Threading::G4GetThreadId() returns -2 instead of 0 for the case
of sequential mode.
August 26, 2013 A.Dotti(global-V09-06-62)
@@ -688,16 +739,16 @@ August 26, 2013 A.Dotti(global-V09-06-61)
i. Protect G4MTcoutDestination
ii. Correct check of already-locked condition for G4AutoLock
iii. Protect creation of shared resource in G4MTHepRandom
- Add performance test for RNG engines
- Add performance test for RNG engines
August 15, 2013 M.Asai (global-V09-06-60)
- G4MTcoutDestination now has a capabilitu of printing out only for
- G4MTcoutDestination now has a capabilitu of printing out only for
the selected thread to make the display readable.
August 6, 2013 V.Ivantchenko (global-V09-06-59)
- Fixed compillation
August 6, 2013 V.Ivantchenko (global-V09-06-58)
- G4PhysicsLogVector, G4PhysicsLnVector - more accurate check of
- G4PhysicsLogVector, G4PhysicsLnVector - more accurate check of
bin inside FindBinLocation method to avoid non-reproducibility
July 24, 2013 V.Ivantchenko (global-V09-06-57)
@@ -724,10 +775,10 @@ July 3, 2013 V.Ivantchenko (global-V09-06-53)
July 1, 2013 V.Ivantchenko (global-V09-06-52)
- G4PhysicsVector: make FindBin method public, added method
FindLinearEnergy for sampling of energy for vectors
with cumulative probability function
- G4Physics2DVector: make FindBinLocationX and FindBinLocationY
with cumulative probability function
- G4Physics2DVector: make FindBinLocationX and FindBinLocationY
methods public, add method FindLinearX for sampling of energy
for 2D cumulative probability functions, added new inlined
for 2D cumulative probability functions, added new inlined
method Value with different signature
June 26, 2013 G.Cosmo (global-V09-06-51)
@@ -805,9 +856,9 @@ June 7, 2013 G.Cosmo (global-V09-06-38)
- Updated date and tag for 10.0-Beta.
June 5, 2013 G.Folger (global-V09-06-37)
- In management/G4FPEDetection.hh add first version of stack backtrace
- In management/G4FPEDetection.hh add first version of stack backtrace
when FPE exception is detected. Linux only.
May 29, 2013 G.Cosmo (global-V09-06-36)
- Fix for allowing compilation on Windows in G4Threading: disable definition
of min()/max() and 'pascal' from inclusion of <windows.h>.
@@ -821,7 +872,7 @@ May 29, 2013 G.Cosmo (global-V09-06-35)
to allow for porting on Windows.
May 23, 2013 M.Asai (global-V09-06-34)
- Replaced G4coutIdDestination class to G4MTcoutDestination class for cleaner
- Replaced G4coutIdDestination class to G4MTcoutDestination class for cleaner
handling of thread-local cout/cerr.
May 22, 2013 G.Cosmo (global-V09-06-33)
@@ -832,12 +883,12 @@ May 18, 2013 A.Dotti (global-V09-06-32)
- Fix for sequentual compilation error introduced in latest tag.
May 17, 2013 A.Dotti (global-V09-06-31)
- Adding new cout streaming for MT: on file and with header
at each line (with optional buffering)
- Adding new cout streaming for MT: on file and with header
at each line (with optional buffering)
- Adding G4GetNumberOfCores and G4GetThreadId global helper functions
May 16, 2013 V.Ivanchenko (global-V09-06-30)
- G4Physics2DVector - removed cache; changed signature of
- G4Physics2DVector - removed cache; changed signature of
several methods; all run time methods become const;
the class become read only in run time
@@ -893,7 +944,7 @@ April 9, 2013 A.Dotti (global-V09-06-16)
G4CONDITIONWAIT and G4CONDITIONBROADCAST
April 7, 2013 A.Dotti (global-V09-06-15)
- Bug fixing: do not delete static data mamber theGenerator
- Bug fixing: do not delete static data mamber theGenerator
(only affects MT builds)
March 29, 2013 G.Cosmo (global-V09-06-14)
@@ -1106,7 +1157,7 @@ June 15, 2011 B.Morgan (global-V09-04-09)
- More fixes for CMake setup.
May 19, 2011 B.Morgan (global-v09-04-08)
- CMakeLists.txt : Added G4IOS_ALLOC_EXPORT compiler definition via
- CMakeLists.txt : Added G4IOS_ALLOC_EXPORT compiler definition via
add_definitions so all submodules pick it up.
May 13, 2011 G.Cosmo (global-V09-04-07)
@@ -1260,13 +1311,13 @@ Nov 24, 2009 G.Cosmo (global-V09-02-11)
- Changed date for release 9.3.
Nov 17, 2009 V.Ivanchenko (global-V09-02-10)
- G4PhysicsVector: fixed Value() method for the case when energy is
- G4PhysicsVector: fixed Value() method for the case when energy is
around 'edgeMax'; adding extra protection.
Nov 04, 2009 V.Ivanchenko (global-V09-02-09)
- G4PhysicsVector: cleaned up initialisation of cached values;
simplified Value() method, now not looking into previous bin;
added method ScaleVector() needed for ICRU'73 data.
added method ScaleVector() needed for ICRU'73 data.
Oct 29, 2009 G.Cosmo (global-V09-02-08)
- Cleared warning for unused argument in G4Allocator internal method.
@@ -1277,7 +1328,7 @@ Aug 07, 2009 G.Cosmo (global-V09-02-07)
- Removed obsolete static hash(s) method.
Jul 03, 2009 V.Ivanchenko (global-V09-02-06)
- New class G4Pow, a singleton for fast computation of log() and pow() for
- New class G4Pow, a singleton for fast computation of log() and pow() for
integer and double arguments in the interval [1-256].
- G4PhysicsVector:
o Added ComputeSecDerivative() and SplinePossible() methods as a
@@ -1287,10 +1338,10 @@ Jul 03, 2009 V.Ivanchenko (global-V09-02-06)
May 26, 2009 A.Bagulya (global-V09-02-05)
- G4PhysicsVector: do not change flag "useSpline" during initialisation
to address bug in N02 reported by valgrind
to address bug in N02 reported by valgrind
May 26, 2009 A.Bagulya (global-V09-02-04)
- G4PhysicsVector: set limits of number of bins for spline: 4 for the case
- G4PhysicsVector: set limits of number of bins for spline: 4 for the case
of first derivatives defined; 5 for the case when "Not-a-Knot" algorithm
is used.
@@ -1497,7 +1548,7 @@ May 03, 2006 G.Cosmo (global-V08-00-02)
Feb 15, 2006 M.Maire (global-V08-00-01)
- G4UnitsTable: added GeV/cm, MeV/cm, keV/cm, eV/cm (Energy/Length)
g/cm2 ("Mass/Surface") and MeV*cm2/g ..etc.. ("Energy*Surface/Mass").
g/cm2 ("Mass/Surface") and MeV*cm2/g ..etc.. ("Energy*Surface/Mass").
Jan 30, 2006 M.Maire (global-V08-00-00)
- G4UnitsTable.cc: added Symbol um for micrometer.
@@ -1656,12 +1707,12 @@ January 21, 2004 G.Cosmo (global-V06-00-00)
November 24, 2003 G.Cosmo (global-V05-02-03)
- G4UnitsTable.cc: fixed units initialisation and deletion of objects in
constructors.
November 4, 2003 G.Cosmo (global-V05-02-02)
- Added method ExistPhysicsTable() to G4PhysicsTable. (H.Kurasige)
October 31, 2003 M.Asai (global-V05-02-01)
- Fixed uninitialized variable in G4StateManager and protect null pointer
- Fixed uninitialized variable in G4StateManager and protect null pointer
of G4VExceptionHandler used in G4Exception
June 17, 2003 G.Cosmo (global-V05-02-00)
@@ -1835,7 +1886,7 @@ April 02, 2001 G.Cosmo (global-V03-00-09)
formatting in G4UnitsTable::operator<<.
- Fix for compilation on WIN32-VC: added typedef to base collection G4PhysCollection
in G4PhysicsTable.
March 09, 2001 G.Cosmo (global-V03-00-08)
- Tyde up comments.
- Added patch to G4PhysicsTable::Store/Retrieve methods for non-ISO setup
@@ -1893,7 +1944,7 @@ January 09, 2001 H.Kurashige
January 09, 2001 G.Cosmo (global-V03-00-00)
- Fixed bug in destructor of G4Allocator (report #181): use "delete"
instead of "free" for deleting a page allocated with "new".
instead of "free" for deleting a page allocated with "new".
December 13, 2000 G.Folger (global-V02-00-06)
- Added GNUmakefile to HEPRandom to handle "includes" gmake target.
@@ -1913,9 +1964,9 @@ November 20, 2000 G.Cosmo (global-V02-00-05)
November 3, 2000 G.Folger (global-V02-00-04)
- Added rules for "includes" target to GNUmakefile and management/GNUmakefile.
Added GNUmakefile in STLInterface for the "include" target.
November 1, 2000 G.Cosmo (global-V02-00-03)
- Moved geometry constants kHistoryMax, kHistoryStride and
- Moved geometry constants kHistoryMax, kHistoryStride and
kNavigatorVoxelStackMax to geomdefs.hh.
August 22, 2000 H.P.Wellisch
@@ -2097,7 +2148,7 @@ October 22, 99 G.Cosmo (global-V00-01-03)
- Added first implementation of wrapper files for ISO-ANSI migration:
added new directory management/include/g4std.
- Added definition of G4std keyword in G4Types.hh.
October 20, 99 G.Cosmo (global-V00-01-02)
- Tagged.
@@ -2111,7 +2162,7 @@ October 20, 99 J.Allison
October 6, 99 G.Cosmo (global-V00-01-01)
- STLInterface: Changed tolower/toupper to old implementation in cstring.h
(by F.Behner)
September 14, 99 G.Cosmo
- STLInterface: renamed classes HashPtr and Hash to G4HashPtr and G4Hash in
tphdict and tvhdict to make them compliant with G4 coding standards and
@@ -2212,7 +2263,7 @@ November 27, 98 M.Asai
- G4UnitsMessenger has been moved to intercoms category to avoid a loop dependency.
November 12, 98 K. Amako (global-00-03-05)
- Corrected a bug in the GetVectorLength() method of
- Corrected a bug in the GetVectorLength() method of
management/src/G4PhysicsVector.cc. The fixed bug has nothing
to do with the basic behavior of G4PhysicsVector.
@@ -2367,7 +2418,7 @@ April 09, 98 M.Maire
- Added new data and member functions to G4UserLimits class.
March 24, 98 G.Barrand
- GNUmakefile, GNUmakefile.architecture, GNUmakefile.common :
- GNUmakefile, GNUmakefile.architecture, GNUmakefile.common :
MAKESHLIB changed in G4MAKESHLIB
March 13, 98 G.Cosmo (global-00-04-04)
@@ -2408,15 +2459,15 @@ January 29, 98 G. Cosmo (global-00-03-02)
- Tagged global-00-03-02
January 29, 98 S. Sadilov
- Included new G4SYSTEMS for Win/NT platform: WIN32-VC-NICE and
- Included new G4SYSTEMS for Win/NT platform: WIN32-VC-NICE and
WIN32-G++-NICE in GNUmakefiles.architecture.
Added CLHEP, RW, architecture dependant variables and variables for
positional qualifiers (different between UNIX and VC).
- In GNUmakefile.common and GNUmakefile used $OUT_LIB introduced in
Added CLHEP, RW, architecture dependant variables and variables for
positional qualifiers (different between UNIX and VC).
- In GNUmakefile.common and GNUmakefile used $OUT_LIB introduced in
GNUmakefile.architecture as positional qualifier for creating
simple-libraries and composite-library.
- In GNUmakefile.common used $RWINCGPP introduced in GNUmakefiles.architecture
as right path on RW includes: different compilers (g++ for dependencies
as right path on RW includes: different compilers (g++ for dependencies
and VC compiler for buiding) use different RW.
January 27, 98 G. Cosmo (global-00-03-01)