Skip to content

Commit c9b32a6

Browse files
committed
Import Geant4 10.1.0 source tree
1 parent 286caac commit c9b32a6

File tree

6,020 files changed

+1058181
-374337
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,020 files changed

+1058181
-374337
lines changed

CMakeLists.txt

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# 21st September 2010 Ben Morgan
55
#
6-
# $Id: CMakeLists.txt 78013 2013-12-02 12:51:57Z gcosmo $
6+
# $Id: CMakeLists.txt 87059 2014-11-24 11:41:07Z gcosmo $
77
#
88

99
#------------------------------------------------------------------------------
@@ -22,13 +22,34 @@ endif()
2222
#------------------------------------------------------------------------------
2323
# - Define CMake requirements and override make rules as needed
2424
#
25-
cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)
25+
cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
26+
27+
# If Policy CMP0022 exists, use OLD because Geant4 still needs
28+
# to support versions < 2.8.12.
29+
# This relates to LINK_INTERFACE_LIBRARIES and can be removed once
30+
# minimum required CMake version reaches 2.8.12
31+
if(POLICY CMP0022)
32+
cmake_policy(SET CMP0022 OLD)
33+
endif()
34+
35+
# If Policy CMP0042 exists, use OLD to prefer the use of install names
36+
# instead of the new @rpath default. This is temporary to suppress warnings
37+
# on newer CMake versions.
38+
if(POLICY CMP0042)
39+
cmake_policy(SET CMP0042 OLD)
40+
endif()
41+
42+
# If Policy CMP0043 exists, use OLD because Geant4 still needs
43+
# to support Geant4 =< 2.8.12.
44+
# This relates to the use of generator expressions to set COMPILE_DEFINITIONS
45+
# and can be removed once the minimum required CMake version reaches 2.8.10.
46+
if(POLICY CMP0043)
47+
cmake_policy(SET CMP0043 OLD)
48+
endif()
49+
2650
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
2751
${CMAKE_SOURCE_DIR}/cmake/Modules/Geant4MakeRules_cxx.cmake)
2852

