Import Geant4 9.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:16:48 +02:00
parent 75c7fd177d
commit a8e9364cea
6592 changed files with 84274 additions and 69292 deletions
+6 -1
View File
@@ -1,5 +1,5 @@
$Id: History,v 1.60 2006/11/08 09:39:37 gcosmo Exp $
$Id: History,v 1.61 2007/05/18 07:36:34 gcosmo Exp $
-------------------------------------------------------------------
=========================================================
@@ -20,6 +20,11 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 18, 2007 G.Cosmo geom-bool-V08-03-00
- Use kAngTolerance and kRadTolerance from G4GeometryTolerance class.
- Updated unit tests.
- Coworks with tag "global-V08-03-03".
Nov 08, 2006 G.Cosmo geom-bool-V08-01-02
- Fixed compilation problems on SUN-CC for changes in the last tag.
Added inclusion of <sstream> header in G4IntersectionSolid.cc and
@@ -25,7 +25,7 @@
//
//
// $Id: G4BooleanSolid.hh,v 1.15 2006/10/19 15:34:49 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//
// class G4BooleanSolid
@@ -25,7 +25,7 @@
//
//
// $Id: G4BooleanSolid.icc,v 1.4 2006/10/20 14:20:54 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// --------------------------------------------------------------------
// GEANT 4 inline definitions file
@@ -25,7 +25,7 @@
//
//
// $Id: G4DisplacedSolid.hh,v 1.19 2006/06/29 18:43:31 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//
// class G4DisplacedSolid
@@ -25,7 +25,7 @@
//
//
// $Id: G4IntersectionSolid.hh,v 1.9 2006/06/29 18:43:33 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//
// class G4IntersectionSolid
@@ -25,7 +25,7 @@
//
//
// $Id: G4SubtractionSolid.hh,v 1.9 2006/06/29 18:43:35 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//
// class G4SubtractionSolid
@@ -25,7 +25,7 @@
//
//
// $Id: G4UnionSolid.hh,v 1.10 2006/06/29 18:43:37 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//
// class G4UnionSolid
@@ -25,7 +25,7 @@
//
//
// $Id: G4BooleanSolid.cc,v 1.21 2006/10/19 15:34:49 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// Implementation for the abstract base class for solids created by boolean
// operations between other solids
@@ -25,7 +25,7 @@
//
//
// $Id: G4DisplacedSolid.cc,v 1.27 2006/06/29 18:43:41 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// Implementation for G4DisplacedSolid class for boolean
// operations between other solids
@@ -25,7 +25,7 @@
//
//
// $Id: G4IntersectionSolid.cc,v 1.30 2006/11/08 09:37:41 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// Implementation of methods for the class G4IntersectionSolid
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4SubtractionSolid.cc,v 1.29 2006/11/07 14:05:46 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4SubtractionSolid.cc,v 1.30 2007/05/18 07:35:37 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
// Implementation of methods for the class G4IntersectionSolid
//
@@ -43,6 +43,7 @@
#include "G4VoxelLimits.hh"
#include "G4VPVParameterisation.hh"
#include "G4GeometryTolerance.hh"
#include "G4VGraphicsScene.hh"
#include "G4Polyhedron.hh"
@@ -144,8 +145,14 @@ EInside G4SubtractionSolid::Inside( const G4ThreeVector& p ) const
( positionA == kSurface && positionB == kSurface &&
( fPtrSolidA->SurfaceNormal(p) -
fPtrSolidB->SurfaceNormal(p) ).mag2() >
1000*kRadTolerance ) ) return kSurface;
else return kOutside;
1000*G4GeometryTolerance::GetInstance()->GetRadialTolerance() ) )
{
return kSurface;
}
else
{
return kOutside;
}
}
}
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4UnionSolid.cc,v 1.33 2006/11/08 09:37:41 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4UnionSolid.cc,v 1.34 2007/05/18 07:35:37 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
// Implementation of methods for the class G4IntersectionSolid
//
@@ -44,6 +44,7 @@
#include "G4VoxelLimits.hh"
#include "G4VPVParameterisation.hh"
#include "G4GeometryTolerance.hh"
#include "G4VGraphicsScene.hh"
#include "G4Polyhedron.hh"
@@ -151,7 +152,10 @@ EInside G4UnionSolid::Inside( const G4ThreeVector& p ) const
( positionA == kSurface && positionB == kSurface &&
( fPtrSolidA->SurfaceNormal(p) +
fPtrSolidB->SurfaceNormal(p) ).mag2() <
1000*kRadTolerance ) ) return kInside;
1000*G4GeometryTolerance::GetInstance()->GetRadialTolerance() ) )
{
return kInside;
}
else
{
if( ( positionA != kInside && positionB == kSurface ) ||