Geant4  10.03
G4DormandPrinceRK78 Class Reference

#include <G4DormandPrinceRK78.hh>

+ Inheritance diagram for G4DormandPrinceRK78:
+ Collaboration diagram for G4DormandPrinceRK78:

Public Member Functions

 G4DormandPrinceRK78 (G4EquationOfMotion *EqRhs, G4int numberOfVariables=6, G4bool primary=true)
 
 ~G4DormandPrinceRK78 ()
 
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, 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

 G4DormandPrinceRK78 (const G4DormandPrinceRK78 &)
 
G4DormandPrinceRK78operator= (const G4DormandPrinceRK78 &)
 

Private Attributes

G4doubleak2
 
G4doubleak3
 
G4doubleak4
 
G4doubleak5
 
G4doubleak6
 
G4doubleak7
 
G4doubleak8
 
G4doubleak9
 
G4doubleak10
 
G4doubleak11
 
G4doubleak12
 
G4doubleak13
 
G4doubleyTemp
 
G4doubleyIn
 
G4double fLastStepLength
 
G4doublefLastInitialVector
 
G4doublefLastFinalVector
 
G4doublefLastDyDx
 
G4doublefMidVector
 
G4doublefMidError
 
G4DormandPrinceRK78fAuxStepper
 

Additional Inherited Members

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

Detailed Description

Definition at line 35 of file G4DormandPrinceRK78.hh.

Constructor & Destructor Documentation

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

Definition at line 49 of file G4DormandPrinceRK78.cc.

References ak10, ak11, ak12, ak13, ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, fAuxStepper, fLastDyDx, fLastFinalVector, fLastInitialVector, fMidError, fMidVector, G4INCL::Math::max(), yIn, and yTemp.

+ Here is the call graph for this function:

G4DormandPrinceRK78::~G4DormandPrinceRK78 ( )
G4DormandPrinceRK78::G4DormandPrinceRK78 ( const G4DormandPrinceRK78 )
private

Member Function Documentation

G4double G4DormandPrinceRK78::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 416 of file G4DormandPrinceRK78.cc.

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

+ Here is the call graph for this function:

G4int G4DormandPrinceRK78::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 50 of file G4DormandPrinceRK78.hh.

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

Implements G4MagIntegratorStepper.

Definition at line 132 of file G4DormandPrinceRK78.cc.

References ak10, ak11, ak12, ak13, ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, 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:

Member Data Documentation

G4double * G4DormandPrinceRK78::ak10
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak11
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak12
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak13
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double* G4DormandPrinceRK78::ak2
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak3
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak4
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak5
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak6
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak7
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak8
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::ak9
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4DormandPrinceRK78* G4DormandPrinceRK78::fAuxStepper
private

Definition at line 65 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::fLastDyDx
private
G4double * G4DormandPrinceRK78::fLastFinalVector
private
G4double* G4DormandPrinceRK78::fLastInitialVector
private
G4double G4DormandPrinceRK78::fLastStepLength
private

Definition at line 60 of file G4DormandPrinceRK78.hh.

Referenced by DistChord(), and Stepper().

G4double * G4DormandPrinceRK78::fMidError
private

Definition at line 61 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::fMidVector
private

Definition at line 61 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::yIn
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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

G4double * G4DormandPrinceRK78::yTemp
private

Definition at line 56 of file G4DormandPrinceRK78.hh.

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


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