Geant4-11
|
#include <G4HelixMixedStepper.hh>
Protected Member Functions | |
void | AdvanceHelix (const G4double yIn[], G4ThreeVector Bfld, G4double h, G4double yHelix[], G4double yHelix2[]=0) |
G4double | GetAngCurve () const |
G4double | GetCurve () const |
G4double | GetInverseCurve (const G4double Momentum, const G4double Bmag) |
G4double | GetRadHelix () const |
void | LinearStep (const G4double yIn[], G4double h, G4double yHelix[]) const |
void | MagFieldEvaluate (const G4double y[], G4ThreeVector &Bfield) |
void | SetAngCurve (const G4double Ang) |
void | SetCurve (const G4double Curve) |
void | SetFSAL (G4bool flag=true) |
void | SetIntegrationOrder (G4int order) |
void | SetRadHelix (const G4double Rad) |
Private Attributes | |
G4double | fAngCurve = 0.0 |
G4double | fAngle_threshold = -1.0 |
G4EquationOfMotion * | fEquation_Rhs = nullptr |
G4int | fIntegrationOrder = -1 |
G4bool | fIsFSAL = false |
const G4int | fNoIntegrationVariables = 0 |
unsigned long | fNoRHSCalls = 0UL |
const G4int | fNoStateVariables = 0 |
G4int | fNumCallsHelix = 0 |
G4int | fNumCallsRK4 = 0 |
G4Mag_EqRhs * | fPtrMagEqOfMot = nullptr |
G4double | frCurve = 0.0 |
G4double | frHelix = 0.0 |
G4MagIntegratorStepper * | fRK4Stepper = nullptr |
G4int | fStepperNumber = -1 |
G4int | fVerbose = 0 |
G4ThreeVector | yFinal |
G4ThreeVector | yInitial |
G4ThreeVector | yMidPoint |
Static Private Attributes | |
static const G4double | fUnitConstant = 0.299792458*(GeV/(tesla*m)) |
Definition at line 62 of file G4HelixMixedStepper.hh.
G4HelixMixedStepper::G4HelixMixedStepper | ( | G4Mag_EqRhs * | EqRhs, |
G4int | StepperNumber = -1 , |
||
G4double | Angle_threshold = -1.0 |
||
) |
Definition at line 64 of file G4HelixMixedStepper.cc.
References fAngle_threshold, fRK4Stepper, fStepperNumber, pi, and SetupStepper().
G4HelixMixedStepper::~G4HelixMixedStepper | ( | ) |
Definition at line 91 of file G4HelixMixedStepper.cc.
References fRK4Stepper, fVerbose, and PrintCalls().
|
protectedinherited |
Definition at line 57 of file G4MagHelicalStepper.cc.
References source.hepunit::c_light, CLHEP::Hep3Vector::cross(), CLHEP::Hep3Vector::dot(), eplus, G4Mag_EqRhs::FCof(), G4MagHelicalStepper::fPtrMagEqOfMot, G4MagHelicalStepper::fUnitConstant, G4MagHelicalStepper::GetInverseCurve(), G4MagHelicalStepper::LinearStep(), CLHEP::Hep3Vector::mag(), G4MagHelicalStepper::SetAngCurve(), G4MagHelicalStepper::SetCurve(), G4MagHelicalStepper::SetRadHelix(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4ExactHelixStepper::DumbStepper(), G4HelixExplicitEuler::DumbStepper(), G4HelixHeum::DumbStepper(), G4HelixImplicitEuler::DumbStepper(), DumbStepper(), G4HelixSimpleRunge::DumbStepper(), G4HelixExplicitEuler::Stepper(), G4ExactHelixStepper::Stepper(), and Stepper().
|
virtual |
Implements G4MagIntegratorStepper.
Definition at line 178 of file G4HelixMixedStepper.cc.
References G4MagHelicalStepper::GetAngCurve(), G4MagHelicalStepper::GetRadHelix(), pi, and twopi.
|
virtual |
Implements G4MagHelicalStepper.
Definition at line 169 of file G4HelixMixedStepper.cc.
References G4MagHelicalStepper::AdvanceHelix().
|
inlineprotectedinherited |
|
inline |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
Referenced by G4MagHelicalStepper::AdvanceHelix(), and Stepper().
|
inlineinherited |
Referenced by G4BogackiShampine45::G4BogackiShampine45(), G4CashKarpRKF45::G4CashKarpRKF45(), G4SimpleRunge::G4SimpleRunge(), G4TSimpleRunge< T_Equation, N >::G4TSimpleRunge(), G4TsitourasRK45::G4TsitourasRK45(), G4BogackiShampine23::makeStep(), G4RK547FEq1::makeStep(), G4RK547FEq2::makeStep(), G4RK547FEq3::makeStep(), G4ConstRK4::Stepper(), G4MagErrorStepper::Stepper(), and G4TMagErrorStepper< T_Stepper, T_Equation, N >::Stepper().
|
inlineinherited |
Referenced by G4ExplicitEuler::DumbStepper(), G4ImplicitEuler::DumbStepper(), G4ClassicalRK4::DumbStepper(), G4ChordFinder::G4ChordFinder(), G4BogackiShampine45::GetLastDydx(), G4DoLoMcPriRK34::Interpolate(), G4TsitourasRK45::Interpolate(), G4DormandPrince745::Interpolate4thOrder(), G4DormandPrince745::Interpolate5thOrder(), G4DormandPrinceRK56::Interpolate_high(), G4DormandPrinceRK56::Interpolate_low(), G4BogackiShampine45::InterpolateHigh(), G4BogackiShampine23::makeStep(), G4RK547FEq1::makeStep(), G4RK547FEq2::makeStep(), G4RK547FEq3::makeStep(), G4DormandPrinceRK56::SetupInterpolate_high(), G4DormandPrinceRK56::SetupInterpolate_low(), G4DormandPrince745::SetupInterpolation5thOrder(), G4BogackiShampine45::SetupInterpolationHigh(), G4BogackiShampine45::Stepper(), G4CashKarpRKF45::Stepper(), G4DoLoMcPriRK34::Stepper(), G4DormandPrinceRK56::Stepper(), G4DormandPrinceRK78::Stepper(), G4MagErrorStepper::Stepper(), G4TsitourasRK45::Stepper(), and G4DormandPrince745::Stepper().
|
inlineprotectedinherited |
|
inlineinherited |
|
inlinevirtual |
Implements G4MagIntegratorStepper.
Definition at line 100 of file G4HelixMixedStepper.hh.
|
inlineinherited |
|
inlineprotectedinherited |
Referenced by G4MagHelicalStepper::AdvanceHelix().
|
inlineprotectedinherited |
|
inlineinherited |
Referenced by G4SimpleHeum::DumbStepper(), and G4ClassicalRK4::DumbStepper().
|
inlineinherited |
void G4HelixMixedStepper::PrintCalls | ( | ) |
Definition at line 207 of file G4HelixMixedStepper.cc.
References fNumCallsHelix, fNumCallsRK4, G4cout, and G4endl.
Referenced by ~G4HelixMixedStepper().
|
inlineinherited |
|
inlineinherited |
Referenced by G4MagInt_Driver::AccurateAdvance(), G4OldMagIntDriver::AccurateAdvance(), G4ImplicitEuler::DumbStepper(), G4SimpleHeum::DumbStepper(), G4SimpleRunge::DumbStepper(), G4ClassicalRK4::DumbStepper(), G4MagInt_Driver::GetDerivatives(), G4OldMagIntDriver::GetDerivatives(), G4BogackiShampine23::makeStep(), G4RK547FEq1::makeStep(), G4RK547FEq2::makeStep(), G4RK547FEq3::makeStep(), G4DormandPrinceRK56::SetupInterpolate_high(), G4DormandPrinceRK56::SetupInterpolate_low(), G4DormandPrince745::SetupInterpolation5thOrder(), G4BogackiShampine45::SetupInterpolationHigh(), G4BogackiShampine45::Stepper(), G4CashKarpRKF45::Stepper(), G4DoLoMcPriRK34::Stepper(), G4DormandPrinceRK56::Stepper(), G4DormandPrinceRK78::Stepper(), G4MagErrorStepper::Stepper(), G4TsitourasRK45::Stepper(), and G4DormandPrince745::Stepper().
|
inlineinherited |
|
inlineprotectedinherited |
Referenced by G4MagHelicalStepper::AdvanceHelix(), G4HelixExplicitEuler::Stepper(), and Stepper().
|
inline |
Definition at line 98 of file G4HelixMixedStepper.hh.
References fAngle_threshold.
|
inlineprotectedinherited |
Referenced by G4MagHelicalStepper::AdvanceHelix(), and Stepper().
|
inlineinherited |
Referenced by G4MagInt_Driver::SetEquationOfMotion(), and G4OldMagIntDriver::SetEquationOfMotion().
|
inlineprotectedinherited |
Referenced by G4BogackiShampine23::G4BogackiShampine23().
|
inlineprotectedinherited |
Referenced by G4BogackiShampine23::G4BogackiShampine23().
|
inlineprotectedinherited |
Referenced by G4MagHelicalStepper::AdvanceHelix().
G4MagIntegratorStepper * G4HelixMixedStepper::SetupStepper | ( | G4Mag_EqRhs * | EqRhs, |
G4int | StepperName | ||
) |
Definition at line 216 of file G4HelixMixedStepper.cc.
References fVerbose, G4cout, and G4endl.
Referenced by G4HelixMixedStepper().
|
inline |
Definition at line 91 of file G4HelixMixedStepper.hh.
References fVerbose.
|
virtual |
Reimplemented from G4MagHelicalStepper.
Definition at line 98 of file G4HelixMixedStepper.cc.
References G4MagHelicalStepper::AdvanceHelix(), fAngle_threshold, fNumCallsHelix, fNumCallsRK4, fRK4Stepper, G4MagHelicalStepper::GetInverseCurve(), CLHEP::Hep3Vector::mag(), G4MagHelicalStepper::MagFieldEvaluate(), G4MagHelicalStepper::SetAngCurve(), G4MagHelicalStepper::SetCurve(), and G4MagIntegratorStepper::Stepper().
|
privateinherited |
Definition at line 120 of file G4MagHelicalStepper.hh.
|
private |
Definition at line 109 of file G4HelixMixedStepper.hh.
Referenced by G4HelixMixedStepper(), GetAngleThreshold(), SetAngleThreshold(), and Stepper().
|
privateinherited |
Definition at line 124 of file G4MagIntegratorStepper.hh.
|
privateinherited |
Definition at line 134 of file G4MagIntegratorStepper.hh.
|
privateinherited |
Definition at line 136 of file G4MagIntegratorStepper.hh.
|
privateinherited |
Definition at line 125 of file G4MagIntegratorStepper.hh.
|
mutableprivateinherited |
Definition at line 128 of file G4MagIntegratorStepper.hh.
|
privateinherited |
Definition at line 126 of file G4MagIntegratorStepper.hh.
|
private |
Definition at line 117 of file G4HelixMixedStepper.hh.
Referenced by PrintCalls(), and Stepper().
|
private |
Definition at line 116 of file G4HelixMixedStepper.hh.
Referenced by PrintCalls(), and Stepper().
|
privateinherited |
Definition at line 116 of file G4MagHelicalStepper.hh.
Referenced by G4MagHelicalStepper::AdvanceHelix().
|
privateinherited |
Definition at line 121 of file G4MagHelicalStepper.hh.
|
privateinherited |
Definition at line 122 of file G4MagHelicalStepper.hh.
|
private |
Definition at line 104 of file G4HelixMixedStepper.hh.
Referenced by G4HelixMixedStepper(), Stepper(), and ~G4HelixMixedStepper().
|
private |
Definition at line 106 of file G4HelixMixedStepper.hh.
Referenced by G4HelixMixedStepper().
|
staticprivateinherited |
Definition at line 113 of file G4MagHelicalStepper.hh.
Referenced by G4MagHelicalStepper::AdvanceHelix().
|
private |
Definition at line 114 of file G4HelixMixedStepper.hh.
Referenced by SetupStepper(), SetVerbose(), and ~G4HelixMixedStepper().
|
privateinherited |
Definition at line 123 of file G4MagHelicalStepper.hh.
|
privateinherited |
Definition at line 123 of file G4MagHelicalStepper.hh.
|
privateinherited |
Definition at line 123 of file G4MagHelicalStepper.hh.