-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathPatch4.9.4-2.txt
266 lines (239 loc) · 11.3 KB
/
Patch4.9.4-2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
Geant4 9.4 - patch-02 Release Notes
-----------------------------------
24 June 2011
List of fixes included in this public patch since the public release 9.4.p01:
o Configuration:
-------------
+ CMake scripts:
o Added G4VERBOSE compilation option as default, replicating behaviour
of the standard Makefiles. The user can disable the option to remove
the definition from the compile flags.
o Make installation of examples optional. Addresses problem report #1205.
o Added G4_STORE_TRAJECTORY to global compile definitions.
Addressing problem report #1208. As 'advanced' option users can choose
not to store trajectories; by default this option is set to ON,
replicateing behaviour of the standard Makefiles.
o Added .svn to list of patterns to exclude when installing directories.
o Abilitated support for RayTracerX visualization driver.
+ Configure script:
o Corrected settings of G4LIB_USE_DLL for the case of DLLs build on
Windows. Partially addressing problem report #1189.
o Fixed detection of Qt4 and forbid use of Qt3.
+ Workaround in binmake.gmk to avoid clashes with flag LDFLAGS set in the
user's environment beforehand.
+ Fixed limitation of string argument length in liblist.c program.
Addressing problem report #1033.
o Digits_Hits:
-----------
+ Fix in G4PSCylinderSurfaceFlux and G4PSSPhareSurfaceFlux for the way
how flux is scored.
+ Fixed scorers used for cylindrical mesh that require cubic volume
or surface area.
+ Fixed scoring meshes for visualizing scores of very few entries.
o Error Propagation:
-----------------
+ Backport a fix to G4ErrorSymMatrix to address issues on Windows.
+ Fixed cases of variables set but not used.
o G3toG4:
------
+ Fixed signature in functions of G4gs* classes to be 'G4String *'
(was G4String[]) as used in clparse. Fixes Windows linking problem.
+ Fixed cases of variables set but not used.
o Geometry:
--------
+ Fixed cases of variables set but not used.
+ magnetic_field:
o Reordered data members to group invariants, field parameters, etc...
+ management:
o Fix in G4LogicalVolume::AddDaughter() for proper propagation settings
of local field manager. Avoid forcing propagation to all daughters when
a local field manager is set already for the new daughter.
Addressing problem report #1183.
o Use internal header for physical constants in meshdefs.h.
+ navigation:
o Adjusted constructor in G4PropagatorInField to reorder data members.
o Some code cleanup.
+ solids/Boolean:
o Added protection for potential cases of infinite loop in
DistanceToIn(p,v) and related error message with event abortion.
+ solids/BREPS:
o Use G4Transform3D typef in signature, where applicable.
+ solids/CSG:
o G4Tubs: use safe formula for quadratic equation solution, to better
handle numerical errors.
o G4Torus: use relative radial tolerances to avoid loss of precision
issues for shapes of big dimensions. Addresses problem report #1175.
o Added protection for potential negative argument to sqrt() in
CalculateExtent() for G4Orb, G4Cons and G4Sphere.
Made radial tolerance a local constants in G4Orb and G4Sphere.
+ solids/specific:
o G4ExtrudedSolid: fix in Inside(p) for false overlap reporting.
Addressing problem report #1211.
o Use internal typedefs for CLHEP types, where applicable.
o Global:
------
+ Fixed internal copy constructor in G4PhysicsVector.
+ Added G4 internal types to CLHEP classes.
+ Use G4UniformRand() in G4Poisson.
+ Changed date for patch-02 to release 9.4.
o Graphical Representations:
-------------------------
+ Fixed more minor Coverity reports.
o Interfaces:
----------
+ Fix in G4VBasicShell::ApplyShellCommand() for substring exact
comparisons; addressing problem report #1180.
+ Removed obsolete Qt3 code and avoid inclusion of OGL flags in
compilation.
o Particles:
---------
+ Fixed energy of proton and neutrino in G4NeutronBetaDecayChannel.
+ Modified PDGCodeChecker to allow setting of PDG code for neutron balls.
+ Fix in G4ParticleDefinition::SetApplyCutsFlag() to get rid of
unnecessary warning messages for proton.
+ Fixed Coverity reports, and cases of variables set but not used.
o Persistency:
-----------
+ G4GDMLWriteMaterials: avoid dereferencing of null pointer in
PropertyWrite() for materials without property assigned; issue a
warning message. Addressing problem report #1214.
+ Use internal typedefs for CLHEP types, where applicable.
+ Fixed cases of variables set but not used.
o Electromagnetic Processes:
-------------------------
+ Adjoint:
o Fixed cases of variables set but not used.
+ Polarisation:
o Safer computation of a normal in G4PolarizationHelper.
o G4ePolarizedIonisation: cleared use of obsolete MinCutEnergy() method.
o Fixed cases of variables set but not used.
+ Standard:
o G4IonFluctuation: replaced Gauss sampling by Gamma function sampling
for large step; important for stable sampling of struggling of range
and energy loss of low-energy ions.
o G4GoudsmitSaundersonMscModel: fixed computation of mean energy at
a step for large steps; fixed computation of mean scattering angle.
+ Utils:
o G4EmModelManager, G4EmCalculator: changed smoothing function
between two models; effect is seen for protons in non-NIST water.
o G4VEnergyLossProcess: start cross-section table from energy threshold
for given cut value, so lowest cross-section is zero only for the
first element of the table. Number of bins per decade is not changed,
total number of bins is reduced. The fix improves the Spline
interpolation of the cross-section.
o G4VEmModel: use linear interpolation for G4EmElementSelectors to avoid
numerical imprecision for small number of bins (increase number of
bins will require extra memory).
+ Xrays:
o Fixed Coverity reports.
o Fixed cases of variables set but not used.
o Hadronic Processes:
------------------
+ cross_sections:
o G4TripathiLightCrossSection: return 0 cross-section in method
GetZandACrossSection(), when E_cm <= DBL_MIN.
Addressing problem report #1174.
+ models/cascade:
o G4InuclNuclei: removed prefatory message about PDGencoding.
o G4ElementaryParticleCollider: added protection in sampleCMcosFor2to2()
to avoid case of divide-by-zero.
+ models/CHIPS:
o Fixed case of double-delete in G4QFragmentation::Breeder().
Addresses problem report #1179.
+ models/high_energy:
o Fixed cases of variables set but not used.
+ models/im_r_matrix:
o Fixed cases of variable set but not used in G4XPDGElastic.
+ models/low_energy:
o Fixed case of variable set but not used in G4LCapture.
+ models/neutron_hp:
o Added "Fermium" in G4NeutronHPNames and fixed bug in "Actinium".
o Bug fix in G4NeutronHPDiscreteTwoBody for MF=6, LAW=2 case.
o Added message where environment variable "G4NEUTRONHP_NEGLECT_DOPPLER"
is activated.
+ models/pre_equilibrium:
o Fixed cases of variables set but not used.
+ models/radioactive_decay:
o Fixed memory leak in G4RadioactiveDecay::AddDecayRateTable().
o Fixed array overrun in G4RadioactiveDecay::SetSourceTimeProfile() and
SetDecayBias(). Avoid possible dereferencing of zero pointer in
DecayIt() when in branching-ratio bias mode, fill 'tempprods' as if
no biasing is active.
o Removed unnecessary warning and added a check for maximum shell number,
in G4NuclearDecayChannel.
o Initialize static data in G4RadioactiveDecayRate constructor.
and array data in G4RadioactiveDecay::LoadDecayTable().
o Fixed cases of variables set but not used.
+ stopping:
o Fixed cases of variables set but not used.
o Generic Processes:
-----------------
+ Cuts:
o Fixed defects reported by Coverity.
o Fixed cases of variables set but not used.
+ Management:
o Fixed cases of variables set but not used.
o Fixed defects reported by Coverity.
+ Scoring:
o Fix in G4ScoreSplittingProcess::PostStepDoIt() to not consider steps
if the voxel boundary is not skipped. Addressing problem report #1209.
o Added IsAtRestRequired() method to G4ParallelWorldScoringProcess.
+ Transportation:
o Fix G4Transportation::AlongStepDoIt(): use only initial velocity to
update time. Results in one less sqrt() per tracking step.
o Run:
---
+ Ensure that a ScoreSplittingProcess is added only once in
SetScoreSplitter() of G4RunManagerKernel. Addresses problem report #1218.
o Track:
-----
+ Set maxT for Velocity Table to 1000. Added SetVelocityTableProperties().
Addresses problem report #1185.
+ Fixed some problems reported by Coverity.
o Tracking:
--------
+ Fixed setting of 'fWorldBoundary' step status in G4SteppingManager
InvokePostStepDoItProcs() and DefinePhysicalStepLength(). Flag was not
set and not used.
o Visualization:
-------------
+ HepRep:
o Use internal G4RotationMatrix typedef in G4HepRepFileSceneHandler
instead of native CLHEP type.
o Correction in GNUmakefile.
+ OpenGL:
o Re-instated cutaways in intersection mode in G4OpenGLViewer, which
was apparently commented out accidentally in 9.4.
+ RayTracer:
o Trap recursive calls in G4RayTracerViewer::DrawView(), thus avoiding
warning messages for each pixel when endOfEventAction() is "refresh".
o Fixed some Coverity warnings; fixed CMake scripts.
o Examples:
--------
+ Updated reference outputs.
+ extended/eventgenerator/HepMC/MCTruth:
o Fixed compilation errors on MacOS for use of std::fmod()
in MCTruthManager.
+ extended/hadronic/Hadr01:
o Fixed typo in printout.
+ extended/medical/DICOM:
o Corrected name for sensitive detector to be consistently
named as "phantomSD" in DicomRunAction.
Addressing problem report #1210.
o Corrected axes slicing hint in nested-parameterisation.
o Removed redundant headers and fixed minor bugs in DicomHandler.
+ extended/parallel/ParN02, ParN04:
o Synchronised with current version of novice example N02.
Includes fixes and missing migrations...
----------------------------------------------------------------------------
Technical Notes
---------------
o This patch should be applied on top of release 9.4 or 9.4.p01.
o Technical notes distributed for release 9.4 are also applicable and
valid for this patch.
The code and rebuilt binary libraries for release 9.4.p02 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.