Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
@@ -23,9 +23,9 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// class G4Navigator Inline implementation
// G4Navigator class Inline implementation
//
// ********************************************************************
// --------------------------------------------------------------------
// ********************************************************************
// GetCurrentLocalCoordinate
@@ -215,36 +215,6 @@ G4RotationMatrix G4Navigator::NetRotation() const
return fHistory.GetTopTransform().InverseNetRotation();
}
// ********************************************************************
// CreateGRSVolume
//
// `Touchable' creation method: caller has deletion responsibility
// ********************************************************************
//
inline
G4GRSVolume* G4Navigator::CreateGRSVolume() const
{
const G4AffineTransform& tf = fHistory.GetTopTransform();
return new G4GRSVolume(fHistory.GetTopVolume(),
tf.InverseNetRotation(),
tf.InverseNetTranslation());
}
// ********************************************************************
// CreateGRSSolid
//
// `Touchable' creation method: caller has deletion responsibility
// ********************************************************************
//
inline
G4GRSSolid* G4Navigator::CreateGRSSolid() const
{
const G4AffineTransform& tf = fHistory.GetTopTransform();
return new G4GRSSolid(fHistory.GetTopVolume()->GetLogicalVolume()->GetSolid(),
tf.InverseNetRotation(),
tf.InverseNetTranslation());
}
// ********************************************************************
// CreateTouchableHistory
//
@@ -478,12 +448,9 @@ G4int G4Navigator::SeverityOfZeroStepping( G4int* noZeroSteps ) const
// ********************************************************************
//
inline
G4VoxelNavigation& G4Navigator::GetVoxelNavigator() {
#ifdef ALTERNATIVE_VOXEL_NAV
return *fpvoxelNav;
#else
return fvoxelNav;
#endif
G4VoxelNavigation& G4Navigator::GetVoxelNavigator()
{
return *fpvoxelNav;
}
// ********************************************************************
@@ -505,16 +472,6 @@ G4VExternalNavigation* G4Navigator::GetExternalNavigation() const
return fpExternalNav;
}
// ********************************************************************
// SetExternalNavigation
// ********************************************************************
//
inline
void G4Navigator::SetExternalNavigation(G4VExternalNavigation* externalNav)
{
fpExternalNav = externalNav;
}
// ********************************************************************
// Clone
// ********************************************************************