Geant4  10.02.p02
G4ClassicalRK4 Class Reference

#include <G4ClassicalRK4.hh>

+ Inheritance diagram for G4ClassicalRK4:
+ Collaboration diagram for G4ClassicalRK4:

Public Member Functions

 G4ClassicalRK4 (G4EquationOfMotion *EquationMotion, G4int numberOfVariables=6)
 
 ~G4ClassicalRK4 ()
 
void DumbStepper (const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[])
 
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

void StepWithEst (const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[], G4double &alpha2, G4double &beta2, const G4double B1[], G4double B2[])
 
 G4ClassicalRK4 (const G4ClassicalRK4 &)
 
G4ClassicalRK4operator= (const G4ClassicalRK4 &)
 

Private Attributes

G4doubledydxm
 
G4doubledydxt
 
G4doubleyt
 

Detailed Description

Definition at line 44 of file G4ClassicalRK4.hh.

Constructor & Destructor Documentation

G4ClassicalRK4::G4ClassicalRK4 ( G4EquationOfMotion EquationMotion,
G4int  numberOfVariables = 6 
)

Definition at line 39 of file G4ClassicalRK4.cc.

References dydxm, dydxt, G4INCL::Math::max(), and yt.

+ Here is the call graph for this function:

G4ClassicalRK4::~G4ClassicalRK4 ( )

Definition at line 53 of file G4ClassicalRK4.cc.

References dydxm, dydxt, and yt.

G4ClassicalRK4::G4ClassicalRK4 ( const G4ClassicalRK4 )
private

Member Function Documentation

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

Implements G4MagErrorStepper.

Definition at line 71 of file G4ClassicalRK4.cc.

References dydxm, dydxt, G4MagIntegratorStepper::GetNumberOfVariables(), G4MagIntegratorStepper::NormalisePolarizationVector(), G4MagIntegratorStepper::RightHandSide(), and yt.

+ Here is the call graph for this function:

G4int G4ClassicalRK4::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 69 of file G4ClassicalRK4.hh.

G4ClassicalRK4& G4ClassicalRK4::operator= ( const G4ClassicalRK4 )
private
void G4ClassicalRK4::StepWithEst ( const G4double  yIn[],
const G4double  dydx[],
G4double  h,
G4double  yOut[],
G4double alpha2,
G4double beta2,
const G4double  B1[],
G4double  B2[] 
)
private

Definition at line 118 of file G4ClassicalRK4.cc.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

Member Data Documentation

G4double* G4ClassicalRK4::dydxm
private

Definition at line 91 of file G4ClassicalRK4.hh.

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

G4double * G4ClassicalRK4::dydxt
private

Definition at line 91 of file G4ClassicalRK4.hh.

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

G4double * G4ClassicalRK4::yt
private

Definition at line 91 of file G4ClassicalRK4.hh.

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


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