#include <G4RKG3_Stepper.hh>
 | 
|   | 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 | 
|   | 
|   | 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 | 
|   | 
| G4EquationOfMotion *  | GetEquationOfMotion () | 
|   | 
| void  | SetEquationOfMotion (G4EquationOfMotion *newEquation) | 
|   | 
Definition at line 51 of file G4RKG3_Stepper.hh.
 
◆ G4RKG3_Stepper()
Definition at line 35 of file G4RKG3_Stepper.cc.
G4MagIntegratorStepper(G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12)
 
 
 
 
◆ ~G4RKG3_Stepper()
      
        
          | G4RKG3_Stepper::~G4RKG3_Stepper  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ DistChord()
  
  
      
        
          | G4double G4RKG3_Stepper::DistChord  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Implements G4MagIntegratorStepper.
Definition at line 197 of file G4RKG3_Stepper.cc.
  206         distChord = distLine;
 static G4double Distline(const G4ThreeVector &OtherPnt, const G4ThreeVector &LinePntA, const G4ThreeVector &LinePntB)
 
 
 
 
◆ IntegratorOrder()
  
  
      
        
          | G4int G4RKG3_Stepper::IntegratorOrder  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ StepNoErr()
Definition at line 126 of file G4RKG3_Stepper.cc.
  147      mom=std::sqrt(tIn[3]*tIn[3]+tIn[4]*tIn[4]+tIn[5]*tIn[5]); 
   151       K1[i] = 
Step * dydx[i+3]*inverse_mom;
   152       tTemp[i] = tIn[i] + 
Step*(c1*tIn[i+3]*inverse_mom + 
c2*K1[i]) ;
   153       tTemp[i+3] = tIn[i+3] + c1*K1[i]*mom ;
   162       K2[i] = 
Step * yderiv[i+3]*inverse_mom;
   163       tTemp[i+3] = tIn[i+3] + c1*K2[i]*mom ;
   171       K3[i] = 
Step * yderiv[i+3]*inverse_mom;
   172       tTemp[i] = tIn[i] + 
Step*(tIn[i+3]*inverse_mom + c1*K3[i]) ;
   173       tTemp[i+3] = tIn[i+3] + K3[i]*mom ;
   183       K4[i] = 
Step * yderiv[i+3]*inverse_mom;
   184       tOut[i] = tIn[i] + 
Step*(tIn[i+3]*inverse_mom+ (K1[i] + K2[i] + K3[i])*
c3) ;
   185       tOut[i+3] = tIn[i+3] + mom*(K1[i] + 2*K2[i] + 2*K3[i] +K4[i])*
c3 ;
 
G4EquationOfMotion * GetEquationOfMotion()
 
virtual void EvaluateRhsGivenB(const G4double y[], const G4double B[3], G4double dydx[]) const =0
 
void EvaluateRhsReturnB(const G4double y[], G4double dydx[], G4double Field[]) const
 
 
 
 
◆ Stepper()
Implements G4MagIntegratorStepper.
Definition at line 44 of file G4RKG3_Stepper.cc.
   55    G4double yTemp[8], dydxTemp[6], yIn[8] ;
    57    for(i=0;i<nvar;i++) yIn[i]=yInput[i];
    67    for(i=0;i<3;i++)
BfldIn[i]=B[i];
    84       yErr[i] = yOut[i] - yTemp[i] ;
    85       yOut[i] += yErr[i]*by15 ;          
 CLHEP::Hep3Vector G4ThreeVector
 
G4EquationOfMotion * GetEquationOfMotion()
 
virtual void EvaluateRhsGivenB(const G4double y[], const G4double B[3], G4double dydx[]) const =0
 
void StepNoErr(const G4double tIn[8], const G4double dydx[6], G4double Step, G4double tOut[8], G4double B[3])
 
 
 
 
◆ StepWithEst()
Definition at line 104 of file G4RKG3_Stepper.cc.
  114   G4Exception(
"G4RKG3_Stepper::StepWithEst()", 
"GeomField0001",
 void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ BfldIn
◆ fpInitial
◆ fyFinal
◆ fyInitial
◆ fyMidPoint
◆ hStep
The documentation for this class was generated from the following files: