Geant4-11
|
#include <G4RegularNavigation.hh>
Public Member Functions | |
void | CheckMode (G4bool mode) |
G4double | ComputeSafety (const G4ThreeVector &localPoint, const G4NavigationHistory &history, const G4double pProposedMaxLength=DBL_MAX) |
G4double | ComputeStep (const G4ThreeVector &globalPoint, const G4ThreeVector &globalDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo) |
G4double | ComputeStepSkippingEqualMaterials (G4ThreeVector &localPoint, const G4ThreeVector &globalDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo, G4VPhysicalVolume *pCurrentPhysical) |
G4RegularNavigation () | |
G4bool | LevelLocate (G4NavigationHistory &history, const G4VPhysicalVolume *blockedVol, const G4int blockedNum, const G4ThreeVector &globalPoint, const G4ThreeVector *globalDirection, const G4bool pLocatedOnEdge, G4ThreeVector &localPoint) |
void | SetNormalNavigation (G4NormalNavigation *fnormnav) |
void | SetVerboseLevel (G4int level) |
~G4RegularNavigation () | |
Private Attributes | |
G4int | fAbandonThreshold_NoZeroSteps = 25 |
G4int | fActionThreshold_NoZeroSteps = 2 |
G4bool | fcheck = false |
G4bool | fLastStepWasZero = false |
G4double | fMinStep |
G4NormalNavigation * | fnormalNav = nullptr |
G4int | fNoStepsAllowed = 10000 |
G4int | fNumberZeroSteps = 0 |
G4int | fverbose = false |
G4double | kCarTolerance |
Definition at line 50 of file G4RegularNavigation.hh.
G4RegularNavigation::G4RegularNavigation | ( | ) |
Definition at line 42 of file G4RegularNavigation.cc.
References fMinStep, G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), and kCarTolerance.
G4RegularNavigation::~G4RegularNavigation | ( | ) |
Definition at line 50 of file G4RegularNavigation.cc.
|
inline |
G4double G4RegularNavigation::ComputeSafety | ( | const G4ThreeVector & | localPoint, |
const G4NavigationHistory & | history, | ||
const G4double | pProposedMaxLength = DBL_MAX |
||
) |
Definition at line 351 of file G4RegularNavigation.cc.
References G4NormalNavigation::ComputeSafety(), fnormalNav, and g4zmq::history().
Referenced by G4Navigator::ComputeSafety(), G4ITNavigator1::ComputeSafety(), and G4ITNavigator2::ComputeSafety().
G4double G4RegularNavigation::ComputeStep | ( | const G4ThreeVector & | globalPoint, |
const G4ThreeVector & | globalDirection, | ||
const G4double | currentProposedStepLength, | ||
G4double & | newSafety, | ||
G4NavigationHistory & | history, | ||
G4bool & | validExitNormal, | ||
G4ThreeVector & | exitNormal, | ||
G4bool & | exiting, | ||
G4bool & | entering, | ||
G4VPhysicalVolume ** | pBlockedPhysical, | ||
G4int & | blockedReplicaNo | ||
) |
Definition at line 56 of file G4RegularNavigation.cc.
References G4NormalNavigation::ComputeStep(), fnormalNav, G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetParameterisation(), G4PhantomParameterisation::GetReplicaNo(), G4PhantomParameterisation::GetTranslation(), g4zmq::history(), and LevelLocate().
Referenced by G4Navigator::ComputeStep(), G4ITNavigator1::ComputeStep(), and G4ITNavigator2::ComputeStep().
G4double G4RegularNavigation::ComputeStepSkippingEqualMaterials | ( | G4ThreeVector & | localPoint, |
const G4ThreeVector & | globalDirection, | ||
const G4double | currentProposedStepLength, | ||
G4double & | newSafety, | ||
G4NavigationHistory & | history, | ||
G4bool & | validExitNormal, | ||
G4ThreeVector & | exitNormal, | ||
G4bool & | exiting, | ||
G4bool & | entering, | ||
G4VPhysicalVolume ** | pBlockedPhysical, | ||
G4int & | blockedReplicaNo, | ||
G4VPhysicalVolume * | pCurrentPhysical | ||
) |
Definition at line 119 of file G4RegularNavigation.cc.
References G4RegularNavigationHelper::AddStepLength(), G4RegularNavigationHelper::ClearStepLengths(), G4PhantomParameterisation::ComputeMaterial(), G4NormalNavigation::ComputeStep(), G4VSolid::DistanceToOut(), EventMustBeAborted, fAbandonThreshold_NoZeroSteps, fActionThreshold_NoZeroSteps, fLastStepWasZero, fMinStep, fnormalNav, fNoStepsAllowed, fNumberZeroSteps, G4endl, G4Exception(), G4PhantomParameterisation::GetContainerSolid(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetParameterisation(), G4PhantomParameterisation::GetReplicaNo(), G4LogicalVolume::GetSolid(), G4PhantomParameterisation::GetTranslation(), g4zmq::history(), G4VSolid::Inside(), G4RegularNavigationHelper::Instance(), JustWarning, kCarTolerance, kInside, G4INCL::Math::min(), and G4PhantomParameterisation::SkipEqualMaterials().
G4bool G4RegularNavigation::LevelLocate | ( | G4NavigationHistory & | history, |
const G4VPhysicalVolume * | blockedVol, | ||
const G4int | blockedNum, | ||
const G4ThreeVector & | globalPoint, | ||
const G4ThreeVector * | globalDirection, | ||
const G4bool | pLocatedOnEdge, | ||
G4ThreeVector & | localPoint | ||
) |
Definition at line 371 of file G4RegularNavigation.cc.
References G4PhantomParameterisation::ComputeMaterial(), G4PhantomParameterisation::ComputeTransformation(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4PhantomParameterisation::GetNoVoxels(), G4VPhysicalVolume::GetParameterisation(), G4PhantomParameterisation::GetReplicaNo(), g4zmq::history(), kParameterised, G4VPhysicalVolume::SetCopyNo(), and G4LogicalVolume::UpdateMaterial().
Referenced by ComputeStep(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), and G4Navigator::LocateGlobalPointAndSetup().
|
inline |
Definition at line 115 of file G4RegularNavigation.hh.
References fnormalNav.
Referenced by G4ITNavigator1::G4ITNavigator1(), G4ITNavigator2::G4ITNavigator2(), and G4Navigator::G4Navigator().
|
inline |
Definition at line 113 of file G4RegularNavigation.hh.
References fverbose.
|
private |
Definition at line 133 of file G4RegularNavigation.hh.
Referenced by ComputeStepSkippingEqualMaterials().
|
private |
Definition at line 131 of file G4RegularNavigation.hh.
Referenced by ComputeStepSkippingEqualMaterials().
|
private |
Definition at line 121 of file G4RegularNavigation.hh.
Referenced by CheckMode().
|
private |
Definition at line 127 of file G4RegularNavigation.hh.
Referenced by ComputeStepSkippingEqualMaterials().
|
private |
Definition at line 125 of file G4RegularNavigation.hh.
Referenced by ComputeStepSkippingEqualMaterials(), and G4RegularNavigation().
|
private |
Definition at line 123 of file G4RegularNavigation.hh.
Referenced by ComputeSafety(), ComputeStep(), ComputeStepSkippingEqualMaterials(), and SetNormalNavigation().
|
private |
Definition at line 135 of file G4RegularNavigation.hh.
Referenced by ComputeStepSkippingEqualMaterials().
|
private |
Definition at line 129 of file G4RegularNavigation.hh.
Referenced by ComputeStepSkippingEqualMaterials().
|
private |
Definition at line 120 of file G4RegularNavigation.hh.
Referenced by SetVerboseLevel().
|
private |
Definition at line 124 of file G4RegularNavigation.hh.
Referenced by ComputeStepSkippingEqualMaterials(), and G4RegularNavigation().