| [850] | 1 | $Id: History,v 1.145 2008/08/12 08:57:31 gcosmo Exp $
|
|---|
| [831] | 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 |
|
|---|
| [850] | 20 | 25-Jul-2008, I.Hrivnacova (geom-specific-V09-01-14)
|
|---|
| 21 | - G4ExtrudedSolid: fix in polygon decomposition; systematically use
|
|---|
| 22 | half kCarTolerance instead of kCarTolerance; added solid name in the
|
|---|
| 23 | error messages coming from fatal exceptions.
|
|---|
| [831] | 24 |
|
|---|
| [850] | 25 | 16-Jul-2008, T.Nikitina (geom-specific-V09-01-13)
|
|---|
| 26 | - G4Paraboloid: revised DistanceToOut(p,v,...) in answer to problem report
|
|---|
| 27 | #1015. Fixed precision problem when solving quadratic equation; apply
|
|---|
| 28 | comparison with kCarTolerance and not with zero; fixed logic problem in
|
|---|
| 29 | algoritm for points on surface and direction inside, relative to directions
|
|---|
| 30 | along Z, (0,0,Vz).
|
|---|
| 31 |
|
|---|
| 32 | 22-May-2008, G.Cosmo (geom-specific-V09-01-12)
|
|---|
| 33 | - Removed left-over debug printout in G4VCSGFaceted::DistanceToIn().
|
|---|
| 34 |
|
|---|
| 35 | 15-May-2008, T.Nikitina (geom-specific-V09-01-11)
|
|---|
| 36 | - Enhanced GetPointOnSurface() for generic G4Polycone and G4Polyhedra
|
|---|
| 37 | constructs; the method uses new triangulation algorithm for G4PolyPhiFace.
|
|---|
| 38 | - G4ExtrudedSolid: added missing 'std' namespace to standard mathematical
|
|---|
| 39 | function calls.
|
|---|
| 40 |
|
|---|
| [831] | 41 | 28-Apr-2008, T.Nikitina (geom-specific-V09-01-10)
|
|---|
| 42 | - Added kCarTolerance in definition of "low" and "high" cone limits in R
|
|---|
| 43 | and in Z in order to protect against numerical errors. This fixes cases of
|
|---|
| 44 | DistanceToIn(p,v) returning 'kInfinity' when p+t*v cross intersection
|
|---|
| 45 | between two cones.
|
|---|
| 46 |
|
|---|
| 47 | 25-Apr-2008, T.Nikitina (geom-specific-V09-01-09)
|
|---|
| 48 | - Added protection against NaN in G4IntersectingCone::LineHitsCone1() in
|
|---|
| 49 | case of configuration where a conic section becomes a tube.
|
|---|
| 50 | - G4EllipticalCone: removed some debug printouts.
|
|---|
| 51 |
|
|---|
| 52 | 14-Apr-2008, T.Nikitina (geom-specific-V09-01-08)
|
|---|
| 53 | - G4Hype: refined polyhedron representation for correct visualization of
|
|---|
| 54 | the shape. Coworks with tag "greps-V09-01-04".
|
|---|
| 55 |
|
|---|
| 56 | 13-Mar-2008, G.Cosmo (geom-specific-V09-01-07)
|
|---|
| 57 | - Cleared compilation warnings in G4Paraboloid and G4TessellatedSolid
|
|---|
| 58 | on gcc-4.3.0 for ambiguous use of parentheses in condition statements.
|
|---|
| 59 |
|
|---|
| 60 | 28-Feb-2008, I.Hrivnacova (geom-specific-V09-01-06)
|
|---|
| 61 | - Correction to previous fix in G4ExtrudedSolid: testing on the edges has
|
|---|
| 62 | to be limited to the line segment, for this purpose a new internal method
|
|---|
| 63 | IsSameLineSegment() has been introduced for use instead of IsSameLine().
|
|---|
| 64 | - Updated and extended unit test testG4ExtrudedSolid.cc.
|
|---|
| 65 |
|
|---|
| 66 | 27-Feb-2008, I.Hrivnacova (geom-specific-V09-01-05)
|
|---|
| 67 | - Fix in G4TessellatedSolid::DistanceToOut(p,v,..) to compute normal only
|
|---|
| 68 | if specified by flag in input.
|
|---|
| 69 | - Fix in G4ExtrudedSolid::Inside(p) for correctly handling the case of
|
|---|
| 70 | points located on the edges of triangles which are not the outline edges
|
|---|
| 71 | of the polygon.
|
|---|
| 72 |
|
|---|
| 73 | 21-Feb-2008, T.Nikitina (geom-specific-V09-01-04)
|
|---|
| 74 | - G4Polyhedra: fixed problem of out-of-bound access to vectors in
|
|---|
| 75 | GetPointOnSurface().
|
|---|
| 76 |
|
|---|
| 77 | 20-Feb-2008, I.Hrivnacova (geom-specific-V09-01-03)
|
|---|
| 78 | - G4TessellatedSolid: fixed bug in copy-constructor and internal method
|
|---|
| 79 | CopyObjects() for cloning of facets.
|
|---|
| 80 |
|
|---|
| 81 | 05-Feb-2008, I.Hrivnacova (geom-specific-V09-01-02)
|
|---|
| 82 | - G4ExtrudedSolid: bug fix in MakeFacets() to fill 'fTriangles' also in case
|
|---|
| 83 | of polygon with 3 or 4 vertices, as they are needed for Inside(p).
|
|---|
| 84 |
|
|---|
| 85 | 02-Feb-2008, I.Hrivnacova (geom-specific-V09-01-01)
|
|---|
| 86 | - Corrected triangularization of polygon, now correctly handling case
|
|---|
| 87 | of concave shapes.
|
|---|
| 88 | - Corrected order of arguments in G4Paraboloid constructor.
|
|---|
| 89 |
|
|---|
| 90 | 16-Jan-2008, I.Hrivnacova (geom-specific-V09-01-00)
|
|---|
| 91 | - In G4ExtrudedSolid::MakeFacets(), now adding triangular facets before quadrangular
|
|---|
| 92 | ones, following logic behind G4TessellatedSolid.
|
|---|
| 93 |
|
|---|
| 94 | 12-Dec-2007, G.Cosmo (geom-specific-V09-00-08a)
|
|---|
| 95 | - Remove use of global static constant from singleton initialisation in
|
|---|
| 96 | G4TessellatedGeometryAlgorithms class. Use 'sqrEpsilon' as local value.
|
|---|
| 97 |
|
|---|
| 98 | 15-Nov-2007, P.Truscott (geom-specific-V09-00-08)
|
|---|
| 99 | - Reviewed implementation of G4TessellatedSolid::CalculateExtent() to
|
|---|
| 100 | make it more robust and precise, following suggestion by S.Seibert
|
|---|
| 101 | addressed in problem report #983, now fixed.
|
|---|
| 102 |
|
|---|
| 103 | 12-Oct-2007, G.Cosmo (geom-specific-V09-00-07)
|
|---|
| 104 | - Corrected wrong boolean condition in method IntersectLineAndTriangle2D()
|
|---|
| 105 | of G4TessellatedGeometryAlgorithms causing compilation error on VC++8.
|
|---|
| 106 |
|
|---|
| 107 | 09-Oct-2007, G.Cosmo (geom-specific-V09-00-06)
|
|---|
| 108 | - Reviewed G4TessellatedSolid classes in order not to make use of random
|
|---|
| 109 | numbers for selection of direction (by P.Truscott).
|
|---|
| 110 |
|
|---|
| 111 | 02-Oct-2007, G.Cosmo
|
|---|
| 112 | - Removed debug printout in G4Polycone::GetPointOnCone().
|
|---|
| 113 |
|
|---|
| 114 | 23-Aug-2007, G.Cosmo (geom-specific-V09-00-05)
|
|---|
| 115 | - Revision of G4TessellatedSolid classes:
|
|---|
| 116 | o Fixed problem report #931 by P.Truscott, based on suggestion of
|
|---|
| 117 | R.Holmberg. Modified classes G4TessellatedSolid and G4TriangularFacet.
|
|---|
| 118 | o Modified data and accessor 'centroid' and 'GetCentroid()' for G4VFacet;
|
|---|
| 119 | replaced by 'circumcentre' and 'GetCircumcentre()' respectively.
|
|---|
| 120 | o Added utility class G4TessellatedGeometryAlgorithms.
|
|---|
| 121 | - Added formulas for calculating SemiAxis and Zheight in G4EllipticalCone
|
|---|
| 122 | (by T.Nikitina).
|
|---|
| 123 |
|
|---|
| 124 | 20-Aug-2007, T.Nikitina & L.Lindroos (geom-specific-V09-00-04)
|
|---|
| 125 | - Revision of G4EllipticalCone:
|
|---|
| 126 | o DistanceToIn(p): corrected answer for p.z()<-zTopCut and for the point
|
|---|
| 127 | p on the surface.
|
|---|
| 128 | o DistanceToOut(p,v): now returning positive solution or zero when crossing
|
|---|
| 129 | the elliptical surface.
|
|---|
| 130 | o Fix in DistanceToOut(p) which was giving always zero.
|
|---|
| 131 | o Corrected visualisation error of solid in graphics_reps.
|
|---|
| 132 | o Added some formulas on how to pre-calculate 'SemiAxis' and 'zheight'.
|
|---|
| 133 | o Added checkDistanceToOut() method to unit test.
|
|---|
| 134 | - Corrections to G4Paraboloid:
|
|---|
| 135 | o Fixed bug in CalculateSurfaceArea() method
|
|---|
| 136 | o Added correct initialisation of 'fPolyhedron' in constructor.
|
|---|
| 137 | o Added unit test testG4Paraboloid.
|
|---|
| 138 |
|
|---|
| 139 | 13-Aug-2007, W.Pokorski (geom-specific-V09-00-03)
|
|---|
| 140 | - G4PolyconeSide: added workaround to initialisation of 'corners' vector,
|
|---|
| 141 | to allow for object persistency with Root-I/O (W.Pokorski).
|
|---|
| 142 |
|
|---|
| 143 | 18-Jul-2007, G.Cosmo (geom-specific-V09-00-02)
|
|---|
| 144 | - New specific G4Paraboloid with cuts along the Z axis (by L.Lindroos).
|
|---|
| 145 | - Fixed dummy constructors of G4Polycone and G4PolyPhiFace for initialisation
|
|---|
| 146 | of 'edges' and 'corners'.
|
|---|
| 147 | - Coworks with tag "greps-V09-00-01".
|
|---|
| 148 |
|
|---|
| 149 | 12-Jul-2007, T.Nikitina (geom-specific-V09-00-01)
|
|---|
| 150 | - Fix in G4Polyhedra::GetPointOnSurface() to correctly treat 'totalPhi' instead of
|
|---|
| 151 | 'endPhi' for the case of open shapes and 'twopi' for not open shapes.
|
|---|
| 152 |
|
|---|
| 153 | 05-Jul-2007, T.Nikitina (geom-specific-V09-00-00)
|
|---|
| 154 | - Fix in G4Polyhedra::GetPointOnSurface() for the case when number of sectors
|
|---|
| 155 | (numSide) is equal to 1. At the origin of problems observed when checking
|
|---|
| 156 | overlaps for polyhedra solids defined as such.
|
|---|
| 157 |
|
|---|
| 158 | 31-May-2007, G.Cosmo (geom-specific-V08-03-03)
|
|---|
| 159 | - Fixed initialisation of constants in constructor for - G4VTwistSurface,
|
|---|
| 160 | G4PolyPhiFace, G4PolyconeSide, G4PolyhedraSide - following latest changes
|
|---|
| 161 | for tunable tolerance.
|
|---|
| 162 |
|
|---|
| 163 | 25-May-2007, G.Cosmo (geom-specific-V08-03-02)
|
|---|
| 164 | - Fixed default response of DistToIn/DistToOut for twisted solids.
|
|---|
| 165 | - Use G4TWISTDEBUG instead of G4SPECSDEBUG as debug conditional flag
|
|---|
| 166 | for twisted solids.
|
|---|
| 167 | - Some cleanup in G4TwistTrapAlphaSide code.
|
|---|
| 168 |
|
|---|
| 169 | 18-May-2007, G.Cosmo (geom-specific-V08-03-01)
|
|---|
| 170 | - Use kAngTolerance and kRadTolerance from G4GeometryTolerance class.
|
|---|
| 171 | - Coworks with tag "global-V08-03-03".
|
|---|
| 172 |
|
|---|
| 173 | 11-May-2007, T.Nikitina (geom-specific-V08-03-00)
|
|---|
| 174 | - Use call to G4GeometryTolerance instead of kCarTolerance where needed.
|
|---|
| 175 | - Requires tag "global-V08-03-00" and related tag set.
|
|---|
| 176 |
|
|---|
| 177 | 26-Apr-2007, T.Nikitina (geom-specific-V08-02-05)
|
|---|
| 178 | - Fix in GetPointOnSurface() for G4Polycone to consider also points laying
|
|---|
| 179 | on rings when consecutive Z-sections are coincident.
|
|---|
| 180 | Added method GetPointOnRing().
|
|---|
| 181 | - Added unit test testPointOnSurfacePoly.cc.
|
|---|
| 182 |
|
|---|
| 183 | 27-Feb-2007, I.Hrivnacova (geom-specific-V08-02-04)
|
|---|
| 184 | - Added specialised constructor for handling Z-sections in G4ExtrudedSolid.
|
|---|
| 185 | - Cleared unecessary declaration of IsInside() methods in G4TriangularFacet
|
|---|
| 186 | and G4QuadrangularFacet.
|
|---|
| 187 | - Updated unit test for G4ExtrudedSolid.
|
|---|
| 188 |
|
|---|
| 189 | 26-Feb-2007, I.Hrivnacova (geom-specific-V08-02-04)
|
|---|
| 190 | - Added specialised constructor for handling Z-sections in G4ExtrudedSolid.
|
|---|
| 191 | - Cleared unecessary declaration of IsInside() methods in G4TriangularFacet
|
|---|
| 192 | and G4QuadrangularFacet.
|
|---|
| 193 | - Updated unit test for G4ExtrudedSolid.
|
|---|
| 194 |
|
|---|
| 195 | 15-Feb-2007, I.Hrivnacova (geom-specific-V08-02-03)
|
|---|
| 196 | - Corrected caching of values in G4ExtrudedSolid.
|
|---|
| 197 | - Bug fix in G4TriangularFacet::Intersect() to allow for correct update of
|
|---|
| 198 | 'Distance' in condition.
|
|---|
| 199 | - Updated unit test for G4ExtrudedSolid.
|
|---|
| 200 |
|
|---|
| 201 | 09-Feb-2007, G.Cosmo (geom-specific-V08-02-02)
|
|---|
| 202 | - Introduced new shape G4ExtrudedSolid, a solid representing the extrusion
|
|---|
| 203 | of an arbitrary polygon with fixed outline in the two Z sections.
|
|---|
| 204 | New files: G4ExtrudedSolid[.hh.icc.cc] and testG4ExtrudedSolid.cc
|
|---|
| 205 | by I.Hrivnacova.
|
|---|
| 206 | - G4TessellatedSolid:
|
|---|
| 207 | o Made relevant solid's methods virtual, to be used as base class.
|
|---|
| 208 | o Added implementation for GetSurfaceArea() and GetPointOnSurface() methods.
|
|---|
| 209 | o Added protection in SurfaceNormal() method in case of facet not found.
|
|---|
| 210 | o Check and return kOutside in Inside() if point out of solid's extent.
|
|---|
| 211 |
|
|---|
| 212 | 01-Feb-2007, G.Cosmo (geom-specific-V08-02-01)
|
|---|
| 213 | - Fix in G4PolyconeSide::DistanceAway() for correct estimation of distance
|
|---|
| 214 | for the case of Phi sections (T.Nikitina).
|
|---|
| 215 | Addresses problem report #598.
|
|---|
| 216 | - Updated unit test for G4Polycone to consider new test case.
|
|---|
| 217 |
|
|---|
| 218 | 22-Jan-2007, G.Cosmo (geom-specific-V08-02-00)
|
|---|
| 219 | - Do not scale reducible-polygon in G4Polyhedra::Reset() method.
|
|---|
| 220 | The 'original_parameters' structure offered as input through the accessors
|
|---|
| 221 | are always assumed to be already scaled by the 'cos(0.5*phiTotal/theNumSide)'
|
|---|
| 222 | factor. Addresses problem report #873.
|
|---|
| 223 | - Fixed warning printout in G4Polycone::Reset().
|
|---|
| 224 |
|
|---|
| 225 | 15-Nov-2006, J.Allison (geom-specific-V08-01-04)
|
|---|
| 226 | - Fixed typo in G4Polycone::CreatePolyhedron() introduced by mistake in
|
|---|
| 227 | the last cleanup of the source code.
|
|---|
| 228 |
|
|---|
| 229 | 13-Nov-2006, G.Cosmo (geom-specific-V08-01-03)
|
|---|
| 230 | - Added concrete implementation of GetSurfaceArea() in G4Tet (M.H.Mendenhall).
|
|---|
| 231 |
|
|---|
| 232 | 08-Nov-2006, G.Cosmo (geom-specific-V08-01-02)
|
|---|
| 233 | - Cleared compilation warnings on SUN-CC for changes in the last tag.
|
|---|
| 234 | Fixed overloaded class variables in G4Polyhedra and G4Polycone
|
|---|
| 235 | implementation of CreatePolyhedron().
|
|---|
| 236 |
|
|---|
| 237 | 31-Oct-2006, J.Allison (geom-specific-V08-01-01)
|
|---|
| 238 | - Implemented CreatePolyhedron() for G4Polyhedra and G4Polycone.
|
|---|
| 239 |
|
|---|
| 240 | 20-Oct-2006, G.Cosmo (geom-specific-V08-01-00)
|
|---|
| 241 | - Implemented caching mechanism for computation of surface area in
|
|---|
| 242 | all solids and base classes, as done for the geometrical volume
|
|---|
| 243 | computation.
|
|---|
| 244 | - Added missing fake constructor for object persistency to G4TessellatedSolid.
|
|---|
| 245 |
|
|---|
| 246 | 20-Jun-2006, G.Cosmo (geom-specific-V08-00-10)
|
|---|
| 247 | - Added accessor method GetVertices() in G4Tet to return the list of
|
|---|
| 248 | vertices composing the solid. Required for GDML persistency.
|
|---|
| 249 |
|
|---|
| 250 | 06-Jun-2006, G.Cosmo (geom-specific-V08-00-09)
|
|---|
| 251 | - Added protection against NaNs in G4PolyconeSide::Normal() for points at
|
|---|
| 252 | the origin.
|
|---|
| 253 |
|
|---|
| 254 | 19-May-2006, G.Cosmo (geom-specific-V08-00-08)
|
|---|
| 255 | - Fix in G4Ellipsoid::SetZCuts() and G4EllipticalTube::SetZCut() for usage
|
|---|
| 256 | of uninitialised variables.
|
|---|
| 257 |
|
|---|
| 258 | 08-May-2006, G.Cosmo (geom-specific-V08-00-07)
|
|---|
| 259 | - Cleared compilation warning on SUN-CC in G4TriangularFacet.cc.
|
|---|
| 260 |
|
|---|
| 261 | 04-May-2006, G.Cosmo (geom-specific-V08-00-06)
|
|---|
| 262 | - Use different names for unit tests to avoid confusing liblist ...
|
|---|
| 263 |
|
|---|
| 264 | 03-May-2006, G.Cosmo (geom-specific-V08-00-05)
|
|---|
| 265 | - Added four unit tests for G4TessellatedSolid.
|
|---|
| 266 |
|
|---|
| 267 | 24-Mar-2006, G.Cosmo (geom-specific-V08-00-04)
|
|---|
| 268 | - G4TwistedTubs: defined exact estimation for GetCubicVolume(),
|
|---|
| 269 | similar to the one adopted for G4Tubs.
|
|---|
| 270 |
|
|---|
| 271 | 03-Mar-2006, G.Cosmo (geom-specific-V08-00-03)
|
|---|
| 272 | - Corrected boolean condition in G4TriangularFacet::Intersect().
|
|---|
| 273 | Use '&&' operator in condition. Allows for porting on WIN32-VC.
|
|---|
| 274 |
|
|---|
| 275 | 01-Mar-2006, G.Cosmo (geom-specific-V08-00-02)
|
|---|
| 276 | - Introducing first implementation of a tessellated solid, contribution
|
|---|
| 277 | of P.R.Truscott (QinetiQ Ltd, UK).
|
|---|
| 278 | New classes: G4QuadrangularFacet, G4TessellatedSolid, G4TriangularFacet
|
|---|
| 279 | and G4VFacet.
|
|---|
| 280 | - Requires tag "greps-V08-00-00".
|
|---|
| 281 |
|
|---|
| 282 | 12-Jan-2006, J.Allison (geom-specific-V08-00-01)
|
|---|
| 283 | - G4TwistedTubs and G4VTwistedFaceted::CreatePolyhedron():
|
|---|
| 284 | parameterised polyhedron mesh approximation in terms of
|
|---|
| 285 | G4Polyhedron::GetNumberOfRotationSteps().
|
|---|
| 286 | This is (a) more economical and (b) amenable to user control.
|
|---|
| 287 |
|
|---|
| 288 | 19-Dec-2005, O.Link (geom-specific-V08-00-00)
|
|---|
| 289 | - Fixes in G4EllipticalCone:
|
|---|
| 290 | o Changed GetPointOnSurface(), which was not uniform in endcaps.
|
|---|
| 291 | o Bug fix in Inside(), which was not correct for the elliptic mantel.
|
|---|
| 292 | Made test similar as in G4EllipticTube.
|
|---|
| 293 | o Several fixes in DistanceToIn/Out(): for looping events (shortest
|
|---|
| 294 | distance was taken, even if 0); now comparing the distance to the endcap
|
|---|
| 295 | and to the mantel and decide afterwards which distance is shortest;
|
|---|
| 296 | added check n*v.
|
|---|
| 297 | o The code is now "good" at 90%. Still 10% wrong reconstructed events.
|
|---|
| 298 | e.g there is a problem is DistanceToOut(): missed the intersection
|
|---|
| 299 | (reconstruction took the encap instead of the mantel).
|
|---|
| 300 |
|
|---|
| 301 | 09-Dec-2005, O.Link
|
|---|
| 302 | - Fixed visibility of soft edges on the twisted solids.
|
|---|
| 303 |
|
|---|
| 304 | 08-Dec-2005, O.Link (geom-specific-V07-01-14)
|
|---|
| 305 | - Fixed bug in G4VTwistSurface::ComputeLocalPoint(p) for point coordinate
|
|---|
| 306 | transformation. The bug affected only G4TwistTrapFlatSide.
|
|---|
| 307 |
|
|---|
| 308 | 06-Dec-2005, G.Cosmo (geom-specific-V07-01-13)
|
|---|
| 309 | - Fixed compilation errors on WIN32-VC for last tag changes.
|
|---|
| 310 |
|
|---|
| 311 | 05-Dec-2005, O.Link (geom-specific-V07-01-12)
|
|---|
| 312 | - Added polyhedron definition for twisted solids (G4TwistedTrap,
|
|---|
| 313 | G4TwistedTrd, G4TwistedBox, G4TwistedTubs) for visualization.
|
|---|
| 314 |
|
|---|
| 315 | 30-Nov-2005, G.Cosmo (geom-specific-V07-01-11)
|
|---|
| 316 | - Trivial fixes for porting on CLHEP-2.0.X series.
|
|---|
| 317 |
|
|---|
| 318 | 18-Nov-2005, O.Link (geom-specific-V07-01-10)
|
|---|
| 319 | - Renamed classes for twisted solids set, to identify them in the
|
|---|
| 320 | twisted framework.
|
|---|
| 321 |
|
|---|
| 322 | 17-Nov-2005, O.Link
|
|---|
| 323 | - G4VTwistedFacted:
|
|---|
| 324 | o corrected bug in DistanceToSurface() implementation
|
|---|
| 325 | o added GetPointOnSurface() method
|
|---|
| 326 | - G4TwistedTubs:
|
|---|
| 327 | o added GetPointOnSurface() method
|
|---|
| 328 | - G4Hype:
|
|---|
| 329 | o corrected surface area calculation used in GetPointOnSurface()
|
|---|
| 330 |
|
|---|
| 331 | 17-Nov-2005, G.Cosmo (geom-specific-V07-01-09)
|
|---|
| 332 | - More fixes required for direct object persistency to G4Polycone,
|
|---|
| 333 | G4polyhedra and related utility classes.
|
|---|
| 334 |
|
|---|
| 335 | 10-Nov-2005, J.Allison (geom-specific-V07-01-08)
|
|---|
| 336 | - G4Tet:
|
|---|
| 337 | o Added implementation for GetPolyhedron() and GetCubicVolume().
|
|---|
| 338 | o Corrected order of specifying vertices in CreatePolyhedron().
|
|---|
| 339 |
|
|---|
| 340 | 09-Nov-2005, G.Cosmo (geom-specific-V07-01-07)
|
|---|
| 341 | - Added fake default constructor for all concrete solids and relevant
|
|---|
| 342 | utility classes, for usage of direct object persistency.
|
|---|
| 343 | - Implemented changes to support CLHEP-2.0.X for explicit usage of the
|
|---|
| 344 | CLHEP/HepGeom namespaces for CLHEP types.
|
|---|
| 345 |
|
|---|
| 346 | 07-Nov-2005, G.Cosmo (geom-specific-V07-01-06)
|
|---|
| 347 | - G4Ellipsoid: replaced call to hypot(x,y) with std::sqrt(x*x+y*y)
|
|---|
| 348 | for porting to ISO standard.
|
|---|
| 349 |
|
|---|
| 350 | 02-Nov-2005, G.Cosmo (geom-specific-V07-01-05)
|
|---|
| 351 | - G4Polyhedra, G4Polycone:
|
|---|
| 352 | o Protected case of generic construct for visualization.
|
|---|
| 353 | o Introduced explicit flag and method IsGeneric() to identify the kind
|
|---|
| 354 | of constructor used.
|
|---|
| 355 |
|
|---|
| 356 | 29-Sep-2005, G.Cosmo (geom-specific-V07-01-04)
|
|---|
| 357 | - Fix in G4EllipticalCone methods DistanceToIn() and DistanceToOut().
|
|---|
| 358 | Added unit test for it (by D.Anninos).
|
|---|
| 359 | - Coworks with tag "greps-V07-01-02".
|
|---|
| 360 |
|
|---|
| 361 | 10-Aug-2005, G.Cosmo (geom-specific-V07-01-03)
|
|---|
| 362 | - Introduced new solid G4EllipticalCone, a full cone with elliptical base
|
|---|
| 363 | that can be cut in Z (by D.Anninos).
|
|---|
| 364 | Coworks with tag "greps-V07-01-02".
|
|---|
| 365 |
|
|---|
| 366 | 08-Aug-2005, D.Anninos (geom-specific-V07-01-02)
|
|---|
| 367 | - Added GetPointOnSurface() for all solids except twisted ones.
|
|---|
| 368 | The method returns a random point according to a quasi-uniform
|
|---|
| 369 | distribution along the surface.
|
|---|
| 370 |
|
|---|
| 371 | 18-Jul-2005, G.Cosmo (geom-specific-V07-01-01)
|
|---|
| 372 | - Fixed compilation warning on WIN32-VC for G4VSurface.cc.
|
|---|
| 373 | - Not including G4Tet.
|
|---|
| 374 |
|
|---|
| 375 | 06-Jul-2005, G.Cosmo (geom-specific-V07-01-00)
|
|---|
| 376 | - Added new shape G4Ellipsoid. Coworks with tag "greps-V07-01-00".
|
|---|
| 377 | Contribution of G.Horton-Smith and G.Guerrieri.
|
|---|
| 378 | Code cleanup, and added default arguments for cuts, added first
|
|---|
| 379 | implementation of unit test.
|
|---|
| 380 | - Corrected unit tests for twisted-box/trap.
|
|---|
| 381 | - Not including G4Tet.
|
|---|
| 382 |
|
|---|
| 383 | 15-Jun-2005, J.Apostolakis
|
|---|
| 384 | - Introduced new solid G4Tet, contribution of M.H.Mendenhall
|
|---|
| 385 | and R.A.Weller, Vanderbilt University, USA.
|
|---|
| 386 |
|
|---|
| 387 | 29-Apr-2005, O.Link (geom-specific-V07-00-04)
|
|---|
| 388 | - G4TwistedSurface: fixed bug in GetAreaCode() affecting G4TwistedTubs.
|
|---|
| 389 |
|
|---|
| 390 | 04-Apr-2005, G.Cosmo (geom-specific-V07-00-03)
|
|---|
| 391 | - Added test for Number-Of-Rotation-Steps in GetPolyhedron() for
|
|---|
| 392 | G4VCSGfaceted, G4Hype and G4EllipticalTube (by J.Allison).
|
|---|
| 393 | Requires tag "greps-V07-00-02".
|
|---|
| 394 | - Added elementary implementation of CreatePolyhedron() for G4Hype,
|
|---|
| 395 | G4TwistedBox, G4TwistedTubs, G4TwistedTrd, G4TwistedTrap.
|
|---|
| 396 | - Some code cleanup.
|
|---|
| 397 |
|
|---|
| 398 | 18-Mar-2005, O.Link (geom-specific-V07-00-02)
|
|---|
| 399 | - New generic framework for twisted solids G4TwistedBox, G4TwistedTrd and
|
|---|
| 400 | G4TwistedTrap: inheriting now from the base class G4VTwistedFaceted.
|
|---|
| 401 | - Extended G4TwistedTrap to support setups with different trapezoidal
|
|---|
| 402 | endcaps with centres not necessarily on a line parallel to the z axis.
|
|---|
| 403 | - Added G4TwistedTrd and general G4TwistedTrap as test cases in test.
|
|---|
| 404 |
|
|---|
| 405 | 03-Mar-2005, J.Allison
|
|---|
| 406 | - Changed AddThis() to AddSolid() for all solids in the implementation
|
|---|
| 407 | of DescribeYourselfTo(G4VGraphicsScene&).
|
|---|
| 408 |
|
|---|
| 409 | 01-Mar-2005, O.Link (geom-specific-V07-00-01)
|
|---|
| 410 | - Fixed compilation warnings on WIN32-VC for G4VSurface.cc.
|
|---|
| 411 |
|
|---|
| 412 | 14-Feb-2005, O.Link (geom-specific-V07-00-00)
|
|---|
| 413 | - Use new polynom approximations based on new solver based on Jenkins-Traub
|
|---|
| 414 | algorithm, for twisted-box and twisted-trap.
|
|---|
| 415 | - Fixed bug in the usage of 'fmod' and adopt special treatment for 'parallel'
|
|---|
| 416 | events in G4TwistedBoxSide and G4TwistedTrapSide.
|
|---|
| 417 | - Coworks with tag "global-V07-00-00".
|
|---|
| 418 |
|
|---|
| 419 | 08-Dec-2004, O.Link (geom-specific-V06-02-07)
|
|---|
| 420 | - Extensions to twisted box/trap shapes to consider all 4 solutions
|
|---|
| 421 | for determining correct intersections.
|
|---|
| 422 |
|
|---|
| 423 | 29-Nov-2004, O.Link (geom-specific-V06-02-06)
|
|---|
| 424 | - G4TwistedTrapSide, G4TwistedBoxSide: improved (analytical) version
|
|---|
| 425 | of GetPhiUAtX() method.
|
|---|
| 426 |
|
|---|
| 427 | 24-Nov-2004, O.Link (geom-specific-V06-02-05)
|
|---|
| 428 | - Fixed bug in description of twisted trapezoid side.
|
|---|
| 429 |
|
|---|
| 430 | 12-Nov-2004, O.Link (geom-specific-V06-02-04)
|
|---|
| 431 | - Added G4TwistedBox - a twisted box with twist angle alpha,
|
|---|
| 432 | length a/2,b/2,L/2.
|
|---|
| 433 | - Added G4TwistedTrap - a twisted trapezoid (still in debug state)
|
|---|
| 434 | - Changed in G4VSurface.icc:
|
|---|
| 435 | - GetNeighbours(): corrected axiscode (was returning the wrong neighbours)
|
|---|
| 436 | - SetNeighbours(): fixed problem #685 (index out of range)
|
|---|
| 437 | - Added tests for G4TwistedBox and G4TwistedTrap in specific/test.
|
|---|
| 438 | - Added G4TwistedBox and G4TwistedTrap in system testing, test10.
|
|---|
| 439 |
|
|---|
| 440 | 22-Oct-2004, D.C.Williams (geom-specific-V06-02-03)
|
|---|
| 441 | - Fix in G4PolyconeSide::Inside for points at radius = 0 for phi slides
|
|---|
| 442 | solids with an inner radius. Addresses problem report #598.
|
|---|
| 443 |
|
|---|
| 444 | 10-Oct-2004, J.Allison (geom-specific-V06-02-02)
|
|---|
| 445 | - Added GetPolyhedron, a smart access function that creates a G4Polyhedron
|
|---|
| 446 | on request and stores for future access. A null pointer means "not
|
|---|
| 447 | available".
|
|---|
| 448 |
|
|---|
| 449 | 22-Sep-2004, G.Cosmo (geom-specific-V06-02-01)
|
|---|
| 450 | - Added implementation of GetCubicVolume() with cashing mechanism for
|
|---|
| 451 | solids: G4EllipticalTube, G4Hype, G4Polyhedra, G4Polycone, G4TwistedTubs.
|
|---|
| 452 |
|
|---|
| 453 | 01-Sep-2004, D.C.Williams (geom-specific-V06-02-00)
|
|---|
| 454 | - G4VCSGfaceted: fix for rare anomalous situation in which
|
|---|
| 455 | DistanceToOut(p,v,..) will report kInfinity, make an additional check
|
|---|
| 456 | for the point p on the surface, in which case will report zero.
|
|---|
| 457 | Addresses problem observed in G4Polyhedra and reported in #650.
|
|---|
| 458 |
|
|---|
| 459 | 07-Jun-2004, G.Cosmo (geom-specific-V06-01-04)
|
|---|
| 460 | - Fixed compilation problem in G4TwistedSurface.cc on WIN32-VC.
|
|---|
| 461 |
|
|---|
| 462 | 28-May-2004, G.Cosmo (geom-specific-V06-01-03)
|
|---|
| 463 | - Fixed archiving problem on WIN32-VC7: replaced structs with classes
|
|---|
| 464 | in G4VSurface.
|
|---|
| 465 | - Replaced misleading names for masks in G4VSurface and moved inlined
|
|---|
| 466 | methods of nested classes to .cc.
|
|---|
| 467 |
|
|---|
| 468 | 25-May-2004, G.Cosmo (geom-specific-V06-01-02)
|
|---|
| 469 | - Fixed compilation problem on SUN-CC. Made EValidate enum public in
|
|---|
| 470 | G4VSurface.hh.
|
|---|
| 471 |
|
|---|
| 472 | 24-May-2004, G.Cosmo (geom-specific-V06-01-01)
|
|---|
| 473 | - Removed compilation warnings and minor cleanup...
|
|---|
| 474 |
|
|---|
| 475 | 19-May-2004, O.Link (geom-specific-V06-01-00)
|
|---|
| 476 | - First implementation of a framework for twisted surfaces, integrated from
|
|---|
| 477 | the original version of Kotoyo Hoshina (hoshina@hepburn.s.chiba-u.ac.jp)
|
|---|
| 478 | implemented in the 'Jupiter' application.
|
|---|
| 479 | o Includes new specific twisted shape: G4TwistedTubs.
|
|---|
| 480 | o New classes: G4VSurface, G4TwistedSurface, G4HyperbolicSurface,
|
|---|
| 481 | G4FlatSurface, G4TwistedTubs.
|
|---|
| 482 | o Cleanup of original code (debugging messages, compiler errors, migration
|
|---|
| 483 | of g4std to new convention...)
|
|---|
| 484 | o New organisation of class G4TwistedTubs: now independent of XXXSurface;
|
|---|
| 485 | removed backpointer 'fSolid' from XXXSurface to G4TwistedTubs.
|
|---|
| 486 | o New form of constructors in G4TwistedSurface, G4HyperbolicSurface and
|
|---|
| 487 | G4FlatSurface.
|
|---|
| 488 | o Change in G4TwistedSurface::DistanceToIn(p,v,...): roundoff correction.
|
|---|
| 489 |
|
|---|
| 490 | 12-Jan-2004, G.Cosmo (geom-specific-V06-00-00)
|
|---|
| 491 | - G4PolyhedraSide.cc: fixed bug in which particles could "leak" out the
|
|---|
| 492 | center of a face if inner radius = 0.
|
|---|
| 493 | Fixes problem report #547. (D.Williams)
|
|---|
| 494 |
|
|---|
| 495 | 22-Nov-2003, G.Cosmo (geom-specific-V05-02-07)
|
|---|
| 496 | - Fixed upper bound for protection check introduced in G4Polycone and
|
|---|
| 497 | G4Polyhedra constructors.
|
|---|
| 498 |
|
|---|
| 499 | 17-Nov-2003, G.Cosmo (geom-specific-V05-02-06)
|
|---|
| 500 | - Added protections in G4Polycone and G4Polyhedra constructors for
|
|---|
| 501 | invalid constructs with no contiguous segments in Z planes as input.
|
|---|
| 502 |
|
|---|
| 503 | 04-Nov-2003, G.Cosmo (geom-specific-V05-02-05)
|
|---|
| 504 | - Added SetOriginalParameters() method to G4Polycone and G4Polyhedra.
|
|---|
| 505 |
|
|---|
| 506 | 03-Nov-2003, G.Cosmo (geom-specific-V05-02-04)
|
|---|
| 507 | - Code cleanup and headers inclusion review
|
|---|
| 508 | (replaced by forward declarations where necessary).
|
|---|
| 509 |
|
|---|
| 510 | 28-Oct-2003, G.Cosmo (geom-specific-V05-02-03)
|
|---|
| 511 | - Migrated to new G4Exception scheme.
|
|---|
| 512 |
|
|---|
| 513 | 20-Oct-2003, G.Cosmo (geom-specific-V05-02-02)
|
|---|
| 514 | - Added Reset() method in G4Polycone and G4Polyhedra to allow
|
|---|
| 515 | recalculation and reshape of the solid if new original_parameters
|
|---|
| 516 | are provided.
|
|---|
| 517 |
|
|---|
| 518 | 30-Sep-2003, G.Cosmo (geom-specific-V05-02-01)
|
|---|
| 519 | - Updated GNUmakefile for unit tests, according to new structure
|
|---|
| 520 | introduced in "geometry-V05-02-00".
|
|---|
| 521 |
|
|---|
| 522 | 16-Jun-2003, G.Cosmo (geom-specific-V05-02-00)
|
|---|
| 523 | - Added accessors to original_parameters for G4Polycone and G4Polyhedra.
|
|---|
| 524 | Made G4PolyconeHistorical and G4PolyhedraHistorical classes in global
|
|---|
| 525 | scope (temporary solution).
|
|---|
| 526 |
|
|---|
| 527 | 28-Mar-2003, G.Cosmo (geom-specific-V05-00-00)
|
|---|
| 528 | - Fixed initialisation of base class in copy contructor for:
|
|---|
| 529 | G4PolyPhiFace, G4PolyconeSide, G4PolyhedraSide.
|
|---|
| 530 | - Fixed trivial pedantic warnings on G4Polycone and G4Polyhedra.
|
|---|
| 531 |
|
|---|
| 532 | 30-Oct-2002, G.Cosmo (geom-specific-V04-01-01)
|
|---|
| 533 | - Fixed un-initialised data members in constructors of classes:
|
|---|
| 534 | G4ClippablePolygon, G4EnclosingCylinder, G4PolyconeSide,
|
|---|
| 535 | G4ReduciblePolygon, G4VCSGfaceted.
|
|---|
| 536 |
|
|---|
| 537 | 28-Oct-2002, G.Cosmo (geom-specific-V04-01-00)
|
|---|
| 538 | - Added implementation of StreamInfo() to comply with new interface for
|
|---|
| 539 | G4VSolid in "geommng-V04-01-03".
|
|---|
| 540 | - Created .icc files for G4EllipticalTube, G4Polyhedra and G4Polycone.
|
|---|
| 541 | - Some cosmetic changes to code formatting: removed <TAB> characters and adopt
|
|---|
| 542 | uniform code indentation.
|
|---|
| 543 |
|
|---|
| 544 | 08-May-2002, J.Allison (geom-solids-specific-V04-00-01)
|
|---|
| 545 | - Implemented G4EllipticalTube::CreatePolyhedron.
|
|---|
| 546 |
|
|---|
| 547 | 10-Jan-2002, G.Cosmo (geom-solids-specific-V04-00-00)
|
|---|
| 548 | - Updated unit tests.
|
|---|
| 549 |
|
|---|
| 550 | 20-Apr-2001, G.Cosmo (geom-solids-specific-V03-01-00)
|
|---|
| 551 | - Migration to STL vector:
|
|---|
| 552 | o In G4ClippablePolygon, migrated G4ThreeVectorList typedef and
|
|---|
| 553 | made private to class.
|
|---|
| 554 |
|
|---|
| 555 | 03-Apr-2001, D.Williams (geom-solids-specific-V03-00-01)
|
|---|
| 556 | -----------------------
|
|---|
| 557 | - G4IntersectingCone.cc: make small adjustment to help with roundoff error
|
|---|
| 558 | in LineHitsCone1() and LineHitsCone2().
|
|---|
| 559 |
|
|---|
| 560 | 08-Jan-2001, D.Williams (geom-solids-specific-V03-00-00)
|
|---|
| 561 | -----------------------
|
|---|
| 562 | - G4Hype.cc: Added protecton against zero v.z in DistanceToOut.
|
|---|
| 563 |
|
|---|
| 564 | 20-Nov-2000, G.Cosmo (geom-solids-specific-V02-00-04)
|
|---|
| 565 | ---------------------
|
|---|
| 566 | - Fixes to remove warnings from "-Wall -ansi -pedantic" g++ compiler options:
|
|---|
| 567 | o commented out variables declared and not used.
|
|---|
| 568 | o fixed declaration of variables used before being initialised.
|
|---|
| 569 | o fixed order of initialisation of member data in constructors.
|
|---|
| 570 | o fixed usage of unsigned-int (size_t) for array indeces.
|
|---|
| 571 |
|
|---|
| 572 | 13-Nov-2000, G.Cosmo (geom-solids-specific-V02-00-03)
|
|---|
| 573 | --------------------
|
|---|
| 574 | - Added definition of empty constructor for G4ClippablePolygon which
|
|---|
| 575 | went lost by mistake...
|
|---|
| 576 |
|
|---|
| 577 | 02-Nov-2000, G.Cosmo (geom-solids-specific-V02-00-02)
|
|---|
| 578 | --------------------
|
|---|
| 579 | - QA code revision and cleanup (+fixes from CodeWizard filtering):
|
|---|
| 580 | o Avoid inline virtual methods.
|
|---|
| 581 | o General cosmetics for Software Reference Manual.
|
|---|
| 582 |
|
|---|
| 583 | 23-Oct-2000, D.Williams (geom-solids-specific-V02-00-01)
|
|---|
| 584 | -----------------------
|
|---|
| 585 | - G4IntersectingCone.cc: the check for a zero radical has been adjusted to be
|
|---|
| 586 | less sensitive to round off error in LineHitsCone1(), LineHitsCone2().
|
|---|
| 587 | This fixes a problem discovered in BaBar.
|
|---|
| 588 |
|
|---|
| 589 | 12-Sep-2000, G.Cosmo (geom-solids-specific-V02-00-00)
|
|---|
| 590 | --------------------
|
|---|
| 591 | - Organised comments to headers for Software Reference Manual.
|
|---|
| 592 |
|
|---|
| 593 | 27-Jun-2000, G.Cosmo (geom-solids-specific-V01-01-02)
|
|---|
| 594 | --------------------
|
|---|
| 595 | - G4Polycone[.hh.cc]: better fix for bug-report #110.
|
|---|
| 596 | Removed struct and replaced with class.
|
|---|
| 597 |
|
|---|
| 598 | 26-Jun-2000, G.Cosmo (geom-solids-specific-V01-01-01)
|
|---|
| 599 | --------------------
|
|---|
| 600 | - G4Polycone.cc: fixed memory leak by invoking destruction of member
|
|---|
| 601 | enclosingCylinder, which was not cleaned up in the destructor.
|
|---|
| 602 | This fixes problem report #107.
|
|---|
| 603 | - G4Polycone.hh: added forward declaration of struct G4PolyconeHistorical
|
|---|
| 604 | and made it friend, for porting on KCC --strict. This fixes report #110.
|
|---|
| 605 | - G4Polyhedra.hh: fixed typo in method name. Changed GetNumSIde() to
|
|---|
| 606 | GetNumSide(). This fixes problem report #105.
|
|---|
| 607 |
|
|---|
| 608 | 08-Jun-2000, G.Gracia
|
|---|
| 609 | ---------------------
|
|---|
| 610 | - G4VCSGfaceted.cc: fix for Win/NT in function GetExtent().
|
|---|
| 611 |
|
|---|
| 612 | 27-Apr-2000, G.Cosmo
|
|---|
| 613 | --------------------
|
|---|
| 614 | - Removed dependency over the CSG domain in GNUmakefile.
|
|---|
| 615 |
|
|---|
| 616 | 18-Apr-2000, D.Williams
|
|---|
| 617 | -----------------------
|
|---|
| 618 | - Removed meaningless "const" specifiers from methods in G4ClippablePolygon,
|
|---|
| 619 | and G4EllipticalTube.
|
|---|
| 620 | - G4EllipticalTube, G4Hype and G4VCSGfaceted now inherit directly
|
|---|
| 621 | from G4VSolid (before was G4CSGSolid).
|
|---|
| 622 | - Reintroduced GetExtent() in G4EllipticalTube, G4Hype and G4VCSGfaceted
|
|---|
| 623 | (in principle, not needed).
|
|---|
| 624 | - Modified assertations in unit test testG4Hype.cc.
|
|---|
| 625 |
|
|---|
| 626 | 11-Apr-2000, J.Allison
|
|---|
| 627 | ----------------------
|
|---|
| 628 | - Removed implementations of GetExtent in most sub-classes of G4VSolid (a
|
|---|
| 629 | default implementation exists in G4VSolid).
|
|---|
| 630 | - All implementations of DescribeYourselfTo (G4VGraphicsScene& scene) const
|
|---|
| 631 | now correctly written: scene.AddThis(*this).
|
|---|
| 632 |
|
|---|
| 633 | 05-Apr-2000, G.Cosmo (geom-solids-specific-V01-01-00)
|
|---|
| 634 | --------------------
|
|---|
| 635 | - Restructured solids/CSG domain, by moving to "specific" the following
|
|---|
| 636 | classes: G4ClippablePolygon, G4EnclosingCylinder, G4Hype, G4PolyPhiFace,
|
|---|
| 637 | G4Polycone, G4PolyconeSide, G4Polyhedra, G4PolyhedraSide, G4ReduciblePolygon,
|
|---|
| 638 | G4IntersectingCone, G4SolidExtentList, G4VCSGface, G4VCSGfaceted.
|
|---|
| 639 | The new module's library for "specific" is now called 'G4specsolids'.
|
|---|
| 640 | - Created specific/test directory and moved testG4Hype.cc and testG4Polycone,cc
|
|---|
| 641 | from CSG/test.
|
|---|
| 642 | - Organised class description comments for the Software Reference Manual
|
|---|
| 643 | and added CVS headers to files.
|
|---|
| 644 |
|
|---|
| 645 | 29-Mar-2000, D.Williams
|
|---|
| 646 | -----------------------
|
|---|
| 647 | - Added first implementation of G4EllipticalTube.
|
|---|
| 648 | It defines a simple elliptical tube, as in geant3 "ELTU".
|
|---|
| 649 | Files introduced: G4EllipticalTube[.hh.cc].
|
|---|
| 650 |
|
|---|
| 651 | 25-Mar-2000, G.Cosmo
|
|---|
| 652 | --------------------
|
|---|
| 653 | - History file created.
|
|---|