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

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

+ Inheritance diagram for G4CashKarpRKF45:
+ Collaboration diagram for G4CashKarpRKF45:

Public Member Functions

 G4CashKarpRKF45 (G4EquationOfMotion *EqRhs, G4int numberOfVariables=6, G4bool primary=true)
 
 ~G4CashKarpRKF45 ()
 
void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
G4double DistChord () const
 
G4int IntegratorOrder () const
 
- 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 Member Functions

void StepWithEst (const G4double yIn[], const G4double dydx[], G4double Step, G4double yOut[], G4double &alpha2, G4double &beta2, const G4double B1[], G4double B2[])
 
 G4CashKarpRKF45 (const G4CashKarpRKF45 &)
 
G4CashKarpRKF45operator= (const G4CashKarpRKF45 &)
 

Private Attributes

G4doubleak2
 
G4doubleak3
 
G4doubleak4
 
G4doubleak5
 
G4doubleak6
 
G4doubleyTemp
 
G4doubleyIn
 
G4double fLastStepLength = 0.0
 
G4doublefLastInitialVector
 
G4doublefLastFinalVector
 
G4doublefLastDyDx
 
G4doublefMidVector
 
G4doublefMidError
 
G4CashKarpRKF45fAuxStepper = nullptr
 

Additional Inherited Members

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

Detailed Description

Definition at line 44 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 44 of file G4CashKarpRKF45.hh

Constructor & Destructor Documentation

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

Definition at line 47 of file G4CashKarpRKF45.cc.

View newest version in sPHENIX GitHub at line 47 of file G4CashKarpRKF45.cc

References ak2, ak3, ak4, ak5, ak6, fAuxStepper, fLastDyDx, fLastFinalVector, fLastInitialVector, fMidError, fMidVector, G4MagIntegratorStepper::GetNumberOfStateVariables(), max, yIn, and yTemp.

+ Here is the call graph for this function:

G4CashKarpRKF45::~G4CashKarpRKF45 ( )

Definition at line 89 of file G4CashKarpRKF45.cc.

View newest version in sPHENIX GitHub at line 89 of file G4CashKarpRKF45.cc

References ak2, ak3, ak4, ak5, ak6, fAuxStepper, fLastDyDx, fLastFinalVector, fLastInitialVector, fMidError, fMidVector, yIn, and yTemp.

G4CashKarpRKF45::G4CashKarpRKF45 ( const G4CashKarpRKF45 )
private

Member Function Documentation

G4double G4CashKarpRKF45::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 238 of file G4CashKarpRKF45.cc.

View newest version in sPHENIX GitHub at line 238 of file G4CashKarpRKF45.cc

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

+ Here is the call graph for this function:

G4int G4CashKarpRKF45::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 63 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 63 of file G4CashKarpRKF45.hh

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

Implements G4MagIntegratorStepper.

Definition at line 120 of file G4CashKarpRKF45.cc.

View newest version in sPHENIX GitHub at line 120 of file G4CashKarpRKF45.cc

References ak2, ak3, ak4, ak5, ak6, c1, fLastDyDx, fLastFinalVector, fLastInitialVector, fLastStepLength, 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:

void G4CashKarpRKF45::StepWithEst ( const G4double  yIn[],
const G4double  dydx[],
G4double  Step,
G4double  yOut[],
G4double alpha2,
G4double beta2,
const G4double  B1[],
G4double  B2[] 
)
private

Definition at line 222 of file G4CashKarpRKF45.cc.

View newest version in sPHENIX GitHub at line 222 of file G4CashKarpRKF45.cc

References FatalException, G4Exception(), and return().

+ Here is the call graph for this function:

Member Data Documentation

G4double* G4CashKarpRKF45::ak2
private

Definition at line 83 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 83 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::ak3
private

Definition at line 83 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 83 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::ak4
private

Definition at line 83 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 83 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::ak5
private

Definition at line 83 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 83 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::ak6
private

Definition at line 83 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 83 of file G4CashKarpRKF45.hh

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

G4CashKarpRKF45* G4CashKarpRKF45::fAuxStepper = nullptr
private

Definition at line 91 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 91 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::fLastDyDx
private

Definition at line 87 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 87 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::fLastFinalVector
private

Definition at line 87 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 87 of file G4CashKarpRKF45.hh

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

G4double* G4CashKarpRKF45::fLastInitialVector
private

Definition at line 87 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 87 of file G4CashKarpRKF45.hh

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

G4double G4CashKarpRKF45::fLastStepLength = 0.0
private

Definition at line 86 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 86 of file G4CashKarpRKF45.hh

Referenced by DistChord(), and Stepper().

G4double * G4CashKarpRKF45::fMidError
private

Definition at line 87 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 87 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::fMidVector
private

Definition at line 87 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 87 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::yIn
private

Definition at line 83 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 83 of file G4CashKarpRKF45.hh

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

G4double * G4CashKarpRKF45::yTemp
private

Definition at line 83 of file G4CashKarpRKF45.hh.

View newest version in sPHENIX GitHub at line 83 of file G4CashKarpRKF45.hh

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


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