1 | |
---|
2 | $Id: History,v 1.62 2007/10/24 08:19:11 gcosmo Exp $ |
---|
3 | ------------------------------------------------------------------- |
---|
4 | |
---|
5 | ========================================================= |
---|
6 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP |
---|
7 | ========================================================= |
---|
8 | |
---|
9 | Category History file |
---|
10 | --------------------- |
---|
11 | This file should be used by G4 developers and category coordinators |
---|
12 | to briefly summarize all major modifications introduced in the code |
---|
13 | and keep track of all category-tags. |
---|
14 | It DOES NOT substitute the CVS log-message one should put at every |
---|
15 | committal in the CVS repository ! |
---|
16 | |
---|
17 | Please keep a summary of these message in geometry/History! |
---|
18 | |
---|
19 | ---------------------------------------------------------- |
---|
20 | * Reverse chronological order (last date on top), please * |
---|
21 | ---------------------------------------------------------- |
---|
22 | |
---|
23 | Oct 24, 2007 V.Grichine geom-bool-V09-00-00 |
---|
24 | - Improved response of Inside() for G4SubtractionSolid and G4UnionSolid |
---|
25 | according to suggestion in problem report #979. |
---|
26 | |
---|
27 | May 18, 2007 G.Cosmo geom-bool-V08-03-00 |
---|
28 | - Use kAngTolerance and kRadTolerance from G4GeometryTolerance class. |
---|
29 | - Updated unit tests. |
---|
30 | - Coworks with tag "global-V08-03-03". |
---|
31 | |
---|
32 | Nov 08, 2006 G.Cosmo geom-bool-V08-01-02 |
---|
33 | - Fixed compilation problems on SUN-CC for changes in the last tag. |
---|
34 | Added inclusion of <sstream> header in G4IntersectionSolid.cc and |
---|
35 | G4UnionSolid.cc. |
---|
36 | |
---|
37 | Nov 06, 2006 J.Allison geom-bool-V08-01-01 |
---|
38 | - G4IntersectionSolid, G4SubtractionSolid, G4UnionSolid: |
---|
39 | fixed CreatePolyhedron() for case of component that does |
---|
40 | not have a G4Polyhedron representation. |
---|
41 | - Added checks for point on boolean surface to unit tests |
---|
42 | testG4DisplacedSolid and testG4SubtractionSolid (V.Grichine). |
---|
43 | |
---|
44 | Oct 19, 2006 G.Cosmo geom-bool-V08-01-00 |
---|
45 | - Added GetSurfaceArea() method, accessors and modifiers to base class |
---|
46 | G4BooleanSolid, implementing the caching mechanism as for volumes. |
---|
47 | |
---|
48 | May 03, 2006 V.Grichine geom-bool-V08-00-00 |
---|
49 | - Fix in G4IntersectionSolid::CalculateExtent() for the correctly handling |
---|
50 | extent computation for nested intersections and always respect the rule |
---|
51 | pMax > pMin. |
---|
52 | |
---|
53 | Nov 09, 2005 G.Cosmo geom-bool-V07-01-01 |
---|
54 | - Added fake default constructor for concrete solids types and relevant |
---|
55 | utility classes, for usage of direct object persistency. |
---|
56 | |
---|
57 | Sep 15, 2005 V.Grichine geom-bool-V07-01-00 |
---|
58 | - Added concrete implementation for GetPointOnSurface() to |
---|
59 | G4BooleanSolid and G4DisplacedSolid. |
---|
60 | - Updated unit tests testG4DisplacedSolid and testG4IntersectionSolid. |
---|
61 | |
---|
62 | May 04, 2005 V.Grichine geom-bool-V07-00-03 |
---|
63 | - Make the new implementation of Inside() with surface-normal for |
---|
64 | edges/vertices the deafult one. |
---|
65 | Removed G4NEW_SURF_NORMAL compilation flag. |
---|
66 | |
---|
67 | Mar 23, 2005 J.Allison geom-bool-V07-00-02 |
---|
68 | - Added test for Number-Of-Rotation-Steps in GetPolyhedron() |
---|
69 | for G4DisplacedSolid and G4BooleanSolid. Requires tag "greps-V07-00-02". |
---|
70 | |
---|
71 | Mar 10, 2005 V.Grichine geom-bool-V07-00-01 |
---|
72 | - Modified Inside(p) G4SubtractionSolid and G4UnionSolid, to fix |
---|
73 | inconsistency for non-zero sum of surface-normals. |
---|
74 | Available only through activation of G4NEW_SURF_NORMAL compilation flag. |
---|
75 | - Updated unit tests. |
---|
76 | |
---|
77 | Mar 03, 2005 J.Allison |
---|
78 | - Changed AddThis() to AddSolid() in the concrete implementations of |
---|
79 | DescribeYourselfTo(G4VGraphicsScene&) for all solids. Use the |
---|
80 | newly available CreatePolyhedron() for components of Boolean |
---|
81 | solids, instead of GetPolyhedron(). |
---|
82 | |
---|
83 | Feb 22, 2005 V.Grichine geom-bool-V07-00-00 |
---|
84 | - Fix in G4IntersectionSolid::DistanceToIn(p,v) to allow for correct |
---|
85 | simmetrical treatment of the solids' intersection. Algorithm reviewed |
---|
86 | as proposed by D.Bazzacco in problem report #723. |
---|
87 | - New unit test testBoolSurfaceInOut.cc for checking dIn-dOut and AB, |
---|
88 | BA booleans on surface. |
---|
89 | |
---|
90 | Oct 10, 2004 J.Allison geom-bool-V06-02-01 |
---|
91 | - Added GetPolyhedron, a smart access function that creates a G4Polyhedron |
---|
92 | on request and stores for future access. A null pointer means "not |
---|
93 | available". |
---|
94 | |
---|
95 | Sep 22, 2004 V.Grichine geom-bool-V06-02-00 |
---|
96 | - Added specific implementation for G4BooleanSolid::GetCubicVolume() |
---|
97 | to cache the computed value. |
---|
98 | - Moved inline methods for G4BooleanSolid to .icc file. |
---|
99 | |
---|
100 | May 07, 2004 G.Cosmo geom-bool-V06-01-00 |
---|
101 | - Moved G4ReflectedSolid class to "management" module. |
---|
102 | - Moved G4ReflectionFactory class to "volumes" module. |
---|
103 | - Moved unit test for reflection to "volumes" module. |
---|
104 | - Coworks with tags: geommng-V06-01-00, geomvol-V06-01-00 and |
---|
105 | geomdiv-V06-01-00. |
---|
106 | |
---|
107 | Feb 27, 2004 V.Grichine geom-bool-V06-00-00 |
---|
108 | - G4UnionSolid.cc, G4SubtractionSolid.cc: fix in debug printout for |
---|
109 | SurfaceNomal(). |
---|
110 | |
---|
111 | Dec 01, 2003 G.Cosmo geom-bool-V05-02-04 |
---|
112 | - G4ReflectedSolid.cc: fixed trivial leak in constructor. |
---|
113 | |
---|
114 | Nov 03, 2003 G.Cosmo geom-bool-V05-02-03 |
---|
115 | - Code cleanup and headers inclusion review |
---|
116 | (replaced by forward declarations where necessary). |
---|
117 | |
---|
118 | Oct 28, 2003 G.Cosmo geom-bool-V05-02-02 |
---|
119 | - Migration to new G4Exception scheme. |
---|
120 | |
---|
121 | Oct 28, 2003 J.Apostolakis |
---|
122 | - Modified test/GNUmakefile to delete un-necessary directories. |
---|
123 | It no longer refers to navigator (old volumes), but includes |
---|
124 | intercoms (for G4VVisManager). |
---|
125 | |
---|
126 | Oct 9, 2003 V.Grichine geom-bool-V05-02-01 |
---|
127 | - Fixes to default safety to zero in DistIn/Out(p) methods. |
---|
128 | Note: Using previous test GNUmakefile (to be corrected). |
---|
129 | |
---|
130 | Sep 30, 2003 G.Cosmo geom-bool-V05-02-00 |
---|
131 | - Updated GNUmakefile for unit tests, according to new structure |
---|
132 | introduced in "geometry-V05-02-00". |
---|
133 | |
---|
134 | Jun 12, 2003 G.Cosmo geom-bool-V05-01-02 |
---|
135 | - G4ReflectionFactory: |
---|
136 | o Made public accessors: GetConstituentLV(), GetReflectedLV(), |
---|
137 | IsConstituent() and IsReflected(). |
---|
138 | o Added accessor GetReflectedVolumesMap() to access list of |
---|
139 | reflected volumes. |
---|
140 | |
---|
141 | May 22, 2003 G.Cosmo geom-bool-V05-01-01 |
---|
142 | - Implementations for Set/GetScalePrecision() in G4ReflectionFactory |
---|
143 | missing! Now fixed. |
---|
144 | |
---|
145 | May 12, 2003 G.Cosmo geom-bool-V05-01-00 |
---|
146 | - Added set/get methods for scale precision in G4ReflectionFactory. |
---|
147 | |
---|
148 | Mar 25, 2003 G.Cosmo geom-bool-V05-00-01 |
---|
149 | - Fixed trivial strict pedantic warnings in G4ReflectedSolid.cc and |
---|
150 | G4ReflectionFactory.cc. |
---|
151 | - Minor fixes to unit tests. |
---|
152 | |
---|
153 | Jan 27, 2003 G.Cosmo geom-bool-V05-00-00 |
---|
154 | - G4ReflectionFactory[.hh.cc] (courtesy of I.Hrivnacova): |
---|
155 | o Added set/get functions Set/GetVolumesNameExtension() for volume-name |
---|
156 | extension. By default now the factory assigns "_refl" postfix to name |
---|
157 | of reflected volumes. |
---|
158 | o Assumed less strict condition in the CheckScale() method, to avoid |
---|
159 | precision problems with imported rotation matrices. |
---|
160 | |
---|
161 | Oct 29 2002 Gabriele Cosmo geom-bool-V04-01-01 |
---|
162 | - Added method CleanTransformations() to G4DisplacedSolid and corrected |
---|
163 | implementation in destructor of G4BooleanSolid to not call for deletion |
---|
164 | of G4VSolid in the case where displacement is used. |
---|
165 | This fixes a problem noticed on Linux-g++ at application closeout for |
---|
166 | double deletion of a solid in such special case. |
---|
167 | |
---|
168 | Oct 28 2002 Gabriele Cosmo geom-bool-V04-01-00 |
---|
169 | - Added implementation of StreamInfo() to comply with new interface for |
---|
170 | G4VSolid in "geommng-V04-01-03". |
---|
171 | - Some cosmetic changes to code formatting. |
---|
172 | - Extended unit tests to include new user test-cases (V.Grichine). |
---|
173 | |
---|
174 | May 11 2002 Vladimir Grichine geom-bool-V04-00-05 |
---|
175 | - G4ReflectedSolid.cc: bounding-box like algorithm for CalculateExtent(). |
---|
176 | |
---|
177 | Apr 16 2002 Vladimir Grichine geom-bool-V04-00-04 |
---|
178 | - G4ReflectedSolid.cc: enhanced algorithm for CalculateExtent(), now |
---|
179 | passing all basic unit tests. |
---|
180 | - Updated unit test for G4ReflectedSolid, testG4ReflectedSolid.cc |
---|
181 | |
---|
182 | Mar 26 2002 Vladimir Grichine geom-bool-V04-00-03 |
---|
183 | - G4ReflectedSolid.cc: modified implementation of CalculateExtent() to |
---|
184 | properly consider transformation of reflected extent. |
---|
185 | |
---|
186 | Feb 15 2002 Vladimir Grichine geom-bool-V04-00-02 |
---|
187 | - G4ReflectedSolid[.hh.cc]: |
---|
188 | o Defined new methods Set/GetTransform3D() and Set/GetDirectTransform3D() |
---|
189 | for defining/accessing the real reflected transformation |
---|
190 | o Moved methods for G4AffineTransform to protected. |
---|
191 | |
---|
192 | Feb 07 2002 Gabriele Cosmo geom-bool-V04-00-01 |
---|
193 | - G4ReflectionFactory.cc: fixed bug causing repetition of daughter volumes. |
---|
194 | |
---|
195 | Jan 10 2002 Gabriele Cosmo geom-solid-bool-V04-00-00 |
---|
196 | - Moved all verbosity mode warnings to G4BOOLDEBUG and commented exceptions. |
---|
197 | - Activated G4BOOLDEBUG mechanism in GNUmakefile. |
---|
198 | - Fixed unit tests. |
---|
199 | |
---|
200 | Nov 08 2001 Gabriele Cosmo geom-solid-bool-V03-02-02 |
---|
201 | - Fix for verbosity in G4ReflectionFactory.cc. Reduced of one level. |
---|
202 | |
---|
203 | Oct 18 2001 Gabriele Cosmo geom-solid-bool-V03-02-01 |
---|
204 | - Introduced first implementation of classes G4ReflectedSolid and |
---|
205 | G4ReflectionFactory for reflections of positioned volumes |
---|
206 | (courtesy of V.Grichine and I.Hrivnacova). |
---|
207 | - Fixed bug in G4ReflectedSolid::CreatePolyhedron(). |
---|
208 | |
---|
209 | Aug 13 2001 Vladimir Grichine geom-solid-bool-V03-02-00 |
---|
210 | - Introduced G4BOOLDEBUG flag and replaced G4Exception statements with |
---|
211 | simple warnings to G4cerr for rare occurences of anomalous conditions. |
---|
212 | |
---|
213 | May 30 2001 Vladimir Grichine geom-solid-bool-V03-01-00 |
---|
214 | - G4IntersectionSolid: fix in DistanceToIn(p,v) resolving bug observed |
---|
215 | in problem report #153. |
---|
216 | |
---|
217 | Mar 19 2001 Gabriele Cosmo geom-solid-bool-V03-00-03 |
---|
218 | |
---|
219 | - G4IntersectionSolid: |
---|
220 | o fix in CalculateExtent() for computation of pMin and pMax, to avoid |
---|
221 | assignment in case CalculateExtent() of one component solid fails. |
---|
222 | o fix in Inside() to return kOutside in case first component solid's |
---|
223 | Inside() returns kOutside. |
---|
224 | - G4UnionSolid: |
---|
225 | o fix in CalculateExtent() for computation of pMin and pMax: initialised |
---|
226 | local variables. |
---|
227 | |
---|
228 | Jan 31 2001 Gabriele Cosmo geom-solid-bool-V03-00-02 |
---|
229 | |
---|
230 | - Fix in G4UnionSolid::DistanceToOut(p,v,...) for assignment of |
---|
231 | argument *n. Previous fix was incomplete! |
---|
232 | |
---|
233 | Jan 23 2001 Gabriele Cosmo geom-solid-bool-V03-00-01 |
---|
234 | |
---|
235 | - Fixed wrong labels for G4Exception calls in G4UnionSolid.cc and |
---|
236 | G4SubtractionSolid.cc to identify the correct class. |
---|
237 | Fixes bug report #200. |
---|
238 | |
---|
239 | Jan 08 2001 Vladimir Grichine geom-solid-bool-V03-00-00 |
---|
240 | |
---|
241 | - Fix in G4UnionSolid::DistanceToOut(p,v,...) for assignment of |
---|
242 | argument *n to happen only if calcNorm is false. |
---|
243 | (courtesy of D.Williams) |
---|
244 | - Updated unit tests testG4IntersectionSolid.cc, testG4SubtractionSolid.cc |
---|
245 | and test/testG4UnionSolid.cc. |
---|
246 | |
---|
247 | Nov 22 2000 Vladimir Grichine geom-solid-bool-V02-00-03 |
---|
248 | |
---|
249 | - Added new set methods for matrix/vectors to G4DisplacedSolid: |
---|
250 | SetTransform(G4AffineTransform&), |
---|
251 | SetDirectTransform(G4AffineTransform&), |
---|
252 | SetFrameRotation(const G4RotationMatrix&), |
---|
253 | SetFrameTranslation(const G4ThreeVector&), |
---|
254 | SetObjectRotation(const G4RotationMatrix&), |
---|
255 | SetObjectTranslation(const G4ThreeVector&). |
---|
256 | |
---|
257 | Nov 20 2000 Gabriele Cosmo geom-solid-bool-V02-00-02 |
---|
258 | |
---|
259 | - Fixes to remove warnings from "-Wall -ansi -pedantic" g++ compiler options: |
---|
260 | o commented out variables declared and not used. |
---|
261 | o fixed declaration of variables used before being initialised. |
---|
262 | o fixed order of initialisation of member data in constructors. |
---|
263 | o fixed usage of unsigned-int (size_t) for array indeces. |
---|
264 | |
---|
265 | Nov 2 2000 Gabriele Cosmo geom-solid-bool-V02-00-01 |
---|
266 | |
---|
267 | - QA code revision and cleanup (+fixes from CodeWizard filtering): |
---|
268 | o Added (private) declarations of copy constructor and assignment |
---|
269 | operator where needed. |
---|
270 | o Changed virtual functions to non-inline wherever's the case. |
---|
271 | |
---|
272 | Sep 13 2000 Vladimir Grichine geom-solid-bool-V02-00-00 |
---|
273 | |
---|
274 | - G4SubtractionSolid.cc: relaxed behavior in SurfaceNormal(p), where |
---|
275 | it is allowed for a point to be inside the solid. A message is thrown |
---|
276 | to cerr instead of a G4Exception. |
---|
277 | |
---|
278 | Jun 26 2000 Vladimir Grichine geom-solid-bool-V01-01-03 |
---|
279 | |
---|
280 | - Fixed bug in G4SubtractionSolid::DistanceToOut(p,v,...). validNorm |
---|
281 | flag was uncorrectly set to true. Fixes report #102. |
---|
282 | |
---|
283 | Jun 6 2000 John Apostolakis geom-solid-bool-V01-01-02 |
---|
284 | |
---|
285 | - Protecting the use of pointers validNorm and n, if calcNorm is false |
---|
286 | |
---|
287 | Jun 6 2000 John Allison geom-solid-bool-V01-01-01 |
---|
288 | |
---|
289 | - Re-enabled CreatePolyhedron() method from G4UnionSolid, G4IntersectionSolid |
---|
290 | and G4SubtractionSolid. Coworks with greps-V01-01-04. |
---|
291 | |
---|
292 | May 26 2000 John Allison geom-solid-bool-V01-01-00 |
---|
293 | |
---|
294 | - Disabled CreatePolyhedron() method from G4UnionSolid, G4IntersectionSolid |
---|
295 | and G4SubtractionSolid. It now temporarly returns a NULL pointer. |
---|
296 | Visualisation of Boolean solids is therefore temporarly disabled, pending |
---|
297 | a definitive fix in graphics_reps. |
---|
298 | Files G4UnionSolid.cc, G4SubtractionSolid.cc and G4IntersectionSolid.cc |
---|
299 | are included in the branch-tag "boolean_nopoly_branch". |
---|
300 | |
---|
301 | Apr 27 2000 Gabriele Cosmo |
---|
302 | |
---|
303 | - Reorganised comments for the Software Reference Manual. |
---|
304 | - Added CVS headers and standard G4 header where missing. |
---|
305 | |
---|
306 | Apr 11 2000 John Allison |
---|
307 | |
---|
308 | - CreatePolyhedron implemented for BooleanSolids. |
---|
309 | - G4DisplacedSolid: reversed implementation of GetFrameRotation and |
---|
310 | GetObjectRotation, removing inappropriate invertion. |
---|
311 | - G4DisplacedSolid::GetConstituentMovedSolid() made const. |
---|
312 | |
---|
313 | Jan 19 2000 Gabriele Cosmo geom-solid-bool-V01-00-00 |
---|
314 | |
---|
315 | - Syncronized file versions with HEAD (essentially CVS headers changes) |
---|
316 | - Fixed cases of G4std::min which were not migrated on the HEAD in files: |
---|
317 | G4UnionSolid.cc and G4IntersectionSolid.cc |
---|
318 | |
---|
319 | Nov 24 1999 geom-solid-bool-V00-01-05 |
---|
320 | |
---|
321 | - Small fix in src/G4DisplacedSolid.cc to the return type |
---|
322 | (const G4AffineTransform --> G4AffineTransform) |
---|
323 | to conform with the specification of the class. |
---|
324 | |
---|
325 | Nov 19 1999 geom-solid-bool-V00-01-04 |
---|
326 | |
---|
327 | - Fixes from Vladimir, and additional tests |
---|
328 | |
---|
329 | Nov 10 1999 geom-solid-bool-V00-01-03b |
---|
330 | |
---|
331 | - Renamed GetConstituentSolid to GetConstituentMovedSolid in G4DisplacedSolid |
---|
332 | to avoid clashing with method that gets the contituents of a G4BooleanSolid. |
---|
333 | |
---|
334 | Nov 10 1999 geom-solid-bool-V00-01-03a |
---|
335 | |
---|
336 | - Tag with additional methods for Persistency |
---|
337 | |
---|
338 | Nov 10 1999 geom-solid-bool-V00-01-03-cand |
---|
339 | |
---|
340 | New method: Get Object Rotation/Translation methods in Displaced Solid |
---|
341 | |
---|
342 | Nov 9 1999 geom-solid-bool-V00-01-02-cand |
---|
343 | |
---|
344 | - Tag with additional methods for Visualisation |
---|
345 | |
---|
346 | G4DisplacedSolid, G4BooleanSolid |
---|
347 | |
---|
348 | Added methods to access data members: |
---|
349 | Get Constituent Solid (int) for Boolean Solid |
---|
350 | Get Constituent Solid for Displaced Solid |
---|
351 | Get Frame Rotation/Translation methods in Displaced Solid |
---|
352 | |
---|
353 | |
---|
354 | |
---|
355 | Dec 1 1998 John Apostolakis geom-boolean-4-ja |
---|
356 | |
---|
357 | Code portability changes. |
---|
358 | |
---|
359 | Nov 27 1998 J.Apostolakis & V.Grichine geom-boolean-3-vg |
---|
360 | |
---|
361 | Fixes agreed in code review were implemented. |
---|