Warning, file /include/Geant4/G4BFieldIntegrationDriver.icc was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 inline
0033 G4bool G4BFieldIntegrationDriver::AccurateAdvance(G4FieldTrack& track,
0034 G4double hstep,
0035 G4double eps,
0036 G4double hinitial)
0037 {
0038 return fCurrDriver->AccurateAdvance(track, hstep, eps, hinitial);
0039 }
0040
0041 inline
0042 G4bool G4BFieldIntegrationDriver::DoesReIntegrate() const
0043 {
0044 return fCurrDriver->DoesReIntegrate();
0045 }
0046
0047 inline
0048 G4EquationOfMotion* G4BFieldIntegrationDriver::GetEquationOfMotion()
0049 {
0050 return fCurrDriver->GetEquationOfMotion();
0051 }
0052
0053 inline
0054 G4MagIntegratorStepper* G4BFieldIntegrationDriver::GetStepper()
0055 {
0056 return fCurrDriver->GetStepper();
0057 }
0058
0059 inline
0060 G4double G4BFieldIntegrationDriver::ComputeNewStepSize(G4double errMaxNorm,
0061 G4double hstepCurrent)
0062 {
0063 return fCurrDriver->ComputeNewStepSize(errMaxNorm, hstepCurrent);
0064 }
0065
0066 inline
0067 void G4BFieldIntegrationDriver::SetVerboseLevel(G4int level)
0068 {
0069 fSmallStepDriver->SetVerboseLevel(level);
0070 fLargeStepDriver->SetVerboseLevel(level);
0071 }
0072
0073 inline
0074 G4int G4BFieldIntegrationDriver::GetVerboseLevel() const
0075 {
0076 return fCurrDriver->GetVerboseLevel();
0077 }
0078
0079 inline
0080 void G4BFieldIntegrationDriver::OnComputeStep(const G4FieldTrack* track)
0081 {
0082 fSmallStepDriver->OnComputeStep(track);
0083 fLargeStepDriver->OnComputeStep(track);
0084 }
0085
0086 inline
0087 void G4BFieldIntegrationDriver::OnStartTracking()
0088 {
0089 fSmallStepDriver->OnStartTracking();
0090 fLargeStepDriver->OnStartTracking();
0091 }
0092
0093 inline
0094 void G4BFieldIntegrationDriver::StreamInfo( std::ostream& os ) const
0095 {
0096 os << "Small Step Driver Info: " << std::endl;
0097 fSmallStepDriver->StreamInfo(os);
0098 os << "Large Step Driver Info: " << std::endl;
0099 fLargeStepDriver->StreamInfo(os);
0100 }
0101
0102
0103
0104 inline
0105 void G4BFieldIntegrationDriver::GetDerivatives(const G4FieldTrack& track,
0106 G4double dydx[]) const
0107 {
0108 fCurrDriver->GetDerivatives(track, dydx);
0109 }
0110
0111 inline
0112 void G4BFieldIntegrationDriver::GetDerivatives(const G4FieldTrack& track,
0113 G4double dydx[],
0114 G4double field[]) const
0115 {
0116 fCurrDriver->GetDerivatives(track, dydx, field);
0117 }
0118
0119 inline
0120 const G4MagIntegratorStepper* G4BFieldIntegrationDriver::GetStepper() const
0121 {
0122 return fCurrDriver->GetStepper();
0123 }
0124
0125