Geant4  10.02.p02
G4ConstRK4 Class Reference

#include <G4ConstRK4.hh>

+ Inheritance diagram for G4ConstRK4:
+ Collaboration diagram for G4ConstRK4:

Public Member Functions

 G4ConstRK4 (G4Mag_EqRhs *EquationMotion, G4int numberOfStateVariables=8)
 
 ~G4ConstRK4 ()
 
void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
void DumbStepper (const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[])
 
G4double DistChord () const
 
void RightHandSideConst (const G4double y[], G4double dydx[]) const
 
void GetConstField (const G4double y[], G4double Field[])
 
G4int IntegratorOrder () const
 
- Public Member Functions inherited from G4MagErrorStepper
 G4MagErrorStepper (G4EquationOfMotion *EqRhs, G4int numberOfVariables, G4int numStateVariables=12)
 
virtual ~G4MagErrorStepper ()
 
void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
G4double DistChord () 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

 G4ConstRK4 (const G4ConstRK4 &)
 
G4ConstRK4operator= (const G4ConstRK4 &)
 

Private Attributes

G4ThreeVector fInitialPoint
 
G4ThreeVector fMidPoint
 
G4ThreeVector fFinalPoint
 
G4doubledydxm
 
G4doubledydxt
 
G4doubleyt
 
G4doubleyInitial
 
G4doubleyMiddle
 
G4doubledydxMid
 
G4doubleyOneStep
 
G4Mag_EqRhsfEq
 
G4double Field [3]
 

Detailed Description

Definition at line 51 of file G4ConstRK4.hh.

Constructor & Destructor Documentation

G4ConstRK4::G4ConstRK4 ( G4Mag_EqRhs EquationMotion,
G4int  numberOfStateVariables = 8 
)

Definition at line 42 of file G4ConstRK4.cc.

References dydxm, dydxMid, dydxt, FatalException, fEq, Field, G4endl, G4Exception(), yInitial, yMiddle, yOneStep, and yt.

+ Here is the call graph for this function:

G4ConstRK4::~G4ConstRK4 ( )

Definition at line 71 of file G4ConstRK4.cc.

References dydxm, dydxMid, dydxt, yInitial, yMiddle, yOneStep, and yt.

G4ConstRK4::G4ConstRK4 ( const G4ConstRK4 )
private

Member Function Documentation

G4double G4ConstRK4::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 213 of file G4ConstRK4.cc.

References G4LineSection::Distline(), fFinalPoint, fInitialPoint, and fMidPoint.

+ Here is the call graph for this function:

void G4ConstRK4::DumbStepper ( const G4double  yIn[],
const G4double  dydx[],
G4double  h,
G4double  yOut[] 
)
virtual

Implements G4MagErrorStepper.

Definition at line 92 of file G4ConstRK4.cc.

References dydxm, dydxt, RightHandSideConst(), and yt.

Referenced by Stepper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ConstRK4::GetConstField ( const G4double  y[],
G4double  Field[] 
)
inline

Definition at line 114 of file G4ConstRK4.hh.

References fEq.

Referenced by Stepper().

+ Here is the caller graph for this function:

G4int G4ConstRK4::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 76 of file G4ConstRK4.hh.

Referenced by Stepper().

+ Here is the caller graph for this function:

G4ConstRK4& G4ConstRK4::operator= ( const G4ConstRK4 )
private
void G4ConstRK4::RightHandSideConst ( const G4double  y[],
G4double  dydx[] 
) const
inline

Definition at line 96 of file G4ConstRK4.hh.

References G4Mag_EqRhs::FCof(), fEq, and Field.

Referenced by DumbStepper(), and Stepper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Implements G4MagIntegratorStepper.

Definition at line 148 of file G4ConstRK4.cc.

References DumbStepper(), dydxMid, fFinalPoint, Field, fInitialPoint, fMidPoint, GetConstField(), G4MagIntegratorStepper::GetNumberOfStateVariables(), IntegratorOrder(), RightHandSideConst(), yInitial, yMiddle, and yOneStep.

+ Here is the call graph for this function:

Member Data Documentation

G4double* G4ConstRK4::dydxm
private

Definition at line 88 of file G4ConstRK4.hh.

Referenced by DumbStepper(), G4ConstRK4(), and ~G4ConstRK4().

G4double * G4ConstRK4::dydxMid
private

Definition at line 89 of file G4ConstRK4.hh.

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

G4double * G4ConstRK4::dydxt
private

Definition at line 88 of file G4ConstRK4.hh.

Referenced by DumbStepper(), G4ConstRK4(), and ~G4ConstRK4().

G4Mag_EqRhs* G4ConstRK4::fEq
private

Definition at line 90 of file G4ConstRK4.hh.

Referenced by G4ConstRK4(), GetConstField(), and RightHandSideConst().

G4ThreeVector G4ConstRK4::fFinalPoint
private

Definition at line 86 of file G4ConstRK4.hh.

Referenced by DistChord(), and Stepper().

G4double G4ConstRK4::Field[3]
private

Definition at line 91 of file G4ConstRK4.hh.

Referenced by G4ConstRK4(), RightHandSideConst(), and Stepper().

G4ThreeVector G4ConstRK4::fInitialPoint
private

Definition at line 86 of file G4ConstRK4.hh.

Referenced by DistChord(), and Stepper().

G4ThreeVector G4ConstRK4::fMidPoint
private

Definition at line 86 of file G4ConstRK4.hh.

Referenced by DistChord(), and Stepper().

G4double* G4ConstRK4::yInitial
private

Definition at line 89 of file G4ConstRK4.hh.

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

G4double * G4ConstRK4::yMiddle
private

Definition at line 89 of file G4ConstRK4.hh.

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

G4double * G4ConstRK4::yOneStep
private

Definition at line 89 of file G4ConstRK4.hh.

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

G4double * G4ConstRK4::yt
private

Definition at line 88 of file G4ConstRK4.hh.

Referenced by DumbStepper(), G4ConstRK4(), and ~G4ConstRK4().


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