29-
#set(CMAKE_USER_MAKE_RULES_OVERRIDE_Fortran
30-
# ${CMAKE_SOURCE_DIR}/cmake/Modules/Geant4MakeRules_fortran.cmake)
31-
3253
#------------------------------------------------------------------------------
3354
# - Project definition
3455
#
@@ -51,9 +72,9 @@ set(CMAKE_MODULE_PATH
5172
# See the documentation in each of these modules for further details.
5273
#
5374
# - Versioning. We do this here for now
54-
set(${PROJECT_NAME}_VERSION "10.0.0")
75+
set(${PROJECT_NAME}_VERSION "10.1.0")
5576
set(${PROJECT_NAME}_VERSION_MAJOR "10")
56-
set(${PROJECT_NAME}_VERSION_MINOR "0")
77+
set(${PROJECT_NAME}_VERSION_MINOR "1")
5778
set(${PROJECT_NAME}_VERSION_PATCH "0")
5879

5980
# - Provide dependent options as these are needed for some Geant4 features
@@ -97,7 +118,7 @@ add_subdirectory(source)
97118
#----------------------------------------------------------------------------
98119
# - Perform all post build tasks
99120
# At the CMake level, this simply means that we must know about targets
100-
# and other properties processed in source and environments trees before
121+
# and other properties processed in source and environments trees before
101122
# these tasks can be performed.
102123
#
103124
#----------------------------------------------------------------------------

ReleaseNotes/Beta4.10.1-1.txt

Lines changed: 747 additions & 0 deletions
Large diffs are not rendered by default.

ReleaseNotes/Patch4.10.0-1.txt

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.

ReleaseNotes/Patch4.10.0-2.txt

Lines changed: 394 additions & 0 deletions
Large diffs are not rendered by default.

ReleaseNotes/Patch4.10.0-3.txt

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
2+
Geant4 10.0 - patch-03 Release Notes
3+
------------------------------------
4+
5+
31 October 2014
6+
7+
List of fixes included in this public patch since the public release 10.0.p02:
8+
9+
o Configuration:
10+
-------------
11+
+ CMake:
12+
o Append existing CMake CXX/EXE_LINKER flags to Geant4 flags when
13+
setting overall CMake flags. This allows users to override the base
14+
set if needed, at their own risk.
15+
Addressing problem report #1663.
16+
17+
o Analysis:
18+
--------
19+
+ Fixed applying unit to min, max values in H1, H2 managers.
20+
+ Fixed createH2/setH2 commands implementation.
21+
22+
o Geometry:
23+
--------
24+
+ management:
25+
o Fixed possible data-race condition among threads in G4GeomSplitter.
26+
+ navigation:
27+
o Fix in G4MultiNavigator to properly set 'fIdNavLimiting' index to
28+
navigator limiting the step, if only one navigator limits the step.
29+
o Removed unnecessary thread_local data specifications in
30+
G4ReplicaNavigation.
31+
+ solids/Boolean:
32+
o Fixed use of polyhedron pointer, to avoid race condition in MT
33+
when parameterised volumes are visualised.
34+
+ solids/CSG:
35+
o G4Cons: fixed typo error in GetPointOnSurface() in the call
36+
to GetRadiusInRing(). Responsible for occasionally wrong reports
37+
when checking for overlaps.
38+
o G4Cons: fix in DistanceToIn(p,v) for points on the Surface, to resolve
39+
error reported in unit testing by the OpticalEscape test.
40+
o Fixed use of polyhedron pointer, to avoid race condition in MT
41+
when parameterised volumes are visualised.
42+
+ solids/specific:
43+
o Fixed use of polyhedron pointer, to avoid race condition in MT
44+
when parameterised volumes are visualised.
45+
+ solids/usolids:
46+
o UCons: fixed typo error in GetPointOnSurface() in the call
47+
to GetRadiusInRing(). Responsible for occasionally wrong reports
48+
when checking for overlaps.
49+
Fix in DistanceToIn(p,v) for points on the Surface, to resolve
50+
error reported in unit testing by the OpticalEscape test.
51+
o USphere: fixed typo in SafetyFromInside().
52+
o Minor fix in UVector2 for variable shadowing.
53+
+ volumes:
54+
o Corrected possible MT data race in G4PVReplica::InitialiseWorker().
55+
56+
o Global:
57+
------
58+
+ Added symbol to exclusion list in windefs.h.
59+
+ Use G4Exp, G4Log and G4Pow to speedup G4JTPolynomialSolver.
60+
+ Updated date and version for 10.0.p03.
61+
62+
o Graphics Representations:
63+
------------------------
64+
+ HepPolyhedron::SetReferences(): added protection against a null pointer.
65+
+ BooleanProcessor::execute(): corrected spelling mistake in message.
66+
67+
o Particles:
68+
---------
69+
+ G4ElectronOccupancy: added G4Exception to protect against unphysical
70+
orbits.
71+
+ G4NuclideTable : Fix missing Cl35 ground state in NuclideTable2 and
72+
missing "*std::log(2.0)" in some comparison of threshold time.
73+
+ G4IonTable: fill decay channels when an ion is created on the fly to
74+
avoid race condition issue in multi-threaded mode.
75+
Addressing problem report #1651.
76+
+ Fix for possible race condition among threads in G4PDefSplitter.
77+
78+
o Physics Lists:
79+
-------------
80+
+ constructors/limiters:
81+
o Fixed possible data-race condition among threads in
82+
G4NeutronTrackingCut when calling G4MTcout (defect spotted with DRD).
83+
o G4NeutronTrackingCut: register G4NeutronKiller in
84+
G4HadronicProcessStore; improved log and process deleted at exit.
85+
o G4StepLimiterPhysics: fixed minor memory leak reported by Coverity.
86+
87+
o Processes - Electromagnetic :
88+
---------------------------
89+
+ High Energy:
90+
o Verified and updated positron annihilation models (G4Vee2hadrons,
91+
G4ee2KChargedModel, G4ee2KNeutralModel, G4eeTo3PiModel,
92+
G4eeToHadronsMultiModel, G4eeToPGammaModel, G4eeToTwoPiModel,
93+
G4eeToHadronsModel) and process G4eeToHadrons.
94+
This includes addition of extra inline methods to convert from Lab
95+
to CM, to initialise models with more correct thresholds.
96+
o G4eeTo3PiModel: fixed sampling algorithm.
97+
+ Low Energy:
98+
o Fixed cases of energy violation in G4LivermoreComptonModel and
99+
atomic de-excitation. Addressing problem report #1612.
100+
+ Standard:
101+
o G4PAIxSection: added protection to avoid division by zero.
102+
Addressing problem report #1677.
103+
104+
o Processes - Hadronic:
105+
--------------------
106+
+ models/de_excitation:
107+
o Converted G4FermiFragmentsPool to be a G4ThreadLocalSingleton, to fix
108+
cases of data race due to lazy initialisation. Effects: sligthly
109+
increase of memory per thread; no effects in physics.
110+
+ models/im_r_matrix:
111+
o Fixed out of bound error in G4DetailedBalancePhaseSpaceIntegral,
112+
reported by Coverity.
113+
+ models/inclxx:
114+
o Fix a bug in Coulomb deflection for negative incident particles.
115+
o Fix: avoid negative Fermi energies for delta resonances.
116+
+ models/pre_equilibrium:
117+
o G4PreCompoundAlpha: fixed integer overflow.
118+
Addressing problem report #1646.
119+
+ models/quasi_elastic:
120+
o Removed potential data-race condition among threads.
121+
Addressing problem report #1652.
122+
+ models/radioactive_decay:
123+
o Fixed memory leak in destructor of G4RIsotopeTable.
124+
Addressing problem report #1617.
125+
126+
o Run:
127+
-------
128+
+ Fixed data-race condition among threads when creating RNG for workers.
129+
+ Fixed '/random/setSeeds' command not working properly.
130+
Addressing problem report #1657.
131+
+ Fixed potential race condition among threads in G4VUPLSplitter class.
132+
+ G4PhysicsListHelper: minor fix in the default list of processes:
133+
positron annihilation in muons and hadrons cannot be AtRest; these are
134+
rare high energy discrete processes. Equivalent fix done for
135+
OrderingParameterTable().
136+
Addressiong problem report #1598.
137+
+ Clear root logical volume pointers in G4Region when geometry is
138+
rebuilt from scratch. Addressing problem report #1665.
139+
+ G4MTRunManager: make sure G4RunManager::TerminateEventLoop() is
140+
invoked at the end of run.
141+
+ Addressing possible data-race in G4RunManagerKernel::SetupPhysics()
142+
when calling G4ParticleTable::SetReadiness().
143+
144+
o Visualization:
145+
-------------
146+
+ gMocren:
147+
o Fixed memory leak in G4GMocrenFile. Addressing problem report #1585.
148+
149+
150+
o Examples:
151+
--------
152+
+ Updated reference outputs.
153+
+ extended/runAndEvent/RE05:
154+
o Reduced amount of print-out.
155+
+ extended/runAndEvent/RE06:
156+
o Added Boolean protection in ConstructSD methods for MT.
157+
158+
159+
----------------------------------------------------------------------------
160+
161+
Technical Notes
162+
---------------
163+
164+
o This patch should be applied on top of release 10.0, 10.0.p01 or 10.0.p02.
165+
o Technical notes distributed for release 10.0 are also applicable and
166+
valid for this patch.
167+
168+
The code and rebuilt binary libraries for release 10.0.p03 are available
169+
through our "Download" Web page:
170+
http://cern.ch/geant4/support/download.shtml
171+
172+
Please refer to the Geant4 User Documentation:
173+
http://cern.ch/geant4/support/userdocuments.shtml
174+
for further information about using Geant4.

0 commit comments

Comments
 (0)