Warning, /geant4/CHANGELOG/Patch.11.2-2.txt is written in an unsupported language. File is not indexed.
0001
0002 Geant4 11.2 - patch-02 Release Notes
0003 ------------------------------------
0004
0005 21 June 2024
0006
0007 List of fixes included in this public patch since the public release 11.2.1:
0008
0009 o Configuration
0010 -------------
0011 + CMake:
0012 o Fix to do not export HDF5 version to Geant4Config.
0013 o Fixed find_package(SoXt) and find_package(SoWin).
0014 o In main CMake source script, VTK driver library requires the application
0015 of VTK's vtk_module_autoinit cmake function, but the existence of the
0016 target was not checked, leading to configure time errors. Check for the
0017 existence of both G4visVTK and G4visVTK-static targets before applying
0018 vtk_module_autoinit. Addressing problem report #2600.
0019 o Mention the possibility of using cvmfs datasets in the cmake configuration.
0020 o Updated FindPythia6 module to account for lib64.
0021 Applies GitHub PR#63 (https://github.com/Geant4/geant4/pull/63).
0022 o Disabled use of FindPythia6 outside of internal Geant4 examples.
0023 o Updated FindPythia8 module to reduce capability to only that required by
0024 py8decayer example and emit error if used in project outside Geant4 or
0025 py8decayer. Applies GitHub PR#68 (https://github.com/Geant4/geant4/pull/68).
0026 o Fixed escaping of regex in geant4_module_check to satisfy latest Python3.
0027 o Updated dataset: G4NDL-4.7.1.
0028
0029 o Analysis
0030 --------
0031 + Do not delete G4Accumulable<T> default constructor, as it prevents from
0032 using it in an array without an explicit initialization in the header.
0033 + Fixed wrong conversion to G4String in G4THnToolsManager, leading to
0034 compilation error on gcc compiler with C++23 Standard enabled.
0035
0036 o Digits_Hits
0037 -----------
0038 + Fixed compilation error in G4THitsMap on macOS/clang with C++23 Standard
0039 enabled.
0040
0041 o Externals
0042 ---------
0043 + g4tools:
0044 o Fixed compilation warnings on gcc when LTO settings are enabled.
0045 o Fixed string assignments in 'window' and 'pixwin', to support either
0046 UNICODE or UTF-16 encoding on Windows. Addressing problem report #2599.
0047 + ptl:
0048 o Changed Windows.h to windows.h, to allow build Windows/MinGW.
0049 Not relevant for native VC++ builds.
0050
0051 o Geometry
0052 --------
0053 + magnetic_field:
0054 o Fixed potential uninitialised data, detected in ATLAS LTO builds.
0055 + navigation:
0056 o Fixed compilation error in G4Navigator on Windows VC++ with C++20 Standard
0057 enabled. Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69).
0058 + solids/specific:
0059 o Use std::size_t for array sizes in G4PolyhedraSide and G4PolyPhiFace,
0060 fixing compilation warnings on gcc when LTO settings are enabled.
0061 + volumes:
0062 o Use std::map instead of std::vector to define G4LogicalSkinSurfaceTable,
0063 to speedup search of skin surfaces in large tables, as already done
0064 previously for G4LogicalBorderSurface. Addressing problem report #2598.
0065
0066 o Global
0067 ------
0068 + Changed Windows.h to windows.h, to allow build Windows/MinGW.
0069 Not relevant for native VC++ builds. Use _WIN32 to detect Windows system.
0070 + Fixed compilation error in G4PhysicsModelCatalog on Windows VC++ with
0071 C++20 Standard enabled.
0072 Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69).
0073 + Provide helpful error message when GEANT4_DATA_DIR is set to an invalid
0074 location.
0075 + Updated date and version for 11.2.2.
0076
0077 o Intercoms
0078 ---------
0079 + G4UIparsing: checking either 'int' or 'long int' parameter value are
0080 within range of G4int or G4long.
0081 + Fix in G4GenericMessenger::DeclareMethod() which was wrongly converting
0082 valid Boolean parameters. Improved SetNewValue() function.
0083 Addressing problem report #2606.
0084
0085 o Interfaces
0086 ----------
0087 + Use std::size_t as arrays size in G4InteractorMessenger and G4UIArrayString,
0088 fixing compilation warnings on gcc when LTO settings are enabled
0089 + Fixed string assignments in G4Win32 and G4UIWin32, to support either
0090 UNICODE or UTF-16 encoding on Windows. Addressing problem report #2599.
0091
0092 o Materials
0093 ---------
0094 + Fix in G4NistMaterialBuilder::HepAndNuclearMaterials(): G4_BRASS,
0095 G4_BRONZE and G4_STAILESS_STEEL are now defined using mass fractions
0096 of components instead of number of atoms, in order to have more natural
0097 description. Addressing problem report #2601.
0098 Results may be changed on level of 10^-5 due to numerical differences.
0099
0100 o Persistency
0101 -----------
0102 + GDML:
0103 o Disabled schema validation on Windows platforms, as XercesC currently does
0104 support only 'http'.
0105 o Fix in schema module gdml_solids.xsd for tessellated solid semantics, to
0106 correctly reference facet types. Fixes schema validation errors which may
0107 occur on some custom XSD validation tools (fix included in GDML-3.1.7).
0108 o Use std::map instead of std::vector to iterate on logical-skin surfaces
0109 in G4GDMLWriteStructure::GetSkinSurface().
0110 Part of fix addressing problem report #2598.
0111
0112 o Physics Lists
0113 -------------
0114 + lists:
0115 o G4PhysListFactory: added three new variants of 'Shielding' physics list,
0116 using the model G4LightIonQMDReaction: 'ShieldingLIQMD', 'ShieldingLIQMD_HP'
0117 and 'ShieldingLIQMD_HPT'. Addressing problem report #2615.
0118 Note that 'ShieldingLIQMD' and 'ShieldingLIQMD_HP' refer to the same
0119 configuration, the latter is introduced only for consistency.
0120
0121 o Processes - Electromagnetic
0122 ---------------------------
0123 + dna:
0124 o Fixed compilation error on Windows VC++ with C++20 Standard enabled.
0125 Added missing declarations for TG4MoleculeShoot specialisations on G4Track.
0126 Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69).
0127 o Fixed compilation error on macOS/clang with C++23 enabled, for the use
0128 of std::function in G4OctreeFinder.
0129 + standard:
0130 o G4BetheHeitler5DModel: fixed computation of sinTheta sampling and added
0131 checks on arguments of G4Exp in SampleSecondaries() method, to avoid FPE
0132 problems in the case of -O3 optimisation on alma9.
0133 + utils:
0134 o G4EmUtility: simplified computation of cross-section maximum for
0135 discrete processes to fix FPE issues on alma9 when -O3 compiler
0136 option is used.
0137 o Fixed compilation error in G4EmConfigurator on Windows VC++ with
0138 C++20 Standard enabled.
0139 Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69).
0140
0141 o Processes - Hadronic
0142 --------------------
0143 + models/binary_cascade:
0144 o Removed throwing of exception if momentum cannot be corrected in rare
0145 cases for D + H around 1600 MeV; the initial state is now kept unchanged
0146 instead.
0147 + models/coherent_elastic:
0148 o Fixed compilation warnings for potentially initialised local variables
0149 in SampleThetaCMS() for G4DiffuseElastic and G4NuclNuclDiffuseElastic.
0150 + models/lend:
0151 o Fixed compilation warnings for potentially initialised local variables
0152 in ptwXY_createFromFunctionZeroCrossing().
0153 o Define _USE_MATH_DEFINES before inclusion of <cmath> to define
0154 non-standard math macros such as M_PI on Windows. Use _WIN32 instead of
0155 WIN32 to detect Windows system. Use basetsd.h instead of BaseTsd.h to
0156 allow for compilation on Windows/MinGW.
0157 + models/inclxx:
0158 o Fix in G4INCLInteractionAvatar to not use local energy for all antibaryons.
0159 + models/particle_hp:
0160 o G4CrossSectionHP: fixed method taking into account temperature effect
0161 (the difference due to this fix is small).
0162 Fixed elastic and capture cross-sections in Argon, by using only the main
0163 isotope Z=18, A=40 (there was up to 50% overestimation of cross-sections
0164 due to wrong data for rare isotopes of argon).
0165 Fixed cross-sections for rare target atoms Promethium, Astatine, Radon
0166 and Francium.
0167 o Fixed compilation error in G4ParticleHPManager and G4ParticleHPNames on
0168 Windows VC++ with C++20 Standard enabled.
0169 Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69).
0170 o Fixed remaining compilation warnings on gcc compiler when LTO settings
0171 are enabled.
0172 + radioactive_decay:
0173 o G4BetaPlusDecay, G4BetaMinusDecay: added extra numerical protection on
0174 level of 1 eV to avoid precision lost and production of neutrino with
0175 negative kinetic energy. In case Q-value is bigger than mass difference,
0176 betas in the tail of the spectrum may have more energy than residual free
0177 energy. To minimize the non-conservation of 4-momentum, in such cases,
0178 neutrino and daughter nucleus are given 1 eV, leading to non conservation
0179 of linear momentum because momentum of beta is not counterbalanced.
0180
0181 o processes - solidstate/phonon
0182 -----------------------------
0183 + Fixed compilation error in G4LatticeManager on Windows VC++ with
0184 C++20 Standard enabled.
0185 Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69).
0186
0187 o processes/optical
0188 -----------------
0189 + G4OpBoundaryProcess: correctly calculate Fresnel reflection/refraction,
0190 when material property TRANSMITTANCE is specified. The ratio of Fresnel
0191 reflection/refraction now does not change when a non-zero transmission is
0192 specified. Previously, if transmission of X% was specified, there would be
0193 transmission of X% as expected, but the ratio of Fresnel refraction to
0194 Fresnel reflection would be set to X%. Addressing problem report #2578.
0195
0196 o Track
0197 -----
0198 + Fixed compilation error in G4VParticleChange on Windows VC++ with
0199 C++20 Standard enabled.
0200 Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69).
0201
0202 o Visualization
0203 -------------
0204 + management:
0205 o G4VisExecutive: fixed use of static symbol 'fVerbosity' and replaced
0206 with call to dedicated static method, to avoid linkage problems on Windows.
0207 + Qt3D:
0208 o Fixed compilation error on Windows for ambiguous string assignment in
0209 G4Qt3DSceneHandler::CreateNewNode().
0210 + Vtk:
0211 o Porting code to compile on Windows Visual-Studio.
0212 o Fixed Ubuntu 22 & VTK 9.1 compilation error.
0213
0214 o Data
0215 ----
0216 + G4NDL-4.7.1:
0217 o Removed all files for Argon-36 and Argon-38 as significantly different
0218 from those of ENDF/B-VIII.0.
0219 o Reprocessed thermal scattering files after fixing a problem in NJOY.
0220 Addressing problem report #2552.
0221
0222 o Examples
0223 --------
0224 + advanced/ChargeExchangeMC
0225 o Disabled GDML schema validation.
0226 + advanced/hadrontherapy:
0227 o Fixed compilation error on Windows VC++ with C++20 Standard enabled.
0228 + medical_linac:
0229 o Fixed geometry of medical linear accelerator's collimator.
0230 + extended/biasing:
0231 o Fixed URls in documentation.
0232 + extended/eventgenerator:
0233 o Updated CMake scripts to use new Pythia8 setup/build variables.
0234 + extended/hadronic/FlukaCern/ProcessLevel/FinalState:
0235 + extended/hadronic/Hadr09:
0236 o Fixed compilation error on Windows VC++ with C++20 Standard enabled.
0237 + extended/medical/DICOM:
0238 o Corrected symbols for Chlorine and Potassium elements in function
0239 InitialisationOfMaterials().
0240 + extended/parameterisations/Par04
0241 o Bump scipy version according to
0242 GitHub Dependabot PR#66(https://github.com/Geant4/geant4/pull/66).
0243 o Bump pymysql version according to
0244 GitHub Dependabot PR#72 (https://github.com/Geant4/geant4/pull/72).
0245 o Bump scikit-learn version according to
0246 GitHub Dependabot PR#73 (https://github.com/Geant4/geant4/pull/73).
0247
0248 ----------------------------------------------------------------------------
0249
0250 Technical Notes
0251 ---------------
0252
0253 o This patch should be applied on top of release 11.2 series.
0254 o Technical notes distributed for release 11.2 are also applicable and
0255 valid for this patch.
0256
0257 The code and rebuilt binary libraries for release 11.2.2 are available
0258 through the Geant4 "Download" Web page.
0259
0260 Please refer to the Geant4 User Documentation for further information about
0261 using Geant4.