Geant4  10.03
G4DormandPrince745 Class Reference

#include <G4DormandPrince745.hh>

+ Inheritance diagram for G4DormandPrince745:
+ Collaboration diagram for G4DormandPrince745:

Public Member Functions

 G4DormandPrince745 (G4EquationOfMotion *EqRhs, G4int numberOfVariables=6, G4bool primary=true)
 
 ~G4DormandPrince745 ()
 
void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
void SetupInterpolation_low ()
 
void Interpolate_low (G4double yOut[], G4double tau)
 
void SetupInterpolation ()
 
void Interpolate (G4double tau, G4double yOut[])
 
void SetupInterpolation_high ()
 
void Interpolate_high (G4double yOut[], G4double tau)
 
G4double DistChord () const
 
G4double DistChord2 () const
 
G4double DistChord3 () const
 
G4double DistLine (G4double yStart[], G4double yMid[], G4double yEnd[]) const
 
G4int IntegratorOrder () 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 Member Functions

G4DormandPrince745operator= (const G4DormandPrince745 &)
 

Private Attributes

G4doubleak2
 
G4doubleak3
 
G4doubleak4
 
G4doubleak5
 
G4doubleak6
 
G4doubleak7
 
G4doubleak8
 
G4doubleak9
 
G4doubleyTemp
 
G4doubleyIn
 
G4double fLastStepLength
 
G4doublefLastInitialVector
 
G4doublefLastFinalVector
 
G4doublefInitialDyDx
 
G4doublefMidVector
 
G4doublefMidError
 
G4DormandPrince745fAuxStepper
 

Additional Inherited Members

- Protected Member Functions inherited from G4MagIntegratorStepper
void SetIntegrationOrder (int order)
 
void SetFSAL (bool flag=true)
 

Detailed Description

Definition at line 52 of file G4DormandPrince745.hh.

Constructor & Destructor Documentation

G4DormandPrince745::G4DormandPrince745 ( G4EquationOfMotion EqRhs,
G4int  numberOfVariables = 6,
G4bool  primary = true 
)

Definition at line 71 of file G4DormandPrince745.cc.

References ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, fAuxStepper, fInitialDyDx, fLastFinalVector, fLastInitialVector, fMidError, fMidVector, G4MagIntegratorStepper::GetNumberOfStateVariables(), G4INCL::Math::max(), yIn, and yTemp.

+ Here is the call graph for this function:

G4DormandPrince745::~G4DormandPrince745 ( )

Member Function Documentation

G4double G4DormandPrince745::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 335 of file G4DormandPrince745.cc.

References ak2, ak3, ak4, ak5, ak6, ak7, DistLine(), fInitialDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, and fMidVector.

+ Here is the call graph for this function:

G4double G4DormandPrince745::DistChord2 ( ) const

Definition at line 322 of file G4DormandPrince745.cc.

References DistLine(), fAuxStepper, fLastFinalVector, fLastInitialVector, fMidVector, Interpolate(), and SetupInterpolation().

+ Here is the call graph for this function:

G4double G4DormandPrince745::DistChord3 ( ) const

Definition at line 360 of file G4DormandPrince745.cc.

References DistLine(), fAuxStepper, fInitialDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, fMidError, fMidVector, and Stepper().

+ Here is the call graph for this function:

G4double G4DormandPrince745::DistLine ( G4double  yStart[],
G4double  yMid[],
G4double  yEnd[] 
) const

Definition at line 298 of file G4DormandPrince745.cc.

References G4LineSection::Distline().

Referenced by DistChord(), DistChord2(), and DistChord3().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4DormandPrince745::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 117 of file G4DormandPrince745.hh.

void G4DormandPrince745::Interpolate ( G4double  tau,
G4double  yOut[] 
)
inline

Definition at line 88 of file G4DormandPrince745.hh.

References Interpolate_low().

Referenced by DistChord2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DormandPrince745::Interpolate_high ( G4double  yOut[],
G4double  tau 
)

Definition at line 478 of file G4DormandPrince745.cc.

References ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, fInitialDyDx, fLastStepLength, G4MagIntegratorStepper::GetNumberOfVariables(), and yIn.

+ Here is the call graph for this function:

void G4DormandPrince745::Interpolate_low ( G4double  yOut[],
G4double  tau 
)

Definition at line 381 of file G4DormandPrince745.cc.

References ak2, ak3, ak4, ak5, ak6, ak7, fInitialDyDx, fLastStepLength, G4MagIntegratorStepper::GetNumberOfVariables(), and yIn.

Referenced by Interpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4DormandPrince745 & G4DormandPrince745::operator= ( const G4DormandPrince745 right)
private

Definition at line 606 of file G4DormandPrince745.cc.

References ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, fInitialDyDx, fLastInitialVector, fLastStepLength, fMidError, fMidVector, and G4MagIntegratorStepper::GetNumberOfVariables().

+ Here is the call graph for this function:

void G4DormandPrince745::SetupInterpolation ( )
inline

Definition at line 78 of file G4DormandPrince745.hh.

References SetupInterpolation_low().

Referenced by DistChord2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DormandPrince745::SetupInterpolation_high ( )

Definition at line 427 of file G4DormandPrince745.cc.

References ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, fInitialDyDx, fLastStepLength, G4MagIntegratorStepper::GetNumberOfVariables(), G4MagIntegratorStepper::RightHandSide(), yIn, and yTemp.

+ Here is the call graph for this function:

void G4DormandPrince745::SetupInterpolation_low ( )

Definition at line 376 of file G4DormandPrince745.cc.

Referenced by SetupInterpolation().

+ Here is the caller graph for this function:

void G4DormandPrince745::Stepper ( const G4double  y[],
const G4double  dydx[],
G4double  h,
G4double  yout[],
G4double  yerr[] 
)
virtual

Implements G4MagIntegratorStepper.

Definition at line 180 of file G4DormandPrince745.cc.

References ak2, ak3, ak4, ak5, ak6, ak7, fInitialDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, G4MagIntegratorStepper::GetNumberOfVariables(), G4MagIntegratorStepper::RightHandSide(), yIn, and yTemp.

Referenced by DistChord3().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double * G4DormandPrince745::ak8
private
G4double * G4DormandPrince745::ak9
private
G4DormandPrince745* G4DormandPrince745::fAuxStepper
private
G4double * G4DormandPrince745::fLastFinalVector
private
G4double* G4DormandPrince745::fLastInitialVector
private
G4double G4DormandPrince745::fLastStepLength
private
G4double * G4DormandPrince745::fMidError
private
G4double * G4DormandPrince745::fMidVector
private
G4double * G4DormandPrince745::yIn
private
G4double * G4DormandPrince745::yTemp
private

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