ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4BogackiShampine45 Class Reference

#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/include/G4BogackiShampine45.hh>

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

Public Member Functions

 G4BogackiShampine45 (G4EquationOfMotion *EqRhs, G4int numberOfVariables=6, G4bool primary=true)
 
 ~G4BogackiShampine45 ()
 
 G4BogackiShampine45 (const G4BogackiShampine45 &)=delete
 
G4BogackiShampine45operator= (const G4BogackiShampine45 &)=delete
 
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, G4bool isFSAL=false)
 
virtual ~G4MagIntegratorStepper ()=default
 
 G4MagIntegratorStepper (const G4MagIntegratorStepper &)=delete
 
G4MagIntegratorStepperoperator= (const G4MagIntegratorStepper &)=delete
 
void NormaliseTangentVector (G4double vec[6])
 
void NormalisePolarizationVector (G4double vec[12])
 
void RightHandSide (const G4double y[], G4double dydx[]) const
 
void RightHandSide (const G4double y[], G4double dydx[], G4double field[]) const
 
G4int GetNumberOfVariables () const
 
G4int GetNumberOfStateVariables () const
 
G4int IntegrationOrder ()
 
G4EquationOfMotionGetEquationOfMotion ()
 
const G4EquationOfMotionGetEquationOfMotion () const
 
void SetEquationOfMotion (G4EquationOfMotion *newEquation)
 
unsigned long GetfNoRHSCalls ()
 
void ResetfNORHSCalls ()
 
G4bool IsFSAL () const
 

Private Attributes

G4doubleak2
 
G4doubleak3
 
G4doubleak4
 
G4doubleak5
 
G4doubleak6
 
G4doubleak7
 
G4doubleak8
 
G4doubleak9
 
G4doubleak10
 
G4doubleak11
 
G4doubleyTemp
 
G4doubleyIn
 
G4doublep [6]
 
G4double fLastStepLength = -1.0
 
G4doublefLastInitialVector
 
G4doublefLastFinalVector
 
G4doublefLastDyDx
 
G4doublefMidVector
 
G4doublefMidError
 
G4BogackiShampine45fAuxStepper = nullptr
 
G4bool fPreparedInterpolation = false
 

Static Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 51 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 51 of file G4BogackiShampine45.hh

Constructor & Destructor Documentation

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

Definition at line 70 of file G4BogackiShampine45.cc.

View newest version in sPHENIX GitHub at line 70 of file G4BogackiShampine45.cc

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

+ Here is the call graph for this function:

G4BogackiShampine45::~G4BogackiShampine45 ( )

Definition at line 124 of file G4BogackiShampine45.cc.

View newest version in sPHENIX GitHub at line 124 of file G4BogackiShampine45.cc

References ak10, ak11, ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, fAuxStepper, fLastDyDx, fLastFinalVector, fLastInitialVector, fMidError, fMidVector, yIn, and yTemp.

G4BogackiShampine45::G4BogackiShampine45 ( const G4BogackiShampine45 )
delete

Member Function Documentation

G4double G4BogackiShampine45::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 310 of file G4BogackiShampine45.cc.

View newest version in sPHENIX GitHub at line 310 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 156 of file G4BogackiShampine45.cc.

View newest version in sPHENIX GitHub at line 156 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 97 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 97 of file G4BogackiShampine45.hh

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

Definition at line 82 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 82 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 563 of file G4BogackiShampine45.cc.

View newest version in sPHENIX GitHub at line 563 of file G4BogackiShampine45.cc

References ak10, ak11, ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, b, bi, FatalException, fLastDyDx, fLastStepLength, G4Exception(), G4MagIntegratorStepper::GetNumberOfVariables(), k, and yIn.

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 )
delete
void G4BogackiShampine45::PrepareConstants ( )

Definition at line 487 of file G4BogackiShampine45.cc.

View newest version in sPHENIX GitHub at line 487 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 75 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 75 of file G4BogackiShampine45.hh

References SetupInterpolationHigh().

+ Here is the call graph for this function:

void G4BogackiShampine45::SetupInterpolationHigh ( )

Definition at line 362 of file G4BogackiShampine45.cc.

View newest version in sPHENIX GitHub at line 362 of file G4BogackiShampine45.cc

References ak10, ak11, ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, bi, fLastDyDx, fLastStepLength, fPreparedInterpolation, G4MagIntegratorStepper::GetNumberOfVariables(), 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 171 of file G4BogackiShampine45.cc.

View newest version in sPHENIX GitHub at line 171 of file G4BogackiShampine45.cc

References ak2, ak3, ak4, ak5, ak6, ak7, ak8, fLastDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, fPreparedInterpolation, G4MagIntegratorStepper::GetNumberOfVariables(), return(), 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

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::ak11
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), and ~G4BogackiShampine45().

G4double* G4BogackiShampine45::ak2
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::ak3
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::ak4
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::ak5
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::ak6
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::ak7
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::ak8
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::ak9
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), GetLastDydx(), InterpolateHigh(), SetupInterpolationHigh(), and ~G4BogackiShampine45().

G4double G4BogackiShampine45::bi
staticprivate

Definition at line 121 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 121 of file G4BogackiShampine45.hh

Referenced by InterpolateHigh(), PrepareConstants(), and SetupInterpolationHigh().

G4BogackiShampine45* G4BogackiShampine45::fAuxStepper = nullptr
private

Definition at line 115 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 115 of file G4BogackiShampine45.hh

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

G4double * G4BogackiShampine45::fLastDyDx
private

Definition at line 111 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 111 of file G4BogackiShampine45.hh

Referenced by DistChord(), G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::fLastFinalVector
private

Definition at line 111 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 111 of file G4BogackiShampine45.hh

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

G4double* G4BogackiShampine45::fLastInitialVector
private

Definition at line 111 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 111 of file G4BogackiShampine45.hh

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

G4double G4BogackiShampine45::fLastStepLength = -1.0
private

Definition at line 110 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 110 of file G4BogackiShampine45.hh

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

G4double * G4BogackiShampine45::fMidError
private

Definition at line 111 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 111 of file G4BogackiShampine45.hh

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

G4double * G4BogackiShampine45::fMidVector
private

Definition at line 111 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 111 of file G4BogackiShampine45.hh

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

G4bool G4BogackiShampine45::fPreparedConstants = false
staticprivate

Definition at line 120 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 120 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), and PrepareConstants().

G4bool G4BogackiShampine45::fPreparedInterpolation = false
private

Definition at line 117 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 117 of file G4BogackiShampine45.hh

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

G4double* G4BogackiShampine45::p[6]
private

Definition at line 108 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 108 of file G4BogackiShampine45.hh

G4double * G4BogackiShampine45::yIn
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), InterpolateHigh(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().

G4double * G4BogackiShampine45::yTemp
private

Definition at line 105 of file G4BogackiShampine45.hh.

View newest version in sPHENIX GitHub at line 105 of file G4BogackiShampine45.hh

Referenced by G4BogackiShampine45(), SetupInterpolationHigh(), Stepper(), and ~G4BogackiShampine45().


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