forked from Geant4/geant4
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPatch4.4.0-2.txt
156 lines (136 loc) · 6.27 KB
/
Patch4.4.0-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
Geant4 4.0 - patch-02 Release Notes
-----------------------------------
28th February 2002
List of fixes included in this public patch to release 4.0, to be added on
top of patch-01:
o Config:
------
- liblist.c: added flags __CYGWIN__ and __CYGWIN32__ for triggering proper
parsing algorithm on Windows systems, also on most recent versions of
Cygwin.
- WIN32-VC.gmk: use g77 instead of f77 as default fortran compiler.
- sys/HP-aCC.gmk: removed include path to
global/management/include/std/wrappers, which was unused and not
necessary.
o Decay processes:
---------------
- Removed a physics table from G4Decay.
o Electromagnetic processes:
-------------------------
- Fixed bug in G4Ve(h)EnergyLoss, G4VMuEnergyLoss:
o Adopt MinDeltaCut in-range instead of in-energy !
- G4VEnergyLoss:
o Set subSecFlag to false. NO default subcutoff generation.
o Set finalRange to 1mm as default (the actual value is computed in
G4VeEnergyLoss, G4VhEnergyLoss and G4VMuEnergyLoss).
o Event:
-----
- Optimised implementation of SetNewValue() in G4ParticleGunMessenger and
G4GeneralParticleSourceMessenger to allow porting on WIN32-VC for optimised
compilation.
o Geometry:
--------
- Management:
o G4GeometryManager.cc: fixed handling of ios manipulators and precision
to reset to their original state in G4GeometryManager::ReportVoxelStats().
Fixes problem report #343.
- Volumes:
o G4GeometryMessenger.cc: fixed local variable name not to clash with
class data member.
- solids/Boolean:
o G4ReflectionFactory.cc: fixed bug causing repetition of daughter volumes.
o G4ReflectedSolid[.hh.cc]:
- Defined new methods Set/GetTransform3D() and Set/GetDirectTransform3D()
for defining/accessing the reflected transformation.
o Moved utility methods for G4AffineTransform to protected.
- solids/BREPS:
o Bug fixes to G4BREPSolidPolyhedra:
- Added enhancement allowing to define RMIN and RMAX to be zero with the
exception of forbidden two consecutive zero RMAX values.
- Refactoring in constructor gained two new private methods for creation
of trapezoidal and triangular side planes of G4BREPSolidPolyhedra.
- Rewritten code for delta phi >= 2*PI case with full classification of
possible cases.
- Fixed sense of end planes.
- Fixed delta phi < 2*PI case where some old code remained after bug
fix #266.
- Added new private method for creation of planar surfaces gained
after code refactoring in constructor.
- Fixed bug for problem report #354 by adding the code handling the
cases where user supplies for the same z-section different RMIN or
RMAX values.
- Added more preconditions checks
- Added code forbidding "teeth" in polyhedra.
o G4ConvexHull.hh: moved initialisation of 'next' to constructor's body.
- solids/CSG:
o G4Sphere.cc: bug-fix in Inside() function. Fixes problem report #216.
o G4Para.cc: fixed bug in G4Para::Inside() in calculation of xt,
according to problem report #357.
- solids/STEPinterface:
o G4RepresentationRelationshipCreator.cc: fixed unsafe usage of
'<' operator.
o Hadronic processes:
------------------
o Fixes in pre-equilibrium and de-excitation generator models.
o Fixed bug in doppler broadening in neutron-transport model:
- Fixed sign error in calculation of effective luminosity.
o Stopping: trivial bug-fix in pi-absorption at rest.
o Util:
- Trivial bug-fix, affecting K-absorption at rest.
- G4Nucleus: moved definition of constructors/destructor from header to
source implementation file. Unresolved symbols were detected at link
time on SUN-CC for static constants used to initialise members in
inline constructors.
o CHIPS model: fixed accuracy problem.
o Optimised implementation in G4Fancy3DNucleus.cc to allow porting on
WIN32-VC for optimised compilation.
o Interfaces:
----------
- Fixed for odd behavior of G4UIcsh in Windows systems.
o Materials:
---------
- Optimised implementation of GetIndex() for fIndexTable in G4Material,
G4Element and G4Isotope.
o Particles:
---------
- Fixed bug in the decay table for G4KaonMinus.
o Track & Tracking:
----------------
- track:
o Added G4Track::CopyTrackInfo().
o Optimised G4ParticleChange::AddSecondary() to properly use touchable
handles.
o Fixed a bug of changing parent weight in
G4ParticleChange::UpdateStepForAlongStep().
o Optimised implementation in G4Track::GetVelocity().
- tracking:
o G4SteppingManager2.cc:
- fix for extra steps when the ApplyCuts flag is set
- G4SteppingManager.hh: changed scope for 'SizeOfSelectedDoItVector'
to allow porting on WIN-VC compiler.
o Fix in G4SteppingManager::SetInitialStep() for applyCuts.
o Visualization:
-------------
- HepRep: added check for missing hierarchy layers in HepRepXMLWriter.
- Bug fix in modeling: removed Begin/EndPrimitives from G4HitsModel and
G4TrajectoriesModel. This was causing nested calls to Begin/EndPrimitives
(and thus to glNewList/EndList in OpenGL stored mode), since the
trajectories and hits Draw methods themselves have Begin/EndPrimitives.
o Examples:
--------
- extended/electromagnetic/testem1,3,4,5:
o Improvements in PrimaryGenerator and macros
- novice/N03:
o New macros for tutorials/exercises.
----------------------------------------------------------------------------
Technical Notes
---------------
o This patch should be applied on top of "patch-01" for release 4.0.
o Technical notes distributed for release 4.0 are also applicable and
valid for this patch.
The code and rebuilt binary libraries for release 4.0 are available through
our "Source Code" Web page:
- see our Geant4 Home Page (http://cern.ch/geant4).
Please refer to the Geant4 User Documentation
(http://cern.ch/geant4/G4UsersDocuments/Overview/html)
for further information about using Geant4.