Geant4  10.00.p03
G4HelixMixedStepper Class Reference

#include <G4HelixMixedStepper.hh>

+ Inheritance diagram for G4HelixMixedStepper:
+ Collaboration diagram for G4HelixMixedStepper:

Public Member Functions

 G4HelixMixedStepper (G4Mag_EqRhs *EqRhs, G4int fStepperNumber=-1, G4double Angle_threshold=-1.0)
 
 ~G4HelixMixedStepper ()
 
void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
void DumbStepper (const G4double y[], G4ThreeVector Bfld, G4double h, G4double yout[])
 
G4double DistChord () const
 
void SetVerbose (G4int newvalue)
 
void PrintCalls ()
 
G4MagIntegratorStepperSetupStepper (G4Mag_EqRhs *EqRhs, G4int StepperName)
 
void SetAngleThreshold (G4double val)
 
G4double GetAngleThreshold ()
 
G4int IntegratorOrder () const
 
- Public Member Functions inherited from G4MagHelicalStepper
 G4MagHelicalStepper (G4Mag_EqRhs *EqRhs)
 
virtual ~G4MagHelicalStepper ()
 
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
 
G4EquationOfMotionGetEquationOfMotion ()
 
void SetEquationOfMotion (G4EquationOfMotion *newEquation)
 

Private Attributes

G4MagIntegratorStepperfRK4Stepper
 
G4double fAngle_threshold
 
G4int fVerbose
 
G4int fNumCallsRK4
 
G4int fNumCallsHelix
 

Additional Inherited Members

- Protected Member Functions inherited from G4MagHelicalStepper
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
 

Detailed Description

Definition at line 58 of file G4HelixMixedStepper.hh.

Constructor & Destructor Documentation

G4HelixMixedStepper::G4HelixMixedStepper ( G4Mag_EqRhs EqRhs,
G4int  fStepperNumber = -1,
G4double  Angle_threshold = -1.0 
)

Definition at line 59 of file G4HelixMixedStepper.cc.

References fAngle_threshold, fRK4Stepper, G4INCL::Math::pi, SetupStepper(), and SetVerbose().

+ Here is the call graph for this function:

G4HelixMixedStepper::~G4HelixMixedStepper ( )

Definition at line 74 of file G4HelixMixedStepper.cc.

References fRK4Stepper, fVerbose, and PrintCalls().

+ Here is the call graph for this function:

Member Function Documentation

G4double G4HelixMixedStepper::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 147 of file G4HelixMixedStepper.cc.

References G4MagHelicalStepper::GetAngCurve(), G4MagHelicalStepper::GetRadHelix(), and G4INCL::Math::pi.

+ Here is the call graph for this function:

void G4HelixMixedStepper::DumbStepper ( const G4double  y[],
G4ThreeVector  Bfld,
G4double  h,
G4double  yout[] 
)
virtual

Implements G4MagHelicalStepper.

Definition at line 139 of file G4HelixMixedStepper.cc.

References G4MagHelicalStepper::AdvanceHelix().

+ Here is the call graph for this function:

G4double G4HelixMixedStepper::GetAngleThreshold ( )
inline

Definition at line 93 of file G4HelixMixedStepper.hh.

References fAngle_threshold.

G4int G4HelixMixedStepper::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 95 of file G4HelixMixedStepper.hh.

void G4HelixMixedStepper::PrintCalls ( )

Definition at line 173 of file G4HelixMixedStepper.cc.

References fNumCallsHelix, fNumCallsRK4, G4cout, and G4endl.

Referenced by ~G4HelixMixedStepper().

+ Here is the caller graph for this function:

void G4HelixMixedStepper::SetAngleThreshold ( G4double  val)
inline

Definition at line 92 of file G4HelixMixedStepper.hh.

References fAngle_threshold.

G4MagIntegratorStepper * G4HelixMixedStepper::SetupStepper ( G4Mag_EqRhs EqRhs,
G4int  StepperName 
)

Definition at line 180 of file G4HelixMixedStepper.cc.

References fVerbose, G4cout, and G4endl.

Referenced by G4HelixMixedStepper().

+ Here is the caller graph for this function:

void G4HelixMixedStepper::SetVerbose ( G4int  newvalue)
inline

Definition at line 86 of file G4HelixMixedStepper.hh.

References fVerbose.

Referenced by G4HelixMixedStepper().

+ Here is the caller graph for this function:

void G4HelixMixedStepper::Stepper ( const G4double  y[],
const G4double  dydx[],
G4double  h,
G4double  yout[],
G4double  yerr[] 
)
virtual

Reimplemented from G4MagHelicalStepper.

Definition at line 80 of file G4HelixMixedStepper.cc.

References G4MagHelicalStepper::AdvanceHelix(), fAngle_threshold, fNumCallsHelix, fNumCallsRK4, fRK4Stepper, G4MagHelicalStepper::GetInverseCurve(), G4MagHelicalStepper::MagFieldEvaluate(), G4MagHelicalStepper::SetAngCurve(), G4MagHelicalStepper::SetCurve(), and G4MagIntegratorStepper::Stepper().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4HelixMixedStepper::fAngle_threshold
private
G4int G4HelixMixedStepper::fNumCallsHelix
private

Definition at line 105 of file G4HelixMixedStepper.hh.

Referenced by PrintCalls(), and Stepper().

G4int G4HelixMixedStepper::fNumCallsRK4
private

Definition at line 104 of file G4HelixMixedStepper.hh.

Referenced by PrintCalls(), and Stepper().

G4MagIntegratorStepper* G4HelixMixedStepper::fRK4Stepper
private

Definition at line 98 of file G4HelixMixedStepper.hh.

Referenced by G4HelixMixedStepper(), Stepper(), and ~G4HelixMixedStepper().

G4int G4HelixMixedStepper::fVerbose
private

Definition at line 103 of file G4HelixMixedStepper.hh.

Referenced by SetupStepper(), SetVerbose(), and ~G4HelixMixedStepper().


The documentation for this class was generated from the following files: