1 | $Id: History,v 1.99.4.2 2008/04/23 09:55:26 gcosmo Exp $ |
---|
2 | ------------------------------------------------------------------- |
---|
3 | |
---|
4 | ========================================================= |
---|
5 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP |
---|
6 | ========================================================= |
---|
7 | |
---|
8 | Sub-Category History file |
---|
9 | ------------------------- |
---|
10 | This file should be used by G4 developers and category coordinators |
---|
11 | to briefly summarize all major modifications introduced in the code |
---|
12 | and keep track of all directory-tags. |
---|
13 | It DOES NOT substitute the CVS log-message one should put at every |
---|
14 | committal in the CVS repository ! |
---|
15 | |
---|
16 | ---------------------------------------------------------- |
---|
17 | * Reverse chronological order (last date on top), please * |
---|
18 | ---------------------------------------------------------- |
---|
19 | |
---|
20 | Apr 23, 2008 G.Cosmo geom-csg-V09-00-03 |
---|
21 | - Tag for release 9.1.p02. |
---|
22 | |
---|
23 | Apr 22, 2008 V.Grichine geom-csg-V09-01-02 |
---|
24 | - G4Trap: corrections for arithmetic operations in 8-point constructor. |
---|
25 | Addressing problem report #934. |
---|
26 | |
---|
27 | Mar 13, 2008 G.Cosmo geom-csg-V09-01-01 |
---|
28 | - Cleared compilation warnings in G4Sphere on gcc-4.3.0 for |
---|
29 | ambiguous use of parentheses in condition statements. |
---|
30 | |
---|
31 | Feb 20, 2008 T.Nikitina geom-csg-V09-01-00 |
---|
32 | - G4Cons: |
---|
33 | o Added protection against NaN in GetPointOnSurface() in the case the |
---|
34 | check is run for Rmax1==Rmax2. |
---|
35 | |
---|
36 | Nov 23, 2007 T.Nikitina geom-csg-V09-00-02 |
---|
37 | - Fixed problem of undefined side for valid surface normal in case of Phi |
---|
38 | section and direction through the center of either A G4Tubs or G4Cons shape. |
---|
39 | |
---|
40 | Oct 2, 2007 T.Nikitina geom-csg-V09-00-01 |
---|
41 | - G4Torus: |
---|
42 | o Fixed bug in CalculateExtent() for case of non-rotated full-phi |
---|
43 | torus definition: added protection against negative value for sqrt() |
---|
44 | and corrected formula for 'delta'. Fixes problem of NaN detected in |
---|
45 | initialisation by CMS. |
---|
46 | o Fixed bug in SolveNumericJT(): corrected handling of complex roots, |
---|
47 | 'rootsrefined' is used only if the number of refined roots is the same |
---|
48 | as for primary roots. Addresses problem report #969. |
---|
49 | |
---|
50 | Aug 16, 2007 T.Nikitina geom-csg-V09-00-00 |
---|
51 | - G4Tubs: fixed bug in DistanceToOut(p,v,..) for negative value under sqrt() |
---|
52 | for the case of point p on the surface and v tangent to the surface. |
---|
53 | Responsible for rare cases of NaN. |
---|
54 | |
---|
55 | May 18, 2007 G.Cosmo geom-csg-V08-03-01 |
---|
56 | - Use kAngTolerance and kRadTolerance from G4GeometryTolerance class. |
---|
57 | - Coworks with tag "global-V08-03-03". |
---|
58 | |
---|
59 | May 16, 2007 T.Nikitina geom-csg-V08-03-00 |
---|
60 | - G4Tubs: fixed bug for DistanceToOut(p,v) for phi section. |
---|
61 | Bug was causing segmentation fault in recursive_test (problem report #784). |
---|
62 | For v crossing the center of the tub DistanceToOut was always giving |
---|
63 | Radial distance and not distance in Phi. |
---|
64 | - G4Cons: fixed bug for DistanceToOut(p,v) for phi section, |
---|
65 | the same as for G4Tubs. |
---|
66 | - Updated unit tests. |
---|
67 | |
---|
68 | Oct 19, 2006 G.Cosmo geom-csg-V08-01-00 |
---|
69 | - Added explicit computation for GetSurfaceArea() for all solids |
---|
70 | (by H.Dierckx). |
---|
71 | - Implemented caching mechanism for computation of surface area in |
---|
72 | G4CSGSolid, as done for the geometrical volume computation. |
---|
73 | |
---|
74 | Jun 06, 2006 V.Grichine geom-csg-V08-00-01 |
---|
75 | - G4Tubs: added protection against NaNs in CalculateExtent() to avoid |
---|
76 | sqrt() of negative numbers due to round-off. |
---|
77 | - Updated unit tests testG4Sphere and testDistanceAccuracy. |
---|
78 | |
---|
79 | Jan 16, 2006 V.Grichine geom-csg-V08-00-00 |
---|
80 | - G4Sphere: fixed bug in DistanceToOut() for theta intersections. |
---|
81 | |
---|
82 | Nov 20, 2005 V.Grichine geom-csg-V07-01-05 |
---|
83 | - G4Torus: fixed bug in Inside(p) for phi sections. |
---|
84 | Fixes problem report #810. |
---|
85 | |
---|
86 | Nov 9, 2005 G.Cosmo geom-csg-V07-01-04 |
---|
87 | - Added fake default constructor for all concrete solids and relevant |
---|
88 | utility classes, for usage of direct object persistency. |
---|
89 | - Implemented changes to support CLHEP-2.0.X for explicit usage of the |
---|
90 | CLHEP/HepGeom namespaces for CLHEP types. |
---|
91 | |
---|
92 | Oct 23, 2005 V.Grichine geom-csg-V07-01-03 |
---|
93 | - G4Para: fixed bug in DistanceToOut(p,v) for the case v.x()<0. |
---|
94 | Following problem report from user posted on Hypernews (#452). |
---|
95 | |
---|
96 | Sep 5, 2005 O.Link geom-csg-V07-01-02 |
---|
97 | - Moved implementation for DistanceToIn/Out() in G4Torus to make use of |
---|
98 | G4JTPolynomialSolver for precise calculation of the intersections. |
---|
99 | - Reviewed unit tests and reduced statistics. |
---|
100 | |
---|
101 | Aug 8, 2005 D.Anninos geom-csg-V07-01-01 |
---|
102 | - Added GetPointOnSurface() to all solids. The method returns a random |
---|
103 | point according to a quasi-uniform distribution along the surface. |
---|
104 | |
---|
105 | Jul 25, 2005 O.Link geom-csg-V07-01-00 |
---|
106 | - Fixed bug in G4Sphere::DistanceToOut(p,v): |
---|
107 | added check for intersection with double cone. |
---|
108 | - Added new unit test testDistanceAccuracy (V.Grichine). |
---|
109 | |
---|
110 | Jun 8, 2005 V.Grichine geom-csg-V07-00-09 |
---|
111 | - Keep old specification for SurfaceNormal() to treat usage of the |
---|
112 | function for points not at the surface. |
---|
113 | |
---|
114 | Jun 6, 2005 V.Grichine geom-csg-V07-00-08 |
---|
115 | - Correction to SurfaceNormal() for G4Cons, G4Sphere, G4Torus, G4Tubs |
---|
116 | for properly handling location on z-axis and in the frame origin. |
---|
117 | Fixed bug in G4Cons::SurfaceNormal(p) for normals returned from |
---|
118 | rmax and rmin. |
---|
119 | - Moved debug printouts for surface-normals to G4CSGDEBUG. |
---|
120 | - Cleared compilation warnings in unit tests and updates. |
---|
121 | |
---|
122 | May 27, 2005 J.Allison geom-csg-V07-00-07 |
---|
123 | - Fixed polyhedron representation of G4Torus. |
---|
124 | |
---|
125 | May 26, 2005 G.Cosmo geom-csg-V07-00-06 |
---|
126 | - G4Box.cc: restored call to AddSolid() and replaced old AddThis() in |
---|
127 | DescribeYourselfTo(). |
---|
128 | |
---|
129 | May 11, 2005 V.Grichine geom-csg-V07-00-05 |
---|
130 | - G4Para: bug fixed in SurfaceNormal(p) for x-distance, to be now in |
---|
131 | accordance with the surface selection using Inside(p). |
---|
132 | - Updated unit test testSurfaceNormal.cc. |
---|
133 | |
---|
134 | May 09, 2005 V.Grichine geom-csg-V07-00-04 |
---|
135 | - Updated implementation of SurfaceNormal(p) to get consistence with |
---|
136 | Inside(p) functions for the treatment of phi/theta surfaces. |
---|
137 | They are treated now in both functions in terms of kAngTolerance. |
---|
138 | The reason is that historically SurfaceNormal(p) was using only |
---|
139 | kCarTolerance for estimation of shortest distance to a surface. Now, |
---|
140 | following the new updated specification, the surface selection is made |
---|
141 | according to Inside(p) approach (as kSurface is selected), i.e. - for |
---|
142 | phi/theta surfaces in terms of kAngTolerance. |
---|
143 | |
---|
144 | Apr 26, 2005 V.Grichine, J.Apostolakis |
---|
145 | - Simplified and revised the new implementation for SurfaceNormal(p) |
---|
146 | with edges/vertices and made becoming the default one for all solids. |
---|
147 | |
---|
148 | Apr 20, 2005 V.Grichine geom-csg-V07-00-03 |
---|
149 | - G4Trap: fix in p.x() centering to sum over all vertices. |
---|
150 | |
---|
151 | Mar 23, 2005 J.Allison geom-csg-V07-00-02 |
---|
152 | - Added test for Number-Of-Rotation-Steps in G4CSGSolid::GetPolyhedron(). |
---|
153 | Requires tag "greps-V07-00-02". |
---|
154 | |
---|
155 | Mar 03, 2005 J.Allison geom-csg-V07-00-01 |
---|
156 | - Changed AddThis() with AddSolid() for all solids in DescribeYourselfTo() |
---|
157 | implementation. |
---|
158 | |
---|
159 | Dec 02, 2004 V.Grichine geom-csg-V07-00-00 |
---|
160 | - New alternative implementation of SurfaceNormal(p) with edges/vertices |
---|
161 | for G4Box, G4Para, G4Trap, G4Trd. Old implementation is still the default. |
---|
162 | Can be activated by setting G4NEW_SURF_NORMAL variable before compilation. |
---|
163 | |
---|
164 | Nov 15, 2004 V.Grichine geom-csg-V06-02-06 |
---|
165 | - G4Trap: added check for X-centering for constructor by verteces. |
---|
166 | Fixes problem report #687. |
---|
167 | - New unit test for surface-normal and updated unit tests for sphere |
---|
168 | and trap. |
---|
169 | |
---|
170 | Oct 10, 2004 J.Allison geom-csg-V06-02-05 |
---|
171 | - Added GetPolyhedron, a smart access function that creates a G4Polyhedron |
---|
172 | on request and stores for future access. A null pointer means "not |
---|
173 | available". |
---|
174 | |
---|
175 | Sep 22, 2004 V.Grichine geom-csg-V06-02-04 |
---|
176 | - Added specific implementation of GetCubicVolume() for all CSG solids. |
---|
177 | The method compute the exact geometrical values and stores it. |
---|
178 | The value is reset each time a parameter of the solid is modified. |
---|
179 | - Moved inline methods for G4Orb to .icc file. |
---|
180 | - Added unit test testSurfaceInOut.cc. |
---|
181 | |
---|
182 | Sep 16, 2004 V.Grichine geom-csg-V06-02-03 |
---|
183 | - Bug fix in G4Sphere::SurfaceNormal(p) for theta normals. |
---|
184 | |
---|
185 | Jul 28, 2004 V.Grichine geom-csg-V06-02-02 |
---|
186 | - Fix in G4Cons::DistanceToIn(p,v) on fRmax surface and move in, |
---|
187 | the condition became a bit more strict && determinant >=0, i.e. |
---|
188 | intersections in addition to go in. |
---|
189 | Fixes a rare problem of dIn=dOut=0 observed in 3 events over a |
---|
190 | statistics of 10^8.. |
---|
191 | - Updated unit test testSurfaceInOut.cc to consider the test-case above. |
---|
192 | |
---|
193 | Jul 16, 2004 V.Grichine geom-csg-V06-02-01 |
---|
194 | - Fix in G4Sphere::DistanceToOut(p,v,...) on fRmin moving outside. |
---|
195 | The bug showed 3 events of dIn=dOut=0 for 10^7 statistics in |
---|
196 | testSurfaceInOut. |
---|
197 | - Added new unit test testSurfaceInOut.cc. |
---|
198 | |
---|
199 | Jul 02, 2004 V.Grichine geom-csg-V06-02-00 |
---|
200 | - Fixes curing rare conditions of loops at boundaries for G4Orb and G4Sphere: |
---|
201 | o G4Orb.cc: bug fix in DistanceToIn(p,v) on fRmax surface allowing |
---|
202 | move near fRmax-fCarTolerance/2. |
---|
203 | o G4Sphere.cc: bug fix in DistanceToIn(p,v) on Rmax/min surface for |
---|
204 | condition of intersection with (Rmax/min-kCarTolerance) artificial |
---|
205 | surface. |
---|
206 | - Updated unit test for G4Orb. |
---|
207 | |
---|
208 | Mar 18, 2004 V.Grichine geom-csg-V06-00-01 |
---|
209 | - G4Torus.cc: bug fix in Inside(p) fixing warnings reported in |
---|
210 | debug-mode of 'point p is outside'. |
---|
211 | |
---|
212 | Jan 26, 2004 V.Grichine geom-csg-V06-00-00 |
---|
213 | - Converted strong exceptions in warning notifications for rare anomalous |
---|
214 | conditions in DistanceToOut(p,v,..). |
---|
215 | - G4Cons.cc: bug fix in DistanceToIn(p,v) to resolve situations of calls |
---|
216 | to DistanceToOut() for points outside. |
---|
217 | |
---|
218 | Dec 4, 2003 V.Grichine geom-csg-V05-02-06 |
---|
219 | - G4Trap.cc: fixed initialisation of planes in default constructor. |
---|
220 | - Added new unit test for G4Sphere and new test case for G4Cons. |
---|
221 | |
---|
222 | Nov 5, 2003 V.Grichine geom-csg-V05-02-05 |
---|
223 | - G4Orb[.hh.cc]: introduced relative tolerance accuracy on fRmax surface |
---|
224 | in all methods. |
---|
225 | |
---|
226 | Nov 3, 2003 G.Cosmo geom-csg-V05-02-04 |
---|
227 | - Code cleanup and headers inclusion review |
---|
228 | (replaced by forward declarations where necessary). |
---|
229 | |
---|
230 | Nov 2, 2003 V.Grichine |
---|
231 | - G4Sphere, G4Orb: revision of algorithm for Phi sections in |
---|
232 | method Inside(). |
---|
233 | |
---|
234 | Oct 29, 2003 J.Apostolakis geom-csg-V05-02-03 |
---|
235 | - G4Sphere.cc: fix for in Inside() for a point with Phi angle: |
---|
236 | 0.5 kAngTol < phi < Phi_start |
---|
237 | |
---|
238 | Oct 28, 2003 G.Cosmo geom-csg-V05-02-02 |
---|
239 | - Migrated to new G4Exception scheme. |
---|
240 | |
---|
241 | Oct 09, 2003 V.Grichine geom-csg-V05-02-01 |
---|
242 | - Initialise safe=0.0 in DistanceToIn/Out(p) in all solids. |
---|
243 | - Introduced G4Orb solid: a simple sphere with only outer radius. |
---|
244 | |
---|
245 | Sep 30, 2003 G.Cosmo geom-csg-V05-02-00 |
---|
246 | - Updated GNUmakefile for unit tests, according to new structure |
---|
247 | introduced in "geometry-V05-02-00". |
---|
248 | |
---|
249 | Jun 25, 2003 G.Folger geom-csg-V05-01-00 |
---|
250 | - Added disclaimer of liability where needed. |
---|
251 | |
---|
252 | Feb 03, 2003 G.Cosmo geom-csg-V05-00-00 |
---|
253 | - G4Cons.cc: enhanced treatment of phi-sections, |
---|
254 | according to algorithm used also in G4Tubs (V.Grichine). |
---|
255 | - Updated unit tests. |
---|
256 | |
---|
257 | Oct 28, 2002 G.Cosmo geom-csg-V04-01-01 |
---|
258 | - Added implementation of StreamInfo() to comply with new interface for |
---|
259 | G4VSolid in "geommng-V04-01-03". |
---|
260 | - Moved inline functions to .icc files, reorganised comments for the Software |
---|
261 | Reference Manual. |
---|
262 | - Some cosmetic changes to code formatting, removed all <TAB> characters and |
---|
263 | adopted uniform code indentation. |
---|
264 | - Extended unit tests for G4Cons and G4Sphere (V.Grichine). |
---|
265 | |
---|
266 | Jun 26, 2002 V.Grichine geom-csg-V04-01-00 |
---|
267 | - G4Cons.cc: bug fixed in DistanceToIn(p,v) concerning z-crossing at the |
---|
268 | edge with Rmin,Rmax. |
---|
269 | |
---|
270 | Jun 19, 2002 V.Grichine geom-csg-V04-00-05 |
---|
271 | - G4Sphere.cc: bug fixed in Inside() for treatment of point p on z-axis. |
---|
272 | Added new condition [(rho2 || p.z()) && fDTheta < M_PI - kAngTolerance*0.5)] |
---|
273 | for treating special case. Fixes problem report #378. |
---|
274 | |
---|
275 | May 15, 2002 G.Cosmo geom-csg-V04-00-04 |
---|
276 | - G4Trap.cc, G4Tubs.cc: changed local enum 'kUndefined' to 'kUndef', |
---|
277 | to co-work with tag "global-V04-00-06", where 'kUndefined' is now |
---|
278 | defined for EAxis. |
---|
279 | |
---|
280 | Apr 16, 2002 V.Grichine geom-csg-V04-00-03 |
---|
281 | - G4Tubs.cc: restored "vertices" algorithm for CalculateExtent() which |
---|
282 | was temporarly disabled (see reference to tag geom-solids-csg-V03-00-03). |
---|
283 | - Updated unit test for G4Tubs, testG4Tubs.cc. |
---|
284 | |
---|
285 | Feb 15, 2002 V.Grichine geom-csg-V04-00-02 |
---|
286 | - G4Para.cc: fixed bug in G4Para::Inside() in calculation of xt, |
---|
287 | according to problem report #357. |
---|
288 | |
---|
289 | Jan 31, 2002 V.Grichine geom-csg-V04-00-01 |
---|
290 | - G4Sphere.cc: bug fix in Inside() function. |
---|
291 | Fix problem report #216. |
---|
292 | - Updated unit test for G4Sphere. |
---|
293 | |
---|
294 | Jan 10, 2002 G.Cosmo geom-solids-csg-V04-00-00 |
---|
295 | - Moved all verbosity mode warnings to G4CSGDEBUG and commented exceptions. |
---|
296 | - Activated G4CSGDEBUG mechanism in GNUmakefile. |
---|
297 | - G4Sphere.cc: fixed a problem with tolerances in the case of large Radius. |
---|
298 | The case (test18) involves an Rmax = 250 000 000.00 mm |
---|
299 | The ratio -9 |
---|
300 | tolerance 1.0 10 -17 |
---|
301 | ----------- = ------------ = 0.4 10 |
---|
302 | Rmax +8 |
---|
303 | 2.5 10 |
---|
304 | which is smaller than the precision of doubles. |
---|
305 | Solution (for DistanceToOut(), where problem occured): |
---|
306 | use a flexible tolerance, equal to the maximum of (kRadTolerance, 10 * R ) |
---|
307 | (J.Apostolakis). |
---|
308 | - Upgraded unit tests and fixed warnings on gcc-2.95-2. |
---|
309 | |
---|
310 | Aug 27, 2001 V.Grichine geom-solids-csg-V03-02-00 |
---|
311 | - G4Sphere.cc: bug fixed in G4Sphere::SurfaceNormal for the case kNETheta. |
---|
312 | Fixes problem report #290. |
---|
313 | |
---|
314 | May 18, 2001 G.Cosmo geom-solids-csg-V03-01-02 |
---|
315 | - Added G4CSGDEBUG preprocessor flag to discriminate for debug verbosity |
---|
316 | specific to CSG solids. Included in G4Exception of DistanceToOut() for |
---|
317 | "point p is outside" in G4Box, G4Cons, G4Tubs. |
---|
318 | |
---|
319 | Apr 20, 2001 G.Cosmo geom-solids-csg-V03-01-01 |
---|
320 | - Updates for migration to STL vector. |
---|
321 | Modified files: G4Box.cc, G4Cons.cc, G4Para.cc, G4Sphere.cc, |
---|
322 | G4Torus.cc, G4Trap.cc, G4Trd.cc, G4Tubs.cc. |
---|
323 | Require coworking with the rest of geometry-V03-01-00. |
---|
324 | |
---|
325 | Apr 18, 01 V. Grichine geom-solids-csg-V03-01-00 |
---|
326 | - G4Trap.cc: |
---|
327 | o Fixed memory leak in CalculateExtent() for creation of vertices in |
---|
328 | case of finite rotation. (courtesy of D.Williams) |
---|
329 | o Removed useless inclusion of math.h. |
---|
330 | |
---|
331 | Feb 21, 01 V. Grichine geom-solids-csg-V03-00-03 |
---|
332 | - G4Tubs.cc: |
---|
333 | o Fixed bug in function Inside(p) in computation of pPhi |
---|
334 | for points at phi = 0 if the (start phi)+(delta phi) is at phi = 0. |
---|
335 | o Temporarly modified CalculateExtent(...), now simply based on |
---|
336 | G4Box::CalculateExtent(...). Updated unit test testG4Tubs.cc. |
---|
337 | |
---|
338 | Feb 01, 01 V. Grichine geom-solids-csg-V03-00-02 |
---|
339 | - G4Box: introduced checks against negative (or <2*kCarTolerance) dimensions |
---|
340 | in methods SetXHalfLength(), SetYHalfLength() and SetZHalfLength(). |
---|
341 | |
---|
342 | Jan 29, 00 G. Cosmo geom-solids-csg-V03-00-01 |
---|
343 | - G4Box: introduced fixes to algorithm for computation of rotated vertices |
---|
344 | in CalculateExtent() as previously committed in tag geom-solids-csg-V02-00-10. |
---|
345 | - G4Torus: extracted logic for G4PolynomialSolver now included in |
---|
346 | global/HEPNumerics. Coworks with tag global-V03-00-02. |
---|
347 | - Added dependency to global/HEPNumerics in GNUmakefile. |
---|
348 | |
---|
349 | Jan 18, 00 V. Grichine geom-solids-csg-V03-00-00 |
---|
350 | - Fixed condition from (pPhi<0) to (pPhi<-0.5*kAngleTolerance) in |
---|
351 | G4Tubs::Inside(p). Fixes problem report #198. |
---|
352 | |
---|
353 | Dec 07, 00 V. Grichine geom-solids-csg-V02-00-14 |
---|
354 | - G4Tubs.cc: corrections in phi-section algorithm of Inside(p). |
---|
355 | |
---|
356 | Dec 01, 00 G. Cosmo geom-solids-csg-V02-00-13 |
---|
357 | - Increased basic number of iterations from 8 to 12 for Newton algorithm |
---|
358 | in G4Torus.cc to assure root retrivial. |
---|
359 | |
---|
360 | Nov 28, 00 V. Grichine geom-solids-csg-V02-00-12 |
---|
361 | - Bug fixed in G4Tubs::Inside(p) for analysis of phi positioning when |
---|
362 | on +-fDz surface. |
---|
363 | |
---|
364 | Nov 20, 00 G. Cosmo geom-solids-csg-V02-00-11 |
---|
365 | - Fixes to remove warnings from "-Wall -ansi -pedantic" g++ compiler options: |
---|
366 | o commented out variables declared and not used. |
---|
367 | o fixed declaration of variables used before being initialised. |
---|
368 | o fixed order of initialisation of member data in constructors. |
---|
369 | o fixed usage of unsigned-int (size_t) for array indeces. |
---|
370 | - NB: based on tag geom-solids-csg-V02-00-09. |
---|
371 | |
---|
372 | Nov 16, 00 V. Grichine geom-solids-csg-V02-00-10 |
---|
373 | - G4Box.cc: introduced fixes to algorithm for computation of rotated vertices |
---|
374 | in CalculateExtent(). (D.Williams) |
---|
375 | |
---|
376 | Nov 10, 00 G. Cosmo geom-solids-csg-V02-00-09 |
---|
377 | - G4Torus.cc: removed debug print-out which was still included by mistake |
---|
378 | in constructor. |
---|
379 | |
---|
380 | Nov 02, 00 G. Cosmo geom-solids-csg-V02-00-08 |
---|
381 | - QA code revision and cleanup (+fixes from CodeWizard filtering): |
---|
382 | o Removed virtual keyword from GetEntityType() concrete function. |
---|
383 | o General cosmetics. |
---|
384 | |
---|
385 | Oct 31, 00 V. Grichine geom-solids-csg-V02-00-07 |
---|
386 | - G4Tubs::DistanceToOut(p,v,...): |
---|
387 | o Initialised sr and sphi to kInfinity and re-introduced additional |
---|
388 | condition on check for Rmin intersection (t2 >= 0). |
---|
389 | |
---|
390 | Oct 26, 00 G. Cosmo geom-solids-csg-V02-00-06 |
---|
391 | - G4Cons::DistanceToOut(p,v): leave out warning if point is outside. |
---|
392 | |
---|
393 | Oct 23, 00 G. Cosmo geom-solids-csg-V02-00-05 |
---|
394 | - G4Tubs::DistanceToOut(p,v,...): |
---|
395 | o Still correction to thickness of conical surfaces. (V.Grichine) |
---|
396 | o Commented-out additional condition on check for Rmin intersection |
---|
397 | (t2 >= 0), recently introduced (roi2). |
---|
398 | Requires further investigation !! |
---|
399 | - G4Torus: |
---|
400 | o Introduced more stable numerical method (Newton-based) for computing |
---|
401 | roots of equations in DistanceToIn() and DistanceToOut(). (E.Medernach) |
---|
402 | |
---|
403 | Oct 18, 00 V. Grichine geom-solids-csg-V02-00-04 |
---|
404 | - G4Cons.cc, G4Tubs.cc: |
---|
405 | added check against negative distance returned by DistanceToIn/DistanceToOut. |
---|
406 | - G4Cons.cc: |
---|
407 | added correction for thickness of conical surfaces, remarkable for big |
---|
408 | opening angles, in DistanceToIn/DistanceToOut functions. |
---|
409 | |
---|
410 | Oct 05, 00 V. Grichine geom-solids-csg-V02-00-03 |
---|
411 | - G4Cons.cc: |
---|
412 | o fix in DistanceToIn(p,v): corrected condition on conical surface to |
---|
413 | consider a real projection of the conical surface thickness on XY |
---|
414 | plane (0.5*kCarTolerance*secRMin instead of 0.5*kCarTolerance), when |
---|
415 | dealing with cons with large opening angle. |
---|
416 | o Updated unit test testG4Cons2.cc. |
---|
417 | |
---|
418 | Aug 16, 00 V. Grichine geom-solids-csg-V02-00-02 |
---|
419 | - G4Cons.cc: |
---|
420 | o fix in constructor to check if one of the Rmin is equal to 0, |
---|
421 | if so, it will be set to 1e3*kRadTolerance. |
---|
422 | o Deactivated call to G4Exception in DistanceToOut(p) if p is outside, |
---|
423 | replaced by simple warning. |
---|
424 | - G4Tubes.cc, G4Box.cc: |
---|
425 | o Deactivated call to G4Exception in DistanceToOut(p) if p is outside, |
---|
426 | replaced by simple warning. |
---|
427 | |
---|
428 | Aug 08, 00 V. Grichine geom-solids-csg-V02-00-01 |
---|
429 | - G4Cons.cc, G4Tubs.cc: |
---|
430 | o fixes to DistanceToOut(p,v,...) to make roots of quadratic equations |
---|
431 | more stable. |
---|
432 | o added check if point is outside in G4Tubes::DistanceToOut(p), |
---|
433 | some code formatting. |
---|
434 | |
---|
435 | Jul 27, 00 V. Grichine geom-solids-csg-V02-00-00 |
---|
436 | - G4Cons.cc: |
---|
437 | o added more diagnostics in DistanceToOut(p) |
---|
438 | o cosmetics changes |
---|
439 | - Updated unit test for G4Cons. |
---|
440 | |
---|
441 | Jun 22, 00 V. Grichine geom-solids-csg-V01-01-04 |
---|
442 | - G4Box.cc: |
---|
443 | o added safety against call from outside in DistanceToOut(p) |
---|
444 | o added more diagnostics before exception in DistanceToOut(p,v,...) |
---|
445 | o cosmetics changes |
---|
446 | - G4Torus[.hh.cc]: |
---|
447 | o added new alternative functions SolveBiQuadratic/CubicNew. |
---|
448 | o fix in SolveBiQuadratic() for ambiguous expression in looping index |
---|
449 | detected by Insure++. |
---|
450 | - Updated unit tests testG4Torus and testG4Trd. |
---|
451 | |
---|
452 | May 17, 00 V. Grichine geom-solids-csg-V01-01-03 |
---|
453 | |
---|
454 | - G4Tubs.cc: |
---|
455 | o introduced fix in DistanceToOut(p,v,...) in computation of xi, yi for |
---|
456 | (sphi >= -0.5*kCarTolerance). This fixes problem reports #76 and #91. |
---|
457 | o added more diagnostics in case of invalid enum for DistanceToOut. |
---|
458 | - Updated unit test for G4Tubs. |
---|
459 | |
---|
460 | May 05, 00 V. Grichine geom-solids-csg-V01-01-02 |
---|
461 | |
---|
462 | - G4Box.cc, G4Trd.cc: |
---|
463 | o modified DistanceToIn(p,v) to return 0 distance in case computed |
---|
464 | value is less than 0.5*kCarTolerance. |
---|
465 | o Cosmetic changes. |
---|
466 | - Updated unit tests for G4Box and G4Trd. |
---|
467 | |
---|
468 | Apr 11, 00 J. Allison |
---|
469 | |
---|
470 | - Removed implementations of GetExtent in most sub-classes of G4VSolid (a |
---|
471 | default implementation exists in G4VSolid). |
---|
472 | - All implementations of DescribeYourselfTo (G4VGraphicsScene& scene) const |
---|
473 | now correctly written: scene.AddThis(*this). |
---|
474 | |
---|
475 | Apr 05, 00 G. Cosmo geom-solids-csg-V01-01-01 |
---|
476 | - G4Tubs.cc: fixed bug in function Inside(p). |
---|
477 | Removed (commented) in the code umproper addition of 2PI |
---|
478 | to Phi-angle particle (V.Grichine) |
---|
479 | - G4Hype[.hh.cc]: fixed several longstanding issues and bring methods |
---|
480 | into compliance with specifications (D.Williams) |
---|
481 | - Moved to "specific" the following classes: |
---|
482 | G4ClippablePolygon, G4EnclosingCylinder, G4Hype, G4PolyPhiFace, |
---|
483 | G4Polycone, G4PolyconeSide, G4Polyhedra, G4PolyhedraSide, |
---|
484 | G4ReduciblePolygon, G4IntersectingCone, G4SolidExtentList, |
---|
485 | G4VCSGface, G4VCSGfaceted. |
---|
486 | - Moved testG4Hype.cc and testG4Polycone.cc from CSG/test to |
---|
487 | specific/test |
---|
488 | - Moved generic tests "SBT" and "Fred" one level up to solids/test. |
---|
489 | - Organised class description comments for the Software Reference Manual |
---|
490 | in all headers. |
---|
491 | |
---|
492 | Mar 23, 00 G. Cosmo geom-solids-csg-V01-01-00 |
---|
493 | - Tagged. |
---|
494 | |
---|
495 | Mar 22, 00 D. Williams |
---|
496 | - G4PolyhedraSide.cc: fixed bug in G4PolyhedraSide::Normal(...). |
---|
497 | The method Normal(...) (used by G4VCSGfaceted::SurfaceNormal) was not |
---|
498 | filling in the argument bestDistance. This fixes a bug observed in |
---|
499 | G4Polyhedra::SurfaceNormal. |
---|
500 | |
---|
501 | Mar 14, 00 V. Grichine |
---|
502 | - Added diagnostics in G4Cons, G4Sphere and G4Torus in function |
---|
503 | DistanceToOut(p,v,...). |
---|
504 | |
---|
505 | Mar 03, 00 G. Cosmo geom-solids-csg-V01-00-05 |
---|
506 | - Minor fixes to unit tests to make them up-to-date with recent |
---|
507 | development versions (already included in tag geometry-V01-00-00a). |
---|
508 | - G4PolyconeSide.cc, G4PolyhedraSide.cc: added explicit cast to G4int |
---|
509 | to avoid warnings on Linux. |
---|
510 | |
---|
511 | Jan 19, 00 G. Cosmo geom-solids-csg-01-00-04 |
---|
512 | - Fixed bug in DistanceToIn(p,v). Modified files: G4Trap.cc and |
---|
513 | testG4Trap.cc. (V.Grichine) |
---|
514 | - Syncronized file versions with HEAD (essentially CVS headers changes). |
---|
515 | - Fixes for missing migration on HEAD related to some files in test/fred |
---|
516 | and test/SBT. |
---|
517 | |
---|
518 | Nov 17, 99 J. Apostolakis geom-solids-csg-01-00-03 |
---|
519 | - Tagged |
---|
520 | |
---|
521 | Nov 17, 99 V. Grichine |
---|
522 | - Added initialisation to Eside "side" variable in DistanceToOut(p,v) |
---|
523 | in CSG solids --> Problem report from D.C. Williams, BaBar |
---|
524 | - A check in G4Trap Makeplane added. |
---|
525 | |
---|
526 | Nov 10, 99 J. Apostolakis geom-solids-csg-01-00-02-cand |
---|
527 | - Included David Williams' modifications to |
---|
528 | G4IntersectingCone.cc, G4PolyconeSide.cc and G4VCSGfaceted.cc |
---|
529 | and to test/SBT/SBT.cc and test/SBT/polycone.geant4 |
---|
530 | |
---|
531 | Nov 10, 99 J. Apostolakis geom-solids-csg-01-00-01 |
---|
532 | - Tagged |
---|
533 | |
---|
534 | May 18, 99 David Williams |
---|
535 | - Replaced 1/DBL_MAX with DBL_MIN (valid correction, seen in tests for STL) |
---|
536 | in G4PolyPhiFace.cc, G4PolyconeSide.cc and G4PolyhedraSide.cc |
---|
537 | |
---|
538 | Apr 29, 99 David Williams |
---|
539 | - G4Polyhedra and G4Polycone (and G4VCSGfaceted) modified: |
---|
540 | 1. Implemented correct copy constructors and assignment operators. |
---|
541 | 2. Fix some leaks for tracks that pass exactly through an edge. |
---|
542 | Some leaks still remain: particularly if a track passes through |
---|
543 | a corner and between the curved edges of G4Polycone. |
---|
544 | 3. G4Polyhedra argument numSide changed to G4int (from G4double) |
---|
545 | |
---|
546 | Apr 13, 99 Vladimir Grichine and Simone Giani |
---|
547 | - Minor consistency fix to 8 basic CSG solids: |
---|
548 | Tolerance used in calculation of extent but not in one place, |
---|
549 | and not another - this tripped up the client code. |
---|
550 | |
---|
551 | Feb 16, 99 David Williams |
---|
552 | - Repaired bugs in G4Polycone (G4PolyconeSide.cc) as found in |
---|
553 | test/testG4Polycone and missed in below. |
---|
554 | - Updated definition of DistanceToIn(p) and DistanceToOut(p) to |
---|
555 | return zero when the point p is on the surface of the solid. |
---|
556 | |
---|
557 | Feb 12, 99 David Williams |
---|
558 | - src/G4PolyconeSide.cc updated (revision 1.4) to fix a bug discovered by |
---|
559 | test/testG4Polycone. |
---|
560 | |
---|
561 | Feb 9, 99 David C. Williams (davidw@scipp.ucsc.edu) |
---|
562 | - I've committed new versions of the CSG Polycone and Polyhedra in the |
---|
563 | geant4 repository, including a new utility class called |
---|
564 | G4ReduciblePolygon. The new versions fix several subtle bugs which my |
---|
565 | "test3" batch geometry testing code uncovered. In addition, the new class |
---|
566 | G4ReduciblePolygon is used to run strict tests on the validity of input |
---|
567 | parameters. |
---|
568 | To fix a bug in Polyhedra, I had to back out some fancy code that |
---|
569 | allowed it to calculate intersections at a speed that was independent of |
---|
570 | the number of sides. The new version now runs at a speed proportional to |
---|
571 | the number of sides, and is thus much slower for polyhedras with many |
---|
572 | sides. I can fix this, but I thought it would be best to get the bug fixes |
---|
573 | in as soon as possible. |
---|
574 | |
---|
575 | Feb 10, 99 John Apostolakis |
---|
576 | - History file created. |
---|