Geant4.10
|
#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 |
![]() | |
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 |
Definition at line 53 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.
|
protected |
Definition at line 59 of file G4MagHelicalStepper.cc.
References python.hepunit::c_light, CLHEP::Hep3Vector::cross(), CLHEP::Hep3Vector::dot(), python.hepunit::eplus, G4Mag_EqRhs::FCof(), GetInverseCurve(), LinearStep(), CLHEP::Hep3Vector::mag(), SetAngCurve(), SetCurve(), SetRadHelix(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
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(), python.hepunit::pi, and python.hepunit::twopi.
|
pure virtual |
Implemented in G4HelixMixedStepper, G4ExactHelixStepper, G4HelixExplicitEuler, G4HelixImplicitEuler, G4HelixHeum, and G4HelixSimpleRunge.
Referenced by Stepper().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Referenced by AdvanceHelix(), and G4HelixMixedStepper::Stepper().
|
inlineprotected |
|
inlineprotected |
Referenced by AdvanceHelix().
|
inlineprotected |
Referenced by AdvanceHelix(), and G4HelixMixedStepper::Stepper().
Referenced by AdvanceHelix(), and G4HelixMixedStepper::Stepper().
Referenced by AdvanceHelix().
|
virtual |
Implements G4MagIntegratorStepper.
Reimplemented in G4HelixMixedStepper, and G4ExactHelixStepper.
Definition at line 192 of file G4MagHelicalStepper.cc.
References DumbStepper(), and MagFieldEvaluate().