Geant4
10.02.p02
|
#include <G4MagHelicalStepper.hh>
Public Member Functions | |
G4MagHelicalStepper (G4Mag_EqRhs *EqRhs) | |
virtual | ~G4MagHelicalStepper () |
virtual void | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) |
virtual void | DumbStepper (const G4double y[], G4ThreeVector Bfld, G4double h, G4double yout[])=0 |
G4double | DistChord () const |
Public Member Functions inherited from G4MagIntegratorStepper | |
G4MagIntegratorStepper (G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12) | |
virtual | ~G4MagIntegratorStepper () |
virtual void | ComputeRightHandSide (const G4double y[], G4double dydx[]) |
void | NormaliseTangentVector (G4double vec[6]) |
void | NormalisePolarizationVector (G4double vec[12]) |
void | RightHandSide (const double y[], double dydx[]) |
G4int | GetNumberOfVariables () const |
G4int | GetNumberOfStateVariables () const |
virtual G4int | IntegratorOrder () const =0 |
G4EquationOfMotion * | GetEquationOfMotion () |
void | SetEquationOfMotion (G4EquationOfMotion *newEquation) |
Protected Member Functions | |
void | LinearStep (const G4double yIn[], G4double h, G4double yHelix[]) const |
void | AdvanceHelix (const G4double yIn[], G4ThreeVector Bfld, G4double h, G4double yHelix[], G4double yHelix2[]=0) |
void | MagFieldEvaluate (const G4double y[], G4ThreeVector &Bfield) |
G4double | GetInverseCurve (const G4double Momentum, const G4double Bmag) |
void | SetAngCurve (const G4double Ang) |
G4double | GetAngCurve () const |
void | SetCurve (const G4double Curve) |
G4double | GetCurve () const |
void | SetRadHelix (const G4double Rad) |
G4double | GetRadHelix () const |
Private Member Functions | |
G4MagHelicalStepper (const G4MagHelicalStepper &) | |
G4MagHelicalStepper & | operator= (const G4MagHelicalStepper &) |
Private Attributes | |
G4Mag_EqRhs * | fPtrMagEqOfMot |
G4double | fAngCurve |
G4double | frCurve |
G4double | frHelix |
G4ThreeVector | yInitial |
G4ThreeVector | yMidPoint |
G4ThreeVector | yFinal |
Static Private Attributes | |
static const G4double | fUnitConstant = 0.299792458*(GeV/(tesla*m)) |
Definition at line 58 of file G4MagHelicalStepper.hh.
G4MagHelicalStepper::G4MagHelicalStepper | ( | G4Mag_EqRhs * | EqRhs | ) |
Definition at line 47 of file G4MagHelicalStepper.cc.
|
virtual |
Definition at line 54 of file G4MagHelicalStepper.cc.
|
private |
|
protected |
Definition at line 59 of file G4MagHelicalStepper.cc.
References eplus, G4Mag_EqRhs::FCof(), fPtrMagEqOfMot, fUnitConstant, GetInverseCurve(), LinearStep(), SetAngCurve(), SetCurve(), and SetRadHelix().
Referenced by G4HelixSimpleRunge::DumbStepper(), G4HelixHeum::DumbStepper(), G4HelixImplicitEuler::DumbStepper(), G4HelixExplicitEuler::DumbStepper(), G4ExactHelixStepper::DumbStepper(), G4HelixMixedStepper::DumbStepper(), G4HelixExplicitEuler::Stepper(), G4ExactHelixStepper::Stepper(), and G4HelixMixedStepper::Stepper().
|
virtual |
Implements G4MagIntegratorStepper.
Definition at line 238 of file G4MagHelicalStepper.cc.
References GetAngCurve(), GetRadHelix(), pi, and twopi.
|
pure virtual |
Implemented in G4HelixMixedStepper, G4ExactHelixStepper, G4HelixExplicitEuler, G4HelixImplicitEuler, G4HelixHeum, and G4HelixSimpleRunge.
Referenced by Stepper().
|
inlineprotected |
Referenced by G4HelixExplicitEuler::DistChord(), G4ExactHelixStepper::DistChord(), G4HelixMixedStepper::DistChord(), and DistChord().
|
inlineprotected |
|
inlineprotected |
Referenced by AdvanceHelix(), and G4HelixMixedStepper::Stepper().
|
inlineprotected |
Referenced by G4HelixExplicitEuler::DistChord(), G4ExactHelixStepper::DistChord(), G4HelixMixedStepper::DistChord(), and DistChord().
|
inlineprotected |
Referenced by G4HelixSimpleRunge::DumbStepper(), G4HelixHeum::DumbStepper(), G4HelixImplicitEuler::DumbStepper(), G4HelixExplicitEuler::Stepper(), G4ExactHelixStepper::Stepper(), Stepper(), and G4HelixMixedStepper::Stepper().
|
private |
|
inlineprotected |
Referenced by AdvanceHelix(), and G4HelixMixedStepper::Stepper().
|
inlineprotected |
Referenced by AdvanceHelix(), and G4HelixMixedStepper::Stepper().
|
inlineprotected |
|
virtual |
Implements G4MagIntegratorStepper.
Reimplemented in G4HelixMixedStepper, and G4ExactHelixStepper.
Definition at line 192 of file G4MagHelicalStepper.cc.
References DumbStepper(), and MagFieldEvaluate().
|
private |
Definition at line 133 of file G4MagHelicalStepper.hh.
|
private |
Definition at line 130 of file G4MagHelicalStepper.hh.
Referenced by AdvanceHelix().
|
private |
Definition at line 134 of file G4MagHelicalStepper.hh.
|
private |
Definition at line 135 of file G4MagHelicalStepper.hh.
Definition at line 127 of file G4MagHelicalStepper.hh.
Referenced by AdvanceHelix().
|
private |
Definition at line 137 of file G4MagHelicalStepper.hh.
|
private |
Definition at line 137 of file G4MagHelicalStepper.hh.
|
private |
Definition at line 137 of file G4MagHelicalStepper.hh.