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

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

+ Inheritance diagram for G4ConstRK4:
+ Collaboration diagram for G4ConstRK4:

Public Member Functions

 G4ConstRK4 (G4Mag_EqRhs *EquationMotion, G4int numberOfStateVariables=8)
 
 ~G4ConstRK4 ()
 
 G4ConstRK4 (const G4ConstRK4 &)=delete
 
G4ConstRK4operator= (const G4ConstRK4 &)=delete
 
void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])
 
void DumbStepper (const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[])
 
G4double DistChord () const
 
void RightHandSideConst (const G4double y[], G4double dydx[]) const
 
void GetConstField (const G4double y[], G4double Field[])
 
G4int IntegratorOrder () const
 
- Public Member Functions inherited from G4MagErrorStepper
 G4MagErrorStepper (G4EquationOfMotion *EqRhs, G4int numberOfVariables, G4int numStateVariables=12)
 
virtual ~G4MagErrorStepper ()
 
 G4MagErrorStepper (const G4MagErrorStepper &)=delete
 
G4MagErrorStepperoperator= (const G4MagErrorStepper &)=delete
 
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, 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

G4ThreeVector fInitialPoint
 
G4ThreeVector fMidPoint
 
G4ThreeVector fFinalPoint
 
G4doubledydxm
 
G4doubledydxt
 
G4doubleyt
 
G4doubleyInitial
 
G4doubleyMiddle
 
G4doubledydxMid
 
G4doubleyOneStep
 
G4Mag_EqRhsfEq = nullptr
 
G4double Field [3]
 

Additional Inherited Members

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

Detailed Description

Definition at line 45 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 45 of file G4ConstRK4.hh

Constructor & Destructor Documentation

G4ConstRK4::G4ConstRK4 ( G4Mag_EqRhs EquationMotion,
G4int  numberOfStateVariables = 8 
)

Definition at line 40 of file G4ConstRK4.cc.

View newest version in sPHENIX GitHub at line 40 of file G4ConstRK4.cc

References dydxm, dydxMid, dydxt, FatalException, fEq, Field, G4endl, G4Exception(), message(), yInitial, yMiddle, yOneStep, and yt.

+ Here is the call graph for this function:

G4ConstRK4::~G4ConstRK4 ( )

Definition at line 69 of file G4ConstRK4.cc.

View newest version in sPHENIX GitHub at line 69 of file G4ConstRK4.cc

References dydxm, dydxMid, dydxt, yInitial, yMiddle, yOneStep, and yt.

G4ConstRK4::G4ConstRK4 ( const G4ConstRK4 )
delete

Member Function Documentation

G4double G4ConstRK4::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 211 of file G4ConstRK4.cc.

View newest version in sPHENIX GitHub at line 211 of file G4ConstRK4.cc

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

+ Here is the call graph for this function:

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

Implements G4MagErrorStepper.

Definition at line 90 of file G4ConstRK4.cc.

View newest version in sPHENIX GitHub at line 90 of file G4ConstRK4.cc

References dydxm, dydxt, hh, RightHandSideConst(), and yt.

Referenced by Stepper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ConstRK4::GetConstField ( const G4double  y[],
G4double  Field[] 
)
inline

Definition at line 106 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 106 of file G4ConstRK4.hh

References fEq.

Referenced by Stepper().

+ Here is the caller graph for this function:

G4int G4ConstRK4::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 74 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 74 of file G4ConstRK4.hh

Referenced by Stepper().

+ Here is the caller graph for this function:

G4ConstRK4& G4ConstRK4::operator= ( const G4ConstRK4 )
delete
void G4ConstRK4::RightHandSideConst ( const G4double  y[],
G4double  dydx[] 
) const
inline

Definition at line 88 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 88 of file G4ConstRK4.hh

References G4Mag_EqRhs::FCof(), fEq, and Field.

Referenced by DumbStepper(), and Stepper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Implements G4MagIntegratorStepper.

Definition at line 146 of file G4ConstRK4.cc.

View newest version in sPHENIX GitHub at line 146 of file G4ConstRK4.cc

References DumbStepper(), dydxMid, fFinalPoint, Field, fInitialPoint, fMidPoint, GetConstField(), G4MagIntegratorStepper::GetNumberOfStateVariables(), IntegratorOrder(), RightHandSideConst(), yInitial, yMiddle, and yOneStep.

+ Here is the call graph for this function:

Member Data Documentation

G4double* G4ConstRK4::dydxm
private

Definition at line 80 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 80 of file G4ConstRK4.hh

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

G4double * G4ConstRK4::dydxMid
private

Definition at line 81 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 81 of file G4ConstRK4.hh

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

G4double * G4ConstRK4::dydxt
private

Definition at line 80 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 80 of file G4ConstRK4.hh

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

G4Mag_EqRhs* G4ConstRK4::fEq = nullptr
private

Definition at line 82 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 82 of file G4ConstRK4.hh

Referenced by G4ConstRK4(), GetConstField(), and RightHandSideConst().

G4ThreeVector G4ConstRK4::fFinalPoint
private

Definition at line 78 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 78 of file G4ConstRK4.hh

Referenced by DistChord(), and Stepper().

G4double G4ConstRK4::Field[3]
private

Definition at line 83 of file G4ConstRK4.hh.

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

Referenced by G4ConstRK4(), RightHandSideConst(), and Stepper().

G4ThreeVector G4ConstRK4::fInitialPoint
private

Definition at line 78 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 78 of file G4ConstRK4.hh

Referenced by DistChord(), and Stepper().

G4ThreeVector G4ConstRK4::fMidPoint
private

Definition at line 78 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 78 of file G4ConstRK4.hh

Referenced by DistChord(), and Stepper().

G4double* G4ConstRK4::yInitial
private

Definition at line 81 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 81 of file G4ConstRK4.hh

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

G4double * G4ConstRK4::yMiddle
private

Definition at line 81 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 81 of file G4ConstRK4.hh

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

G4double * G4ConstRK4::yOneStep
private

Definition at line 81 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 81 of file G4ConstRK4.hh

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

G4double * G4ConstRK4::yt
private

Definition at line 80 of file G4ConstRK4.hh.

View newest version in sPHENIX GitHub at line 80 of file G4ConstRK4.hh

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


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