#include <G4CashKarpRKF45.hh>
 | 
|   | G4CashKarpRKF45 (G4EquationOfMotion *EqRhs, G4int numberOfVariables=6, G4bool primary=true) | 
|   | 
|   | ~G4CashKarpRKF45 () | 
|   | 
| void  | Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) | 
|   | 
| G4double  | DistChord () const | 
|   | 
| 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 50 of file G4CashKarpRKF45.hh.
 
◆ G4CashKarpRKF45() [1/2]
Definition at line 47 of file G4CashKarpRKF45.cc.
   53   const G4int numberOfVariables = noIntegrationVariables;
 
G4CashKarpRKF45(G4EquationOfMotion *EqRhs, G4int numberOfVariables=6, G4bool primary=true)
 
G4double * fLastFinalVector
 
G4CashKarpRKF45 * fAuxStepper
 
G4MagIntegratorStepper(G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12)
 
G4double * fLastInitialVector
 
 
 
 
◆ ~G4CashKarpRKF45()
      
        
          | G4CashKarpRKF45::~G4CashKarpRKF45  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 80 of file G4CashKarpRKF45.cc.
G4double * fLastFinalVector
 
G4CashKarpRKF45 * fAuxStepper
 
G4double * fLastInitialVector
 
 
 
 
◆ G4CashKarpRKF45() [2/2]
◆ DistChord()
  
  
      
        
          | G4double G4CashKarpRKF45::DistChord  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Implements G4MagIntegratorStepper.
Definition at line 230 of file G4CashKarpRKF45.cc.
  252   if (initialPoint != finalPoint) 
   255      distChord = distLine;
   259      distChord = (midPoint-initialPoint).mag();
 
CLHEP::Hep3Vector G4ThreeVector
 
static G4double Distline(const G4ThreeVector &OtherPnt, const G4ThreeVector &LinePntA, const G4ThreeVector &LinePntB)
 
void Stepper(const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
G4double * fLastFinalVector
 
G4CashKarpRKF45 * fAuxStepper
 
G4double * fLastInitialVector
 
 
 
 
◆ IntegratorOrder()
  
  
      
        
          | G4int G4CashKarpRKF45::IntegratorOrder  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ operator=()
◆ Stepper()
Implements G4MagIntegratorStepper.
Definition at line 111 of file G4CashKarpRKF45.cc.
  122                  b31 = 3.0/40.0 , b32 = 9.0/40.0 ,
   123                  b41 = 0.3 , b42 = -0.9 , b43 = 1.2 ,
   125                  b51 = -11.0/54.0 , b52 = 2.5 , b53 = -70.0/27.0 ,
   128                  b61 = 1631.0/55296.0 , b62 =   175.0/512.0 ,
   129                  b63 =  575.0/13824.0 , b64 = 44275.0/110592.0 ,
   132                  c1 = 37.0/378.0 , 
c3 = 250.0/621.0 , 
c4 = 125.0/594.0 ,
   134                                           dc5 = -277.0/14336.0 ;
   136  const G4double dc1 = 
c1 - 2825.0/27648.0 ,  dc3 = 
c3 - 18575.0/48384.0 ,
   137     dc4 = 
c4 - 13525.0/55296.0 , dc6 = c6 - 0.25 ;
   149    for(i=0;i<numberOfVariables;i++) 
   155  for(i=0;i<numberOfVariables;i++) 
   161  for(i=0;i<numberOfVariables;i++)
   167  for(i=0;i<numberOfVariables;i++)
   173  for(i=0;i<numberOfVariables;i++)
   180  for(i=0;i<numberOfVariables;i++)
   183                       b64*
ak4[i] + b65*
ak5[i]) ;
   187  for(i=0;i<numberOfVariables;i++)
   196     yErr[i] = 
Step*(dc1*dydx[i] + dc3*
ak3[i] + dc4*
ak4[i] +
   197               dc5*
ak5[i] + dc6*
ak6[i]) ;
 
G4int GetNumberOfVariables() const
 
G4double * fLastFinalVector
 
void RightHandSide(const double y[], double dydx[])
 
G4double * fLastInitialVector
 
 
 
 
◆ StepWithEst()
Definition at line 214 of file G4CashKarpRKF45.cc.
  223   G4Exception(
"G4CashKarpRKF45::StepWithEst()", 
"GeomField0001",
 void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ ak2
◆ ak3
◆ ak4
◆ ak5
◆ ak6
◆ ak7
◆ fAuxStepper
◆ fLastDyDx
◆ fLastFinalVector
  
  
      
        
          | G4double * G4CashKarpRKF45::fLastFinalVector | 
         
       
   | 
  
private   | 
  
 
 
◆ fLastInitialVector
  
  
      
        
          | G4double* G4CashKarpRKF45::fLastInitialVector | 
         
       
   | 
  
private   | 
  
 
 
◆ fLastStepLength
  
  
      
        
          | G4double G4CashKarpRKF45::fLastStepLength | 
         
       
   | 
  
private   | 
  
 
 
◆ fMidError
◆ fMidVector
◆ yIn
◆ yTemp
The documentation for this class was generated from the following files: