Geant4  10.03
G4HelixMixedStepper Class Reference

#include <G4HelixMixedStepper.hh>

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

Public Member Functions

 G4HelixMixedStepper (G4Mag_EqRhs *EqRhs, G4int StepperNumber=-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, bool isFSAL=false)
 
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
 
G4int IntegrationOrder ()
 
G4EquationOfMotionGetEquationOfMotion ()
 
void SetEquationOfMotion (G4EquationOfMotion *newEquation)
 
unsigned long GetfNoRHSCalls ()
 
void ResetfNORHSCalls ()
 
bool IsFSAL ()
 

Private Attributes

G4MagIntegratorStepperfRK4Stepper
 
G4int fStepperNumber
 
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
 
- Protected Member Functions inherited from G4MagIntegratorStepper
void SetIntegrationOrder (int order)
 
void SetFSAL (bool flag=true)
 

Detailed Description

Definition at line 66 of file G4HelixMixedStepper.hh.

Constructor & Destructor Documentation

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

Definition at line 65 of file G4HelixMixedStepper.cc.

References fAngle_threshold, fRK4Stepper, fStepperNumber, pi, SetupStepper(), and SetVerbose().

+ Here is the call graph for this function:

G4HelixMixedStepper::~G4HelixMixedStepper ( )

Definition at line 85 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 160 of file G4HelixMixedStepper.cc.

References G4MagHelicalStepper::GetAngCurve(), G4MagHelicalStepper::GetRadHelix(), pi, and twopi.

+ 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 152 of file G4HelixMixedStepper.cc.

References G4MagHelicalStepper::AdvanceHelix().

+ Here is the call graph for this function:

G4double G4HelixMixedStepper::GetAngleThreshold ( )
inline

Definition at line 101 of file G4HelixMixedStepper.hh.

References fAngle_threshold.

G4int G4HelixMixedStepper::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 103 of file G4HelixMixedStepper.hh.

void G4HelixMixedStepper::PrintCalls ( )

Definition at line 186 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 100 of file G4HelixMixedStepper.hh.

References fAngle_threshold.

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

Definition at line 194 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 94 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 91 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 116 of file G4HelixMixedStepper.hh.

Referenced by PrintCalls(), and Stepper().

G4int G4HelixMixedStepper::fNumCallsRK4
private

Definition at line 115 of file G4HelixMixedStepper.hh.

Referenced by PrintCalls(), and Stepper().

G4MagIntegratorStepper* G4HelixMixedStepper::fRK4Stepper
private

Definition at line 107 of file G4HelixMixedStepper.hh.

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

G4int G4HelixMixedStepper::fStepperNumber
private

Definition at line 108 of file G4HelixMixedStepper.hh.

Referenced by G4HelixMixedStepper().

G4int G4HelixMixedStepper::fVerbose
private

Definition at line 114 of file G4HelixMixedStepper.hh.

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


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