Warning, /geant4/CHANGELOG/Patch4.9.4-2.txt is written in an unsupported language. File is not indexed.
0001
0002 Geant4 9.4 - patch-02 Release Notes
0003 -----------------------------------
0004
0005 24 June 2011
0006
0007 List of fixes included in this public patch since the public release 9.4.p01:
0008
0009 o Configuration:
0010 -------------
0011 + CMake scripts:
0012 o Added G4VERBOSE compilation option as default, replicating behaviour
0013 of the standard Makefiles. The user can disable the option to remove
0014 the definition from the compile flags.
0015 o Make installation of examples optional. Addresses problem report #1205.
0016 o Added G4_STORE_TRAJECTORY to global compile definitions.
0017 Addressing problem report #1208. As 'advanced' option users can choose
0018 not to store trajectories; by default this option is set to ON,
0019 replicateing behaviour of the standard Makefiles.
0020 o Added .svn to list of patterns to exclude when installing directories.
0021 o Abilitated support for RayTracerX visualization driver.
0022 + Configure script:
0023 o Corrected settings of G4LIB_USE_DLL for the case of DLLs build on
0024 Windows. Partially addressing problem report #1189.
0025 o Fixed detection of Qt4 and forbid use of Qt3.
0026 + Workaround in binmake.gmk to avoid clashes with flag LDFLAGS set in the
0027 user's environment beforehand.
0028 + Fixed limitation of string argument length in liblist.c program.
0029 Addressing problem report #1033.
0030
0031 o Digits_Hits:
0032 -----------
0033 + Fix in G4PSCylinderSurfaceFlux and G4PSSPhareSurfaceFlux for the way
0034 how flux is scored.
0035 + Fixed scorers used for cylindrical mesh that require cubic volume
0036 or surface area.
0037 + Fixed scoring meshes for visualizing scores of very few entries.
0038
0039 o Error Propagation:
0040 -----------------
0041 + Backport a fix to G4ErrorSymMatrix to address issues on Windows.
0042 + Fixed cases of variables set but not used.
0043
0044 o G3toG4:
0045 ------
0046 + Fixed signature in functions of G4gs* classes to be 'G4String *'
0047 (was G4String[]) as used in clparse. Fixes Windows linking problem.
0048 + Fixed cases of variables set but not used.
0049
0050 o Geometry:
0051 --------
0052 + Fixed cases of variables set but not used.
0053 + magnetic_field:
0054 o Reordered data members to group invariants, field parameters, etc...
0055 + management:
0056 o Fix in G4LogicalVolume::AddDaughter() for proper propagation settings
0057 of local field manager. Avoid forcing propagation to all daughters when
0058 a local field manager is set already for the new daughter.
0059 Addressing problem report #1183.
0060 o Use internal header for physical constants in meshdefs.h.
0061 + navigation:
0062 o Adjusted constructor in G4PropagatorInField to reorder data members.
0063 o Some code cleanup.
0064 + solids/Boolean:
0065 o Added protection for potential cases of infinite loop in
0066 DistanceToIn(p,v) and related error message with event abortion.
0067 + solids/BREPS:
0068 o Use G4Transform3D typef in signature, where applicable.
0069 + solids/CSG:
0070 o G4Tubs: use safe formula for quadratic equation solution, to better
0071 handle numerical errors.
0072 o G4Torus: use relative radial tolerances to avoid loss of precision
0073 issues for shapes of big dimensions. Addresses problem report #1175.
0074 o Added protection for potential negative argument to sqrt() in
0075 CalculateExtent() for G4Orb, G4Cons and G4Sphere.
0076 Made radial tolerance a local constants in G4Orb and G4Sphere.
0077 + solids/specific:
0078 o G4ExtrudedSolid: fix in Inside(p) for false overlap reporting.
0079 Addressing problem report #1211.
0080 o Use internal typedefs for CLHEP types, where applicable.
0081
0082 o Global:
0083 ------
0084 + Fixed internal copy constructor in G4PhysicsVector.
0085 + Added G4 internal types to CLHEP classes.
0086 + Use G4UniformRand() in G4Poisson.
0087 + Changed date for patch-02 to release 9.4.
0088
0089 o Graphical Representations:
0090 -------------------------
0091 + Fixed more minor Coverity reports.
0092
0093 o Interfaces:
0094 ----------
0095 + Fix in G4VBasicShell::ApplyShellCommand() for substring exact
0096 comparisons; addressing problem report #1180.
0097 + Removed obsolete Qt3 code and avoid inclusion of OGL flags in
0098 compilation.
0099
0100 o Particles:
0101 ---------
0102 + Fixed energy of proton and neutrino in G4NeutronBetaDecayChannel.
0103 + Modified PDGCodeChecker to allow setting of PDG code for neutron balls.
0104 + Fix in G4ParticleDefinition::SetApplyCutsFlag() to get rid of
0105 unnecessary warning messages for proton.
0106 + Fixed Coverity reports, and cases of variables set but not used.
0107
0108 o Persistency:
0109 -----------
0110 + G4GDMLWriteMaterials: avoid dereferencing of null pointer in
0111 PropertyWrite() for materials without property assigned; issue a
0112 warning message. Addressing problem report #1214.
0113 + Use internal typedefs for CLHEP types, where applicable.
0114 + Fixed cases of variables set but not used.
0115
0116 o Electromagnetic Processes:
0117 -------------------------
0118 + Adjoint:
0119 o Fixed cases of variables set but not used.
0120 + Polarisation:
0121 o Safer computation of a normal in G4PolarizationHelper.
0122 o G4ePolarizedIonisation: cleared use of obsolete MinCutEnergy() method.
0123 o Fixed cases of variables set but not used.
0124 + Standard:
0125 o G4IonFluctuation: replaced Gauss sampling by Gamma function sampling
0126 for large step; important for stable sampling of struggling of range
0127 and energy loss of low-energy ions.
0128 o G4GoudsmitSaundersonMscModel: fixed computation of mean energy at
0129 a step for large steps; fixed computation of mean scattering angle.
0130 + Utils:
0131 o G4EmModelManager, G4EmCalculator: changed smoothing function
0132 between two models; effect is seen for protons in non-NIST water.
0133 o G4VEnergyLossProcess: start cross-section table from energy threshold
0134 for given cut value, so lowest cross-section is zero only for the
0135 first element of the table. Number of bins per decade is not changed,
0136 total number of bins is reduced. The fix improves the Spline
0137 interpolation of the cross-section.
0138 o G4VEmModel: use linear interpolation for G4EmElementSelectors to avoid
0139 numerical imprecision for small number of bins (increase number of
0140 bins will require extra memory).
0141 + Xrays:
0142 o Fixed Coverity reports.
0143 o Fixed cases of variables set but not used.
0144
0145 o Hadronic Processes:
0146 ------------------
0147 + cross_sections:
0148 o G4TripathiLightCrossSection: return 0 cross-section in method
0149 GetZandACrossSection(), when E_cm <= DBL_MIN.
0150 Addressing problem report #1174.
0151 + models/cascade:
0152 o G4InuclNuclei: removed prefatory message about PDGencoding.
0153 o G4ElementaryParticleCollider: added protection in sampleCMcosFor2to2()
0154 to avoid case of divide-by-zero.
0155 + models/CHIPS:
0156 o Fixed case of double-delete in G4QFragmentation::Breeder().
0157 Addresses problem report #1179.
0158 + models/high_energy:
0159 o Fixed cases of variables set but not used.
0160 + models/im_r_matrix:
0161 o Fixed cases of variable set but not used in G4XPDGElastic.
0162 + models/low_energy:
0163 o Fixed case of variable set but not used in G4LCapture.
0164 + models/neutron_hp:
0165 o Added "Fermium" in G4NeutronHPNames and fixed bug in "Actinium".
0166 o Bug fix in G4NeutronHPDiscreteTwoBody for MF=6, LAW=2 case.
0167 o Added message where environment variable "G4NEUTRONHP_NEGLECT_DOPPLER"
0168 is activated.
0169 + models/pre_equilibrium:
0170 o Fixed cases of variables set but not used.
0171 + models/radioactive_decay:
0172 o Fixed memory leak in G4RadioactiveDecay::AddDecayRateTable().
0173 o Fixed array overrun in G4RadioactiveDecay::SetSourceTimeProfile() and
0174 SetDecayBias(). Avoid possible dereferencing of zero pointer in
0175 DecayIt() when in branching-ratio bias mode, fill 'tempprods' as if
0176 no biasing is active.
0177 o Removed unnecessary warning and added a check for maximum shell number,
0178 in G4NuclearDecayChannel.
0179 o Initialize static data in G4RadioactiveDecayRate constructor.
0180 and array data in G4RadioactiveDecay::LoadDecayTable().
0181 o Fixed cases of variables set but not used.
0182 + stopping:
0183 o Fixed cases of variables set but not used.
0184
0185 o Generic Processes:
0186 -----------------
0187 + Cuts:
0188 o Fixed defects reported by Coverity.
0189 o Fixed cases of variables set but not used.
0190 + Management:
0191 o Fixed cases of variables set but not used.
0192 o Fixed defects reported by Coverity.
0193 + Scoring:
0194 o Fix in G4ScoreSplittingProcess::PostStepDoIt() to not consider steps
0195 if the voxel boundary is not skipped. Addressing problem report #1209.
0196 o Added IsAtRestRequired() method to G4ParallelWorldScoringProcess.
0197 + Transportation:
0198 o Fix G4Transportation::AlongStepDoIt(): use only initial velocity to
0199 update time. Results in one less sqrt() per tracking step.
0200
0201 o Run:
0202 ---
0203 + Ensure that a ScoreSplittingProcess is added only once in
0204 SetScoreSplitter() of G4RunManagerKernel. Addresses problem report #1218.
0205
0206 o Track:
0207 -----
0208 + Set maxT for Velocity Table to 1000. Added SetVelocityTableProperties().
0209 Addresses problem report #1185.
0210 + Fixed some problems reported by Coverity.
0211
0212 o Tracking:
0213 --------
0214 + Fixed setting of 'fWorldBoundary' step status in G4SteppingManager
0215 InvokePostStepDoItProcs() and DefinePhysicalStepLength(). Flag was not
0216 set and not used.
0217
0218 o Visualization:
0219 -------------
0220 + HepRep:
0221 o Use internal G4RotationMatrix typedef in G4HepRepFileSceneHandler
0222 instead of native CLHEP type.
0223 o Correction in GNUmakefile.
0224 + OpenGL:
0225 o Re-instated cutaways in intersection mode in G4OpenGLViewer, which
0226 was apparently commented out accidentally in 9.4.
0227 + RayTracer:
0228 o Trap recursive calls in G4RayTracerViewer::DrawView(), thus avoiding
0229 warning messages for each pixel when endOfEventAction() is "refresh".
0230 o Fixed some Coverity warnings; fixed CMake scripts.
0231
0232 o Examples:
0233 --------
0234 + Updated reference outputs.
0235 + extended/eventgenerator/HepMC/MCTruth:
0236 o Fixed compilation errors on MacOS for use of std::fmod()
0237 in MCTruthManager.
0238 + extended/hadronic/Hadr01:
0239 o Fixed typo in printout.
0240 + extended/medical/DICOM:
0241 o Corrected name for sensitive detector to be consistently
0242 named as "phantomSD" in DicomRunAction.
0243 Addressing problem report #1210.
0244 o Corrected axes slicing hint in nested-parameterisation.
0245 o Removed redundant headers and fixed minor bugs in DicomHandler.
0246 + extended/parallel/ParN02, ParN04:
0247 o Synchronised with current version of novice example N02.
0248 Includes fixes and missing migrations...
0249
0250
0251 ----------------------------------------------------------------------------
0252
0253 Technical Notes
0254 ---------------
0255
0256 o This patch should be applied on top of release 9.4 or 9.4.p01.
0257 o Technical notes distributed for release 9.4 are also applicable and
0258 valid for this patch.
0259
0260 The code and rebuilt binary libraries for release 9.4.p02 are available
0261 through our "Download" Web page:
0262 http://cern.ch/geant4/support/download.shtml
0263
0264 Please refer to the Geant4 User Documentation:
0265 http://cern.ch/geant4/support/userdocuments.shtml
0266 for further information about using Geant4.