Skip to content

Commit

Permalink
Import Geant4 10.1.0 source tree
Browse files Browse the repository at this point in the history
  • Loading branch information
gcosmo committed Jun 10, 2016
1 parent 286caac commit c9b32a6
Show file tree
Hide file tree
Showing 6,020 changed files with 1,058,181 additions and 374,337 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
37 changes: 29 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# 21st September 2010 Ben Morgan
#
# $Id: CMakeLists.txt 78013 2013-12-02 12:51:57Z gcosmo $
# $Id: CMakeLists.txt 87059 2014-11-24 11:41:07Z gcosmo $
#

#------------------------------------------------------------------------------
Expand All @@ -22,13 +22,34 @@ endif()
#------------------------------------------------------------------------------
# - Define CMake requirements and override make rules as needed
#
cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)
cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)

# If Policy CMP0022 exists, use OLD because Geant4 still needs
# to support versions < 2.8.12.
# This relates to LINK_INTERFACE_LIBRARIES and can be removed once
# minimum required CMake version reaches 2.8.12
if(POLICY CMP0022)
cmake_policy(SET CMP0022 OLD)
endif()

# If Policy CMP0042 exists, use OLD to prefer the use of install names
# instead of the new @rpath default. This is temporary to suppress warnings
# on newer CMake versions.
if(POLICY CMP0042)
cmake_policy(SET CMP0042 OLD)
endif()

# If Policy CMP0043 exists, use OLD because Geant4 still needs
# to support Geant4 =< 2.8.12.
# This relates to the use of generator expressions to set COMPILE_DEFINITIONS
# and can be removed once the minimum required CMake version reaches 2.8.10.
if(POLICY CMP0043)
cmake_policy(SET CMP0043 OLD)
endif()

set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
${CMAKE_SOURCE_DIR}/cmake/Modules/Geant4MakeRules_cxx.cmake)

#set(CMAKE_USER_MAKE_RULES_OVERRIDE_Fortran
# ${CMAKE_SOURCE_DIR}/cmake/Modules/Geant4MakeRules_fortran.cmake)

#------------------------------------------------------------------------------
# - Project definition
#
Expand All @@ -51,9 +72,9 @@ set(CMAKE_MODULE_PATH
# See the documentation in each of these modules for further details.
#
# - Versioning. We do this here for now
set(${PROJECT_NAME}_VERSION "10.0.0")
set(${PROJECT_NAME}_VERSION "10.1.0")
set(${PROJECT_NAME}_VERSION_MAJOR "10")
set(${PROJECT_NAME}_VERSION_MINOR "0")
set(${PROJECT_NAME}_VERSION_MINOR "1")
set(${PROJECT_NAME}_VERSION_PATCH "0")

# - Provide dependent options as these are needed for some Geant4 features
Expand Down Expand Up @@ -97,7 +118,7 @@ add_subdirectory(source)
#----------------------------------------------------------------------------
# - Perform all post build tasks
# At the CMake level, this simply means that we must know about targets
# and other properties processed in source and environments trees before
# and other properties processed in source and environments trees before
# these tasks can be performed.
#
#----------------------------------------------------------------------------
Expand Down
747 changes: 747 additions & 0 deletions ReleaseNotes/Beta4.10.1-1.txt

Large diffs are not rendered by default.

340 changes: 340 additions & 0 deletions ReleaseNotes/Patch4.10.0-1.txt

Large diffs are not rendered by default.

394 changes: 394 additions & 0 deletions ReleaseNotes/Patch4.10.0-2.txt

Large diffs are not rendered by default.

174 changes: 174 additions & 0 deletions ReleaseNotes/Patch4.10.0-3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@

Geant4 10.0 - patch-03 Release Notes
------------------------------------

31 October 2014

List of fixes included in this public patch since the public release 10.0.p02:

o Configuration:
-------------
+ CMake:
o Append existing CMake CXX/EXE_LINKER flags to Geant4 flags when
setting overall CMake flags. This allows users to override the base
set if needed, at their own risk.
Addressing problem report #1663.

o Analysis:
--------
+ Fixed applying unit to min, max values in H1, H2 managers.
+ Fixed createH2/setH2 commands implementation.

o Geometry:
--------
+ management:
o Fixed possible data-race condition among threads in G4GeomSplitter.
+ navigation:
o Fix in G4MultiNavigator to properly set 'fIdNavLimiting' index to
navigator limiting the step, if only one navigator limits the step.
o Removed unnecessary thread_local data specifications in
G4ReplicaNavigation.
+ solids/Boolean:
o Fixed use of polyhedron pointer, to avoid race condition in MT
when parameterised volumes are visualised.
+ solids/CSG:
o G4Cons: fixed typo error in GetPointOnSurface() in the call
to GetRadiusInRing(). Responsible for occasionally wrong reports
when checking for overlaps.
o G4Cons: fix in DistanceToIn(p,v) for points on the Surface, to resolve
error reported in unit testing by the OpticalEscape test.
o Fixed use of polyhedron pointer, to avoid race condition in MT
when parameterised volumes are visualised.
+ solids/specific:
o Fixed use of polyhedron pointer, to avoid race condition in MT
when parameterised volumes are visualised.
+ solids/usolids:
o UCons: fixed typo error in GetPointOnSurface() in the call
to GetRadiusInRing(). Responsible for occasionally wrong reports
when checking for overlaps.
Fix in DistanceToIn(p,v) for points on the Surface, to resolve
error reported in unit testing by the OpticalEscape test.
o USphere: fixed typo in SafetyFromInside().
o Minor fix in UVector2 for variable shadowing.
+ volumes:
o Corrected possible MT data race in G4PVReplica::InitialiseWorker().

o Global:
------
+ Added symbol to exclusion list in windefs.h.
+ Use G4Exp, G4Log and G4Pow to speedup G4JTPolynomialSolver.
+ Updated date and version for 10.0.p03.

o Graphics Representations:
------------------------
+ HepPolyhedron::SetReferences(): added protection against a null pointer.
+ BooleanProcessor::execute(): corrected spelling mistake in message.

o Particles:
---------
+ G4ElectronOccupancy: added G4Exception to protect against unphysical
orbits.
+ G4NuclideTable : Fix missing Cl35 ground state in NuclideTable2 and
missing "*std::log(2.0)" in some comparison of threshold time.
+ G4IonTable: fill decay channels when an ion is created on the fly to
avoid race condition issue in multi-threaded mode.
Addressing problem report #1651.
+ Fix for possible race condition among threads in G4PDefSplitter.

o Physics Lists:
-------------
+ constructors/limiters:
o Fixed possible data-race condition among threads in
G4NeutronTrackingCut when calling G4MTcout (defect spotted with DRD).
o G4NeutronTrackingCut: register G4NeutronKiller in
G4HadronicProcessStore; improved log and process deleted at exit.
o G4StepLimiterPhysics: fixed minor memory leak reported by Coverity.

o Processes - Electromagnetic :
---------------------------
+ High Energy:
o Verified and updated positron annihilation models (G4Vee2hadrons,
G4ee2KChargedModel, G4ee2KNeutralModel, G4eeTo3PiModel,
G4eeToHadronsMultiModel, G4eeToPGammaModel, G4eeToTwoPiModel,
G4eeToHadronsModel) and process G4eeToHadrons.
This includes addition of extra inline methods to convert from Lab
to CM, to initialise models with more correct thresholds.
o G4eeTo3PiModel: fixed sampling algorithm.
+ Low Energy:
o Fixed cases of energy violation in G4LivermoreComptonModel and
atomic de-excitation. Addressing problem report #1612.
+ Standard:
o G4PAIxSection: added protection to avoid division by zero.
Addressing problem report #1677.

o Processes - Hadronic:
--------------------
+ models/de_excitation:
o Converted G4FermiFragmentsPool to be a G4ThreadLocalSingleton, to fix
cases of data race due to lazy initialisation. Effects: sligthly
increase of memory per thread; no effects in physics.
+ models/im_r_matrix:
o Fixed out of bound error in G4DetailedBalancePhaseSpaceIntegral,
reported by Coverity.
+ models/inclxx:
o Fix a bug in Coulomb deflection for negative incident particles.
o Fix: avoid negative Fermi energies for delta resonances.
+ models/pre_equilibrium:
o G4PreCompoundAlpha: fixed integer overflow.
Addressing problem report #1646.
+ models/quasi_elastic:
o Removed potential data-race condition among threads.
Addressing problem report #1652.
+ models/radioactive_decay:
o Fixed memory leak in destructor of G4RIsotopeTable.
Addressing problem report #1617.

o Run:
-------
+ Fixed data-race condition among threads when creating RNG for workers.
+ Fixed '/random/setSeeds' command not working properly.
Addressing problem report #1657.
+ Fixed potential race condition among threads in G4VUPLSplitter class.
+ G4PhysicsListHelper: minor fix in the default list of processes:
positron annihilation in muons and hadrons cannot be AtRest; these are
rare high energy discrete processes. Equivalent fix done for
OrderingParameterTable().
Addressiong problem report #1598.
+ Clear root logical volume pointers in G4Region when geometry is
rebuilt from scratch. Addressing problem report #1665.
+ G4MTRunManager: make sure G4RunManager::TerminateEventLoop() is
invoked at the end of run.
+ Addressing possible data-race in G4RunManagerKernel::SetupPhysics()
when calling G4ParticleTable::SetReadiness().

o Visualization:
-------------
+ gMocren:
o Fixed memory leak in G4GMocrenFile. Addressing problem report #1585.


o Examples:
--------
+ Updated reference outputs.
+ extended/runAndEvent/RE05:
o Reduced amount of print-out.
+ extended/runAndEvent/RE06:
o Added Boolean protection in ConstructSD methods for MT.


----------------------------------------------------------------------------

Technical Notes
---------------

o This patch should be applied on top of release 10.0, 10.0.p01 or 10.0.p02.
o Technical notes distributed for release 10.0 are also applicable and
valid for this patch.

The code and rebuilt binary libraries for release 10.0.p03 are available
through our "Download" Web page:
http://cern.ch/geant4/support/download.shtml

Please refer to the Geant4 User Documentation:
http://cern.ch/geant4/support/userdocuments.shtml
for further information about using Geant4.
Loading

0 comments on commit c9b32a6

Please sign in to comment.