|
| 1 | + |
| 2 | + Geant4 10.2 - patch-03 Release Notes |
| 3 | + ------------------------------------ |
| 4 | + |
| 5 | + 27 January 2017 |
| 6 | + |
| 7 | +List of fixes included in this public patch since the public release 10.2.p02: |
| 8 | + |
| 9 | + o Configuration: |
| 10 | + ------------- |
| 11 | + + CMake: |
| 12 | + o Correctly export USolids/VecGeom settings to GNUmake configuration |
| 13 | + scripts. |
| 14 | + o Provided placeholder variable for adding setting of XercesC library |
| 15 | + path. Addressing problem report #1877. |
| 16 | + |
| 17 | + o Analysis |
| 18 | + -------- |
| 19 | + + Fixed incompatibility with ROOT 5.x and 6.x formats. |
| 20 | + + Fixed compilation warnings and MacOSX and Win64. |
| 21 | + |
| 22 | + o Error-Propagation |
| 23 | + ----------------- |
| 24 | + + G4ErrorPhysicsList: replaced direct use of 'aParticleIterator' with |
| 25 | + GetParticleIterator(), to allow for porting on clang-3.9 and XCode-8 |
| 26 | + on MacOS. |
| 27 | + |
| 28 | + o Event: |
| 29 | + ----- |
| 30 | + + Fixed way of deleting G4PrimaryVertex objects to avoid stack overflow |
| 31 | + for very large number of primary vertices. |
| 32 | + + Set polarization to pre-assigned decay products in G4PrimaryTransformer. |
| 33 | + Addressing problem report #1914. |
| 34 | + |
| 35 | + o Geometry: |
| 36 | + -------- |
| 37 | + + magnetic-field: |
| 38 | + o Fixed G4ClassicalRK4 header with protection against multiple inclusions. |
| 39 | + + management: |
| 40 | + o Moved initialisation of G4GeomSplitter thread-local data to be inline |
| 41 | + along with generic template type; moved accessors/modifiers for splitter |
| 42 | + data to non-inline in G4Region, G4LogicalVolume and G4VPhysicalVolume. |
| 43 | + Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS. |
| 44 | + o Removed redundant check in G4GeomSplitter::UseWorkArea(). |
| 45 | + Addressing problem report #1876. |
| 46 | + + navigation: |
| 47 | + o Fixed recursion test for overlaps in G4GeomTestVolume to iterate on |
| 48 | + all daughters. |
| 49 | + o G4ReplicaNavigation: use Cartesian tolerance in distance evaluation |
| 50 | + in DistanceToOutPhi(). Addressing problem report #1902. |
| 51 | + o G4Navigator: in ComputeStep() force abortion of event if track gets |
| 52 | + really stuck, but avoid check for overlaps if push-verbosity is set to |
| 53 | + false. Extended printout for stuck tracks, to show also local |
| 54 | + coordinates. |
| 55 | + o Fix in G4Navigator::GetGlobalExitNormal() to synchronise caching of |
| 56 | + 'fExitNormalGlobalFrame' before returning. |
| 57 | + Addressing problem report #1750. |
| 58 | + Added more diagnostics in G4VERBOSE mode. |
| 59 | + o G4PhantomParameterisation: revisited precision checks. |
| 60 | + o G4PropagatorInField: fix to pass accuracy values to Intersection Locator |
| 61 | + after re-evaluating epsilon. |
| 62 | + o Added annotations for while-do loops. |
| 63 | + + solids/Boolean: |
| 64 | + o G4SubtractionSolid: directly return previously computed distance in |
| 65 | + DistanceToIn(p,v) if no progress is made (zero step). |
| 66 | + + solids/CSG: |
| 67 | + o Disabled check for intersection of cut planes in G4CutTubs constructor, |
| 68 | + as too strict and not necessary. Addressing problem report #1887. |
| 69 | + o Use G4RandFlat instead of RandFlat. |
| 70 | + + solids/specific: |
| 71 | + o Moved accessors/modifiers for splitter data to non-inline in |
| 72 | + G4PolyhedraSide and G4PolyconeSide. Moved initialisation of |
| 73 | + G4GeomSplitter thread-local data to be inline along with generic |
| 74 | + template type. |
| 75 | + Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS. |
| 76 | + o Fixed minor typo in function Create() for G4Polycone, G4Polyhedra and |
| 77 | + G4GenericPolycone. Fixed minor typos in G4GenericTrap::SurfaceNormal() |
| 78 | + and G4VTwistSurface::CurrentStatus::ResetfDone(). |
| 79 | + Addressing problem report #1876. |
| 80 | + o Use G4RandFlat instead of RandFlat. |
| 81 | + + volumes: |
| 82 | + o Correction in G4NavigationHistory default constructor to use |
| 83 | + GetLevels() instead of GetNewLevels() from G4NavigationHistoryPool, |
| 84 | + to favor re-use of already allocated space. |
| 85 | + Corrected printout in streaming operator. |
| 86 | + o Moved initialisation of G4GeomSplitter thread-local data to be inline |
| 87 | + along with generic template type. |
| 88 | + Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS. |
| 89 | + |
| 90 | + o Global: |
| 91 | + ------ |
| 92 | + + G4StatDouble: fixed computation of RMS and added new constructor. |
| 93 | + + G4UnitsTable: use 'hep_pascal' instead of 'pascal' to avoid potential |
| 94 | + symbol conflicts on Windows. |
| 95 | + + Made initialisation of G4TWorkspacePool thread-local data to be inline |
| 96 | + along with generic template type. Fixing compilation/linking errors on |
| 97 | + clang-3.9 and XCode-8 on MacOS. |
| 98 | + + Fixed compilation warning on MacOS Sierra in MT mode in function |
| 99 | + G4Threading::G4GetPidId(). |
| 100 | + + Updated date and version for 10.2.p03. |
| 101 | + |
| 102 | + o Graphics Representations: |
| 103 | + ------------------------ |
| 104 | + + G4VisAttributes::GetInvisible(): changed to use a static instance instead |
| 105 | + of G4VisAttributes::Invisible; moved implementation to be not inline. |
| 106 | + Deprecated G4VisAttributes::Invisible. |
| 107 | + |
| 108 | + o Materials: |
| 109 | + --------- |
| 110 | + + Fixed incorrectly calculated index for MicroRoughness lookup table |
| 111 | + in G4UCNMaterialPropertiesTable. Fixed incorrectly calculated |
| 112 | + MicroRoughness amplitude in G4UCNMicroRoughnessHelper. |
| 113 | + |
| 114 | + o Parameterisations: |
| 115 | + ----------------- |
| 116 | + + gflash: |
| 117 | + o Fixed memory leak in GVFlashShowerParameterisation. |
| 118 | + o Removed redundant condition in GFlashHitMaker::make(). |
| 119 | + Addressing problem report #1876. |
| 120 | + |
| 121 | + o Particles: |
| 122 | + --------- |
| 123 | + + Fixed way of deleting G4PrimaryVertex and G4PrimaryParticle objects |
| 124 | + to avoid stack overflow for very large number of primary vertices or |
| 125 | + primary particles. |
| 126 | + + Fixed calculation of neutrino mass in G4MuonRadiativeDecayWithSpin. |
| 127 | + Addressing problem report #1928. |
| 128 | + + Replaced use of obsolete G4PDefSplitter class by G4PDefManager, concrete |
| 129 | + class with implementation. This addresses initialisation problems of |
| 130 | + static data previously in template. |
| 131 | + Moved accessors/modifiers for splitter data to non-inline in |
| 132 | + G4ParticleDefinition and moved initialisation of Splitter thread-local |
| 133 | + data to be inline along with generic template type. |
| 134 | + Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS. |
| 135 | + |
| 136 | + o Persistency: |
| 137 | + ----------- |
| 138 | + + GDML: |
| 139 | + o Fixed check for correctness of the units for divisions and replicas |
| 140 | + along angular axis. Addressing problem report #1912. |
| 141 | + + mctruth: |
| 142 | + o Fixed typo in G4PersistencyCenterMessenger::GetCurrentValue() in |
| 143 | + selection of verbose mode. Addressing problem report #1876. |
| 144 | + |
| 145 | + o Physics Lists |
| 146 | + ------------- |
| 147 | + + Replaced direct use of aParticleIterator by GetParticleIterator(). |
| 148 | + Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS. |
| 149 | + |
| 150 | + o Processes - Electromagnetic: |
| 151 | + --------------------------- |
| 152 | + + dna: |
| 153 | + o Removed check of c++ version for unique_ptr/auto_ptr selection in |
| 154 | + G4MoleculeCounter. |
| 155 | + + lowenergy: |
| 156 | + o Removed verbosity in G4AtomicTransitionManager. |
| 157 | + Addressing problem report #1874. |
| 158 | + o Fixed typo in G4hParameterisedLossModel. |
| 159 | + Addressing problem report #1876. |
| 160 | + + utils: |
| 161 | + o G4EmBiasingManager: fixed typo in condition. |
| 162 | + Addressing problem report #1876. |
| 163 | + |
| 164 | + o Processes - Hadronic: |
| 165 | + -------------------- |
| 166 | + + models/im_r_matrix: |
| 167 | + o G4VScatteringCollision: fixed memory leak in MT-mode. |
| 168 | + Addressing problem report #1905. |
| 169 | + + models/lend: |
| 170 | + o Fixed to use G4Random. |
| 171 | + o Improved memory consumption in multi-threaded runs. |
| 172 | + o Fixed compilation warning in GCC with -O3 optimisation option. |
| 173 | + + models/particle_hp: |
| 174 | + o Reintroduced cache of cross-section in GetIsoCrossSection(). |
| 175 | + Fixing CPU performance penalty introduced in release 10.2 on HP |
| 176 | + processes. |
| 177 | + o Fixed warning messages on clang-3.8, |
| 178 | + + processes: |
| 179 | + o UCN processes: fixed incorrectly calculated MicroRoughness correction |
| 180 | + to absorption probability. Corrected calculation of refracted velocity |
| 181 | + after transmission. |
| 182 | + + util: |
| 183 | + o Fix in G4Nucleus::GetThermalNucleus() in branch on total energy |
| 184 | + calculation using relativistic energy at higher energies. |
| 185 | + Addressing problem report #1911. |
| 186 | + |
| 187 | + o Processes - Optical: |
| 188 | + ------------------- |
| 189 | + + Fixed potential problem of photon stuck when traveling almost |
| 190 | + perpendicular to the surface normal. Addressing problem report #1888. |
| 191 | + |
| 192 | + o Run: |
| 193 | + --- |
| 194 | + + Added method GetParticleIterator() in G4VPhysicsConstructor and in |
| 195 | + G4VUserPhysicsList. Mved static GetInstance() method in G4RNGHelper to be |
| 196 | + not inline. Moved initialisation of G4VUPLSplitter thread-local data to |
| 197 | + be inline along with generic template type. |
| 198 | + Removed explicit initialisation of thread-local data from workspaces, |
| 199 | + as now happening inline in G4TWorkspacePool. |
| 200 | + Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS. |
| 201 | + + Removed redundant check in G4VUPLSplitter::UseWorkArea(). |
| 202 | + Addressing problem report #1876. |
| 203 | + + G4WorkerRunManager: minor printout improvement. |
| 204 | + |
| 205 | + o Visualization: |
| 206 | + ------------- |
| 207 | + + management: |
| 208 | + o G4Scene: replaced warning reference to obsolete |
| 209 | + G4VisAttributes::Invisible to G4VisAttributes::GetInvisible(). |
| 210 | + + OpenGL: |
| 211 | + o Fixed compilation warning on Win64. |
| 212 | + |
| 213 | + o Examples: |
| 214 | + -------- |
| 215 | + + Updated reference outputs. |
| 216 | + + Replaced direct use of 'a/theParticleIterator' with GetParticleIterator(). |
| 217 | + |
| 218 | + ---------------------------------------------------------------------------- |
| 219 | + |
| 220 | + Technical Notes |
| 221 | + --------------- |
| 222 | + |
| 223 | + o This patch should be applied on top of release 10.2. |
| 224 | + o Technical notes distributed for release 10.2 are also applicable and |
| 225 | + valid for this patch. |
| 226 | + |
| 227 | +The code and rebuilt binary libraries for release 10.2.p03 are available |
| 228 | +through our "Download" Web page. |
| 229 | + |
| 230 | +Please refer to the Geant4 User Documentation for further information about |
| 231 | +using Geant4. |
0 commit comments