[1337] | 1 | |
---|
| 2 | Geant4 4.0 - patch-01 Release Notes |
---|
| 3 | ----------------------------------- |
---|
| 4 | |
---|
| 5 | 31st January 2002 |
---|
| 6 | |
---|
| 7 | List of fixes included in this public patch to release 4.0: |
---|
| 8 | |
---|
| 9 | o Event: |
---|
| 10 | ----- |
---|
| 11 | - G4PrimaryTransformer: removed check whether the primary vertex is |
---|
| 12 | inside the world volume. The check has been moved to G4SteppingManager. |
---|
| 13 | |
---|
| 14 | o Geometry: |
---|
| 15 | -------- |
---|
| 16 | - Magnetic field: |
---|
| 17 | o Activated G4DEBUG_FIELD in GNUmakefile. |
---|
| 18 | o G4MagHelicalStepper.cc: renamed local variables "*Momentum*" |
---|
| 19 | to "*Velocity*". |
---|
| 20 | - Management: |
---|
| 21 | o G4AffineTransform.icc: fixed trivial compilation warning for gcc-2.95.2. |
---|
| 22 | - Volumes: |
---|
| 23 | o G4AuxiliaryNavServices: critical fix, to only consider whether a |
---|
| 24 | 'ray' (Point,Direction) is on the surface (it was erroneously also |
---|
| 25 | checking for those inside volumes). This erroneous condition occurred |
---|
| 26 | frequently in the new usage of Locate with Direction to initialise a |
---|
| 27 | step. |
---|
| 28 | o G4Navigator: reset blocked volume when locating 'within volume', |
---|
| 29 | after ensuring that it does not get called when ComputeSafety() is at |
---|
| 30 | a boundary. Fixes cases of longstanding 'Point P is Inside' errors. |
---|
| 31 | o Activated mechanism in GNUmakefile for allowing compilation with |
---|
| 32 | G4DEBUG_FIELD or G4DEBUG_NAVIGATION flags. |
---|
| 33 | - solids/Boolean: |
---|
| 34 | o Moved all verbosity mode warnings to G4BOOLDEBUG. |
---|
| 35 | o Activated G4BOOLDEBUG mechanism in GNUmakefile. |
---|
| 36 | - solids/BREPS: |
---|
| 37 | o G4BREPSolidPCone: bugfix for problem report #320. |
---|
| 38 | Fixed missing use-case in constructor when RMAX and RMIN have been |
---|
| 39 | changed for 2 consecutive equal z-values. Now it creates correctly |
---|
| 40 | 2 planar surfaces as expected. |
---|
| 41 | Added private method ComputePlanarSurface() gained |
---|
| 42 | by refactoring of some part of the code in the constructor. |
---|
| 43 | o G4FPlane: fixed first constructor adding new argument for setting |
---|
| 44 | explicitly the sense of a surface if required. |
---|
| 45 | Fixed G4FPlane::Intersect() method which incorrectly ignored a special |
---|
| 46 | case of a hit on surface point with ray direction opposite to surface |
---|
| 47 | normal. |
---|
| 48 | - solids/CSG: |
---|
| 49 | o G4Sphere.cc: fixed a problem with tolerances in the case of large Radius. |
---|
| 50 | o Moved all verbosity mode warnings to G4CSGDEBUG. |
---|
| 51 | o Activated G4CSGDEBUG mechanism in GNUmakefile. |
---|
| 52 | |
---|
| 53 | o Global: |
---|
| 54 | ------ |
---|
| 55 | - G4strstreambuf: plugged memory leak in destructor for buffer deletion. |
---|
| 56 | Temporary fix to G4strstream::overflow(c) for GNU gcc-3.X compilers |
---|
| 57 | (also problem report #342), which require returning of character 'c' in |
---|
| 58 | case of buffer flushing for <CR>. |
---|
| 59 | - Replaced 'NULL' with '0' in G4Allocator.hh, G4strstreambuf.icc |
---|
| 60 | and G4Timer.cc. |
---|
| 61 | - Removed obsolete inline definitions in g4std/wrappers/DEC-cxx/cmath. |
---|
| 62 | |
---|
| 63 | o Materials: |
---|
| 64 | --------- |
---|
| 65 | - Fixed G4MaterialPropertyVector::AddElement() to consider ordering |
---|
| 66 | of elements. |
---|
| 67 | |
---|
| 68 | o Track & Tracking: |
---|
| 69 | ---------------- |
---|
| 70 | - track: |
---|
| 71 | o G4Track: corrected initialization of fStepLength in constructors. |
---|
| 72 | Fixed bug in assignment operator for fStepLength. |
---|
| 73 | - tracking: |
---|
| 74 | o G4SteppingManager: |
---|
| 75 | - fix safe comparison between floating numbers |
---|
| 76 | - added check for primary track outside of the world |
---|
| 77 | - bug fix for particles below threshold to avoid double steps |
---|
| 78 | |
---|
| 79 | o Visualization: |
---|
| 80 | ------------- |
---|
| 81 | - Corrected handling for already open file in HepRepXMLWriter. |
---|
| 82 | |
---|
| 83 | o Examples: |
---|
| 84 | -------- |
---|
| 85 | - Novice: syncronised files with CVS HEAD. No functional changes to code. |
---|
| 86 | |
---|
| 87 | ---------------------------------------------------------------------------- |
---|
| 88 | |
---|
| 89 | Technical Notes |
---|
| 90 | --------------- |
---|
| 91 | |
---|
| 92 | o Technical notes distributed for release 4.0 are also applicable and valid |
---|
| 93 | for this patch. |
---|
| 94 | |
---|
| 95 | The code and rebuilt binary libraries for release 4.0 are available through |
---|
| 96 | our "Source Code" Web page: |
---|
| 97 | - see our Geant4 Home Page (http://cern.ch/geant4). |
---|
| 98 | |
---|
| 99 | Please refer to the Geant4 User Documentation |
---|
| 100 | (http://cern.ch/geant4/G4UsersDocuments/Overview/html) |
---|
| 101 | for further information about using Geant4. |
---|