Geant4  10.00.p01
G4MagErrorStepper Class Referenceabstract

#include <G4MagErrorStepper.hh>

+ Inheritance diagram for G4MagErrorStepper:
+ Collaboration diagram for G4MagErrorStepper:

Public Member Functions

 G4MagErrorStepper (G4EquationOfMotion *EqRhs, G4int numberOfVariables, G4int numStateVariables=12)
 
virtual ~G4MagErrorStepper ()
 
void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
virtual void DumbStepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[])=0
 
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
 
virtual G4int IntegratorOrder () const =0
 
G4EquationOfMotionGetEquationOfMotion ()
 
void SetEquationOfMotion (G4EquationOfMotion *newEquation)
 

Private Member Functions

 G4MagErrorStepper (const G4MagErrorStepper &)
 
G4MagErrorStepperoperator= (const G4MagErrorStepper &)
 

Private Attributes

G4ThreeVector fInitialPoint
 
G4ThreeVector fMidPoint
 
G4ThreeVector fFinalPoint
 
G4doubleyInitial
 
G4doubleyMiddle
 
G4doubledydxMid
 
G4doubleyOneStep
 

Detailed Description

Definition at line 49 of file G4MagErrorStepper.hh.

Constructor & Destructor Documentation

G4MagErrorStepper::G4MagErrorStepper ( G4EquationOfMotion EqRhs,
G4int  numberOfVariables,
G4int  numStateVariables = 12 
)
G4MagErrorStepper::~G4MagErrorStepper ( )
virtual

Definition at line 34 of file G4MagErrorStepper.cc.

References dydxMid, yInitial, yMiddle, and yOneStep.

G4MagErrorStepper::G4MagErrorStepper ( const G4MagErrorStepper )
private

Member Function Documentation

G4double G4MagErrorStepper::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 96 of file G4MagErrorStepper.cc.

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

+ Here is the call graph for this function:

virtual void G4MagErrorStepper::DumbStepper ( const G4double  y[],
const G4double  dydx[],
G4double  h,
G4double  yout[] 
)
pure virtual

Implemented in G4ConstRK4, G4SimpleRunge, G4SimpleHeum, G4ImplicitEuler, G4ExplicitEuler, and G4ClassicalRK4.

Referenced by Stepper().

+ Here is the caller graph for this function:

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

Implements G4MagIntegratorStepper.

Definition at line 43 of file G4MagErrorStepper.cc.

References DumbStepper(), dydxMid, fFinalPoint, fInitialPoint, fMidPoint, G4MagIntegratorStepper::GetNumberOfStateVariables(), G4MagIntegratorStepper::GetNumberOfVariables(), G4MagIntegratorStepper::IntegratorOrder(), G4MagIntegratorStepper::RightHandSide(), yInitial, yMiddle, and yOneStep.

+ Here is the call graph for this function:

Member Data Documentation

G4double * G4MagErrorStepper::dydxMid
private

Definition at line 87 of file G4MagErrorStepper.hh.

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

G4ThreeVector G4MagErrorStepper::fFinalPoint
private

Definition at line 83 of file G4MagErrorStepper.hh.

Referenced by DistChord(), and Stepper().

G4ThreeVector G4MagErrorStepper::fInitialPoint
private

Definition at line 83 of file G4MagErrorStepper.hh.

Referenced by DistChord(), and Stepper().

G4ThreeVector G4MagErrorStepper::fMidPoint
private

Definition at line 83 of file G4MagErrorStepper.hh.

Referenced by DistChord(), and Stepper().

G4double* G4MagErrorStepper::yInitial
private

Definition at line 87 of file G4MagErrorStepper.hh.

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

G4double * G4MagErrorStepper::yMiddle
private

Definition at line 87 of file G4MagErrorStepper.hh.

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

G4double * G4MagErrorStepper::yOneStep
private

Definition at line 87 of file G4MagErrorStepper.hh.

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


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