Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
+21 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PVDivision.cc,v 1.12 2004/08/26 07:58:37 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4PVDivision.cc,v 1.13 2005/11/16 19:27:06 japost Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4PVDivision Implementation file
//
@@ -458,3 +458,22 @@ void G4PVDivision::ErrorInAxis( EAxis axis, G4VSolid* solid )
G4Exception("G4PVDivision::ErrorInAxis()", "IllegalConstruct",
FatalException, error);
}
// The next methods are for specialised repeated volumes
// (replicas, parameterised vol.) which are completely regular.
// Currently this is not applicable to divisions ( J.A. Nov 2005 )
// ----------------------------------------------------------------------
// IsRegularRepeatedStructure()
//
G4bool G4PVDivision::IsRegularStructure() const
{
return false;
}
// ----------------------------------------------------------------------
// IsRegularRepeatedStructure()
//
G4int G4PVDivision::GetRegularStructureId() const
{
return 0;
}
// This is for specialised repeated volumes (replicas, parameterised vol.)
@@ -22,7 +22,7 @@
//
//
// $Id: G4PVDivisionFactory.cc,v 1.1 2004/05/13 14:56:31 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4PVDivisionFactory Implementation file
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4ParameterisationBox.cc,v 1.7 2004/05/17 07:20:40 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4ParameterisationBox Implementation file
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4ParameterisationCons.cc,v 1.8 2004/05/17 07:20:40 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4ParameterisationCons Implementation file
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4ParameterisationPara.cc,v 1.10 2004/12/10 16:20:21 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4ParameterisationPara Implementation file
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ParameterisationPolycone.cc,v 1.10 2004/12/02 09:31:22 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4ParameterisationPolycone.cc,v 1.11 2005/11/02 16:06:32 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4ParameterisationPolycone Implementation file
//
@@ -47,6 +47,12 @@ G4VParameterisationPolycone( EAxis axis, G4int nDiv, G4double width,
: G4VDivisionParameterisation( axis, nDiv, width, offset, divType, msolid )
{
G4Polycone* msol = (G4Polycone*)(msolid);
if (msol->IsGeneric())
{
G4Exception("G4VParameterisationPolycone::G4VParameterisationPolycone()",
"NotSupported", FatalException,
"Sorry, generic construct for G4Polycone NOT supported.");
}
if (msolid->GetEntityType() == "G4ReflectedSolid")
{
// Get constituent solid
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ParameterisationPolyhedra.cc,v 1.10 2004/12/10 16:20:21 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4ParameterisationPolyhedra.cc,v 1.11 2005/11/02 16:06:32 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4ParameterisationPolyhedra Implementation file
//
@@ -48,6 +48,12 @@ G4VParameterisationPolyhedra( EAxis axis, G4int nDiv, G4double width,
: G4VDivisionParameterisation( axis, nDiv, width, offset, divType, msolid )
{
G4Polyhedra* msol = (G4Polyhedra*)(msolid);
if (msol->IsGeneric())
{
G4Exception("G4VParameterisationPolyhedra::G4VParameterisationPolyhedra()",
"NotSupported", FatalException,
"Sorry, generic construct for G4Polyhedra NOT supported.");
}
if (msolid->GetEntityType() == "G4ReflectedSolid")
{
// Get constituent solid
@@ -22,7 +22,7 @@
//
//
// $Id: G4ParameterisationTrd.cc,v 1.11 2004/12/02 09:31:22 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4ParameterisationTrd Implementation file
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4ParameterisationTubs.cc,v 1.7 2004/05/17 07:20:41 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4ParameterisationTubs Implementation file
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4VDivisionParameterisation.cc,v 1.10 2004/05/17 07:20:42 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// class G4VDivisionParameterisation Implementation file
//