Geant4  10.02.p02
G4CashKarpRKF45 Class Reference

#include <G4CashKarpRKF45.hh>

+ Inheritance diagram for G4CashKarpRKF45:
+ Collaboration diagram for G4CashKarpRKF45:

Public Member Functions

 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
 
- 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 Member Functions

void StepWithEst (const G4double yIn[], const G4double dydx[], G4double Step, G4double yOut[], G4double &alpha2, G4double &beta2, const G4double B1[], G4double B2[])
 
 G4CashKarpRKF45 (const G4CashKarpRKF45 &)
 
G4CashKarpRKF45operator= (const G4CashKarpRKF45 &)
 

Private Attributes

G4doubleak2
 
G4doubleak3
 
G4doubleak4
 
G4doubleak5
 
G4doubleak6
 
G4doubleak7
 
G4doubleyTemp
 
G4doubleyIn
 
G4double fLastStepLength
 
G4doublefLastInitialVector
 
G4doublefLastFinalVector
 
G4doublefLastDyDx
 
G4doublefMidVector
 
G4doublefMidError
 
G4CashKarpRKF45fAuxStepper
 

Detailed Description

Definition at line 50 of file G4CashKarpRKF45.hh.

Constructor & Destructor Documentation

G4CashKarpRKF45::G4CashKarpRKF45 ( G4EquationOfMotion EqRhs,
G4int  numberOfVariables = 6,
G4bool  primary = true 
)
G4CashKarpRKF45::~G4CashKarpRKF45 ( )
G4CashKarpRKF45::G4CashKarpRKF45 ( const G4CashKarpRKF45 )
private

Member Function Documentation

G4double G4CashKarpRKF45::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 230 of file G4CashKarpRKF45.cc.

References G4LineSection::Distline(), fAuxStepper, fLastDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, fMidError, fMidVector, and Stepper().

+ Here is the call graph for this function:

G4int G4CashKarpRKF45::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 69 of file G4CashKarpRKF45.hh.

G4CashKarpRKF45& G4CashKarpRKF45::operator= ( const G4CashKarpRKF45 )
private
void G4CashKarpRKF45::Stepper ( const G4double  y[],
const G4double  dydx[],
G4double  h,
G4double  yout[],
G4double  yerr[] 
)
virtual

Implements G4MagIntegratorStepper.

Definition at line 111 of file G4CashKarpRKF45.cc.

References ak2, ak3, ak4, ak5, ak6, c1, c3, c4, fLastDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, G4MagIntegratorStepper::GetNumberOfVariables(), G4MagIntegratorStepper::RightHandSide(), yIn, and yTemp.

Referenced by DistChord().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CashKarpRKF45::StepWithEst ( const G4double  yIn[],
const G4double  dydx[],
G4double  Step,
G4double  yOut[],
G4double alpha2,
G4double beta2,
const G4double  B1[],
G4double  B2[] 
)
private

Definition at line 214 of file G4CashKarpRKF45.cc.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

Member Data Documentation

G4double* G4CashKarpRKF45::ak2
private

Definition at line 89 of file G4CashKarpRKF45.hh.

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

G4double * G4CashKarpRKF45::ak3
private

Definition at line 89 of file G4CashKarpRKF45.hh.

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

G4double * G4CashKarpRKF45::ak4
private

Definition at line 89 of file G4CashKarpRKF45.hh.

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

G4double * G4CashKarpRKF45::ak5
private

Definition at line 89 of file G4CashKarpRKF45.hh.

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

G4double * G4CashKarpRKF45::ak6
private

Definition at line 89 of file G4CashKarpRKF45.hh.

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

G4double * G4CashKarpRKF45::ak7
private

Definition at line 89 of file G4CashKarpRKF45.hh.

Referenced by G4CashKarpRKF45().

G4CashKarpRKF45* G4CashKarpRKF45::fAuxStepper
private

Definition at line 97 of file G4CashKarpRKF45.hh.

Referenced by DistChord(), G4CashKarpRKF45(), and ~G4CashKarpRKF45().

G4double * G4CashKarpRKF45::fLastDyDx
private

Definition at line 93 of file G4CashKarpRKF45.hh.

Referenced by DistChord(), G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().

G4double * G4CashKarpRKF45::fLastFinalVector
private

Definition at line 93 of file G4CashKarpRKF45.hh.

Referenced by DistChord(), G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().

G4double* G4CashKarpRKF45::fLastInitialVector
private

Definition at line 93 of file G4CashKarpRKF45.hh.

Referenced by DistChord(), G4CashKarpRKF45(), Stepper(), and ~G4CashKarpRKF45().

G4double G4CashKarpRKF45::fLastStepLength
private

Definition at line 92 of file G4CashKarpRKF45.hh.

Referenced by DistChord(), and Stepper().

G4double * G4CashKarpRKF45::fMidError
private

Definition at line 93 of file G4CashKarpRKF45.hh.

Referenced by DistChord(), G4CashKarpRKF45(), and ~G4CashKarpRKF45().

G4double * G4CashKarpRKF45::fMidVector
private

Definition at line 93 of file G4CashKarpRKF45.hh.

Referenced by DistChord(), G4CashKarpRKF45(), and ~G4CashKarpRKF45().

G4double * G4CashKarpRKF45::yIn
private

Definition at line 89 of file G4CashKarpRKF45.hh.

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

G4double * G4CashKarpRKF45::yTemp
private

Definition at line 89 of file G4CashKarpRKF45.hh.

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


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