Geant4  10.03
G4BogackiShampine45 Class Reference

#include <G4BogackiShampine45.hh>

+ Inheritance diagram for G4BogackiShampine45:
+ Collaboration diagram for G4BogackiShampine45:

Public Member Functions

 G4BogackiShampine45 (G4EquationOfMotion *EqRhs, G4int numberOfVariables=6, G4bool primary=true)
 
 ~G4BogackiShampine45 ()
 
void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
void SetupInterpolation ()
 
void Interpolate (G4double tau, G4double yOut[])
 
void SetupInterpolationHigh ()
 
void InterpolateHigh (G4double tau, G4double yOut[]) const
 
G4double DistChord () const
 
G4int IntegratorOrder () const
 
void GetLastDydx (G4double dyDxLast[])
 
void PrepareConstants ()
 
- 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

 G4BogackiShampine45 (const G4BogackiShampine45 &)
 
G4BogackiShampine45operator= (const G4BogackiShampine45 &)
 

Private Attributes

G4doubleak2
 
G4doubleak3
 
G4doubleak4
 
G4doubleak5
 
G4doubleak6
 
G4doubleak7
 
G4doubleak8
 
G4doubleak9
 
G4doubleak10
 
G4doubleak11
 
G4doubleyTemp
 
G4doubleyIn
 
G4doublep [6]
 
G4double fLastStepLength
 
G4doublefLastInitialVector
 
G4doublefLastFinalVector
 
G4doublefLastDyDx
 
G4doublefMidVector
 
G4doublefMidError
 
G4BogackiShampine45fAuxStepper
 
bool fPreparedInterpolation
 

Static Private Attributes

static bool fPreparedConstants = false
 
static G4double bi [12][7]
 

Additional Inherited Members

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

Detailed Description

Definition at line 51 of file G4BogackiShampine45.hh.

Constructor & Destructor Documentation

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

Definition at line 76 of file G4BogackiShampine45.cc.

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

+ Here is the call graph for this function:

G4BogackiShampine45::~G4BogackiShampine45 ( )
G4BogackiShampine45::G4BogackiShampine45 ( const G4BogackiShampine45 )
private

Member Function Documentation

G4double G4BogackiShampine45::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 314 of file G4BogackiShampine45.cc.

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

+ Here is the call graph for this function:

void G4BogackiShampine45::GetLastDydx ( G4double  dyDxLast[])

Definition at line 164 of file G4BogackiShampine45.cc.

References ak9, and G4MagIntegratorStepper::GetNumberOfVariables().

+ Here is the call graph for this function:

G4int G4BogackiShampine45::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 99 of file G4BogackiShampine45.hh.

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

Definition at line 78 of file G4BogackiShampine45.hh.

References InterpolateHigh().

+ Here is the call graph for this function:

void G4BogackiShampine45::InterpolateHigh ( G4double  tau,
G4double  yOut[] 
) const

Definition at line 551 of file G4BogackiShampine45.cc.

References ak2, FatalException, and G4Exception().

Referenced by DistChord(), and Interpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4BogackiShampine45& G4BogackiShampine45::operator= ( const G4BogackiShampine45 )
private
void G4BogackiShampine45::PrepareConstants ( )

Definition at line 480 of file G4BogackiShampine45.cc.

References bi, and fPreparedConstants.

Referenced by G4BogackiShampine45().

+ Here is the caller graph for this function:

void G4BogackiShampine45::SetupInterpolation ( )
inline

Definition at line 71 of file G4BogackiShampine45.hh.

References SetupInterpolationHigh().

+ Here is the call graph for this function:

void G4BogackiShampine45::SetupInterpolationHigh ( )

Definition at line 361 of file G4BogackiShampine45.cc.

References ak10, ak11, ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, bi, fLastDyDx, fLastStepLength, fPreparedInterpolation, G4MagIntegratorStepper::GetNumberOfVariables(), p, G4MagIntegratorStepper::RightHandSide(), yIn, and yTemp.

Referenced by DistChord(), and SetupInterpolation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Implements G4MagIntegratorStepper.

Definition at line 178 of file G4BogackiShampine45.cc.

References ak2, ak3, ak4, ak5, ak6, ak7, ak8, fLastDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, fPreparedInterpolation, 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 * G4BogackiShampine45::ak10
private
G4double * G4BogackiShampine45::ak11
private
G4double* G4BogackiShampine45::ak2
private
G4double * G4BogackiShampine45::ak3
private
G4double * G4BogackiShampine45::ak4
private
G4double * G4BogackiShampine45::ak5
private
G4double * G4BogackiShampine45::ak6
private
G4double * G4BogackiShampine45::ak7
private
G4double * G4BogackiShampine45::ak8
private
G4double * G4BogackiShampine45::ak9
private
G4double G4BogackiShampine45::bi
staticprivate

Definition at line 125 of file G4BogackiShampine45.hh.

Referenced by PrepareConstants(), and SetupInterpolationHigh().

G4BogackiShampine45* G4BogackiShampine45::fAuxStepper
private

Definition at line 120 of file G4BogackiShampine45.hh.

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

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

Definition at line 115 of file G4BogackiShampine45.hh.

Referenced by DistChord(), SetupInterpolationHigh(), and Stepper().

G4double * G4BogackiShampine45::fMidError
private

Definition at line 116 of file G4BogackiShampine45.hh.

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

G4double * G4BogackiShampine45::fMidVector
private

Definition at line 116 of file G4BogackiShampine45.hh.

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

G4bool G4BogackiShampine45::fPreparedConstants = false
staticprivate

Definition at line 124 of file G4BogackiShampine45.hh.

Referenced by G4BogackiShampine45(), and PrepareConstants().

bool G4BogackiShampine45::fPreparedInterpolation
private

Definition at line 121 of file G4BogackiShampine45.hh.

Referenced by DistChord(), SetupInterpolationHigh(), and Stepper().

G4double* G4BogackiShampine45::p[6]
private
G4double * G4BogackiShampine45::yIn
private
G4double * G4BogackiShampine45::yTemp
private

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