Geant4  10.00.p03
G4RKG3_Stepper Class Reference

#include <G4RKG3_Stepper.hh>

+ Inheritance diagram for G4RKG3_Stepper:
+ Collaboration diagram for G4RKG3_Stepper:

Public Member Functions

 G4RKG3_Stepper (G4Mag_EqRhs *EqRhs)
 
 ~G4RKG3_Stepper ()
 
void Stepper (const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[], G4double yErr[])
 
G4double DistChord () const
 
void StepNoErr (const G4double tIn[8], const G4double dydx[6], G4double Step, G4double tOut[8], G4double B[3])
 
void StepWithEst (const G4double tIn[8], const G4double dydx[6], G4double Step, G4double tOut[8], G4double &alpha2, G4double &beta2, const G4double B1[3], G4double B2[3])
 
G4int IntegratorOrder () 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

G4ThreeVector fyInitial
 
G4ThreeVector fyMidPoint
 
G4ThreeVector fyFinal
 
G4ThreeVector fpInitial
 
G4ThreeVector BfldIn
 
G4double hStep
 

Detailed Description

Definition at line 51 of file G4RKG3_Stepper.hh.

Constructor & Destructor Documentation

G4RKG3_Stepper::G4RKG3_Stepper ( G4Mag_EqRhs EqRhs)

Definition at line 35 of file G4RKG3_Stepper.cc.

G4RKG3_Stepper::~G4RKG3_Stepper ( )

Definition at line 40 of file G4RKG3_Stepper.cc.

Member Function Documentation

G4double G4RKG3_Stepper::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 197 of file G4RKG3_Stepper.cc.

References G4LineSection::Distline(), fyFinal, fyInitial, and fyMidPoint.

+ Here is the call graph for this function:

G4int G4RKG3_Stepper::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 95 of file G4RKG3_Stepper.hh.

void G4RKG3_Stepper::StepNoErr ( const G4double  tIn[8],
const G4double  dydx[6],
G4double  Step,
G4double  tOut[8],
G4double  B[3] 
)

Definition at line 126 of file G4RKG3_Stepper.cc.

References c1, c2, c3, G4EquationOfMotion::EvaluateRhsGivenB(), G4EquationOfMotion::EvaluateRhsReturnB(), and G4MagIntegratorStepper::GetEquationOfMotion().

Referenced by Stepper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RKG3_Stepper::Stepper ( const G4double  yIn[],
const G4double  dydx[],
G4double  h,
G4double  yOut[],
G4double  yErr[] 
)
virtual

Implements G4MagIntegratorStepper.

Definition at line 44 of file G4RKG3_Stepper.cc.

References BfldIn, G4EquationOfMotion::EvaluateRhsGivenB(), fpInitial, fyFinal, fyInitial, fyMidPoint, G4MagIntegratorStepper::GetEquationOfMotion(), hStep, and StepNoErr().

+ Here is the call graph for this function:

void G4RKG3_Stepper::StepWithEst ( const G4double  tIn[8],
const G4double  dydx[6],
G4double  Step,
G4double  tOut[8],
G4double alpha2,
G4double beta2,
const G4double  B1[3],
G4double  B2[3] 
)

Definition at line 104 of file G4RKG3_Stepper.cc.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

Member Data Documentation

G4ThreeVector G4RKG3_Stepper::BfldIn
private

Definition at line 103 of file G4RKG3_Stepper.hh.

Referenced by Stepper().

G4ThreeVector G4RKG3_Stepper::fpInitial
private

Definition at line 102 of file G4RKG3_Stepper.hh.

Referenced by Stepper().

G4ThreeVector G4RKG3_Stepper::fyFinal
private

Definition at line 99 of file G4RKG3_Stepper.hh.

Referenced by DistChord(), and Stepper().

G4ThreeVector G4RKG3_Stepper::fyInitial
private

Definition at line 99 of file G4RKG3_Stepper.hh.

Referenced by DistChord(), and Stepper().

G4ThreeVector G4RKG3_Stepper::fyMidPoint
private

Definition at line 99 of file G4RKG3_Stepper.hh.

Referenced by DistChord(), and Stepper().

G4double G4RKG3_Stepper::hStep
private

Definition at line 104 of file G4RKG3_Stepper.hh.

Referenced by Stepper().


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