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

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

+ Inheritance diagram for G4DormandPrince745:
+ Collaboration diagram for G4DormandPrince745:

Public Member Functions

 G4DormandPrince745 (G4EquationOfMotion *equation, G4int numberOfVariables=6)
 
virtual void Stepper (const G4double yInput[], const G4double dydx[], G4double hstep, G4double yOutput[], G4double yError[]) override
 
void Stepper (const G4double yInput[], const G4double dydx[], G4double hstep, G4double yOutput[], G4double yError[], G4double dydxOutput[])
 
void SetupInterpolation ()
 
void Interpolate (G4double tau, G4double yOut[]) const
 
virtual G4double DistChord () const override
 
virtual G4int IntegratorOrder () const override
 
const field_utils::StateGetYOut () const
 
void Interpolate4thOrder (G4double yOut[], G4double tau) const
 
void SetupInterpolation5thOrder ()
 
void Interpolate5thOrder (G4double yOut[], G4double tau) 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

field_utils::State ak2
 
field_utils::State ak3
 
field_utils::State ak4
 
field_utils::State ak5
 
field_utils::State ak6
 
field_utils::State ak7
 
field_utils::State ak8
 
field_utils::State ak9
 
field_utils::State fyIn
 
field_utils::State fyOut
 
field_utils::State fdydxIn
 
G4double fLastStepLength = -1.0
 

Additional Inherited Members

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

Detailed Description

Definition at line 46 of file G4DormandPrince745.hh.

View newest version in sPHENIX GitHub at line 46 of file G4DormandPrince745.hh

Constructor & Destructor Documentation

G4DormandPrince745::G4DormandPrince745 ( G4EquationOfMotion equation,
G4int  numberOfVariables = 6 
)

Definition at line 60 of file G4DormandPrince745.cc.

View newest version in sPHENIX GitHub at line 60 of file G4DormandPrince745.cc

Member Function Documentation

G4double G4DormandPrince745::DistChord ( ) const
overridevirtual

Implements G4MagIntegratorStepper.

Definition at line 199 of file G4DormandPrince745.cc.

View newest version in sPHENIX GitHub at line 199 of file G4DormandPrince745.cc

References ak3, ak4, ak5, ak6, ak7, G4LineSection::Distline(), fdydxIn, fLastStepLength, fyIn, fyOut, and field_utils::makeVector().

+ Here is the call graph for this function:

const field_utils::State& G4DormandPrince745::GetYOut ( ) const
inline

Definition at line 78 of file G4DormandPrince745.hh.

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

References fyOut.

virtual G4int G4DormandPrince745::IntegratorOrder ( ) const
inlineoverridevirtual

Implements G4MagIntegratorStepper.

Definition at line 76 of file G4DormandPrince745.hh.

View newest version in sPHENIX GitHub at line 76 of file G4DormandPrince745.hh

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

Definition at line 68 of file G4DormandPrince745.hh.

View newest version in sPHENIX GitHub at line 68 of file G4DormandPrince745.hh

References Interpolate4thOrder().

+ Here is the call graph for this function:

void G4DormandPrince745::Interpolate4thOrder ( G4double  yOut[],
G4double  tau 
) const

Definition at line 232 of file G4DormandPrince745.cc.

View newest version in sPHENIX GitHub at line 232 of file G4DormandPrince745.cc

References ak3, ak4, ak5, ak6, ak7, fdydxIn, fLastStepLength, fyIn, and G4MagIntegratorStepper::GetNumberOfVariables().

Referenced by Interpolate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DormandPrince745::Interpolate5thOrder ( G4double  yOut[],
G4double  tau 
) const

Definition at line 328 of file G4DormandPrince745.cc.

View newest version in sPHENIX GitHub at line 328 of file G4DormandPrince745.cc

References ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, b, fdydxIn, fLastStepLength, fyIn, and G4MagIntegratorStepper::GetNumberOfVariables().

+ Here is the call graph for this function:

void G4DormandPrince745::SetupInterpolation ( )
inline

Definition at line 66 of file G4DormandPrince745.hh.

View newest version in sPHENIX GitHub at line 66 of file G4DormandPrince745.hh

void G4DormandPrince745::SetupInterpolation5thOrder ( )

Definition at line 278 of file G4DormandPrince745.cc.

View newest version in sPHENIX GitHub at line 278 of file G4DormandPrince745.cc

References ak2, ak3, ak4, ak5, ak6, ak7, ak8, ak9, fdydxIn, fLastStepLength, fyIn, G4MagIntegratorStepper::GetNumberOfVariables(), and G4MagIntegratorStepper::RightHandSide().

+ Here is the call graph for this function:

void G4DormandPrince745::Stepper ( const G4double  yInput[],
const G4double  dydx[],
G4double  hstep,
G4double  yOutput[],
G4double  yError[] 
)
overridevirtual

Implements G4MagIntegratorStepper.

Definition at line 82 of file G4DormandPrince745.cc.

View newest version in sPHENIX GitHub at line 82 of file G4DormandPrince745.cc

References ak2, ak3, ak4, ak5, ak6, ak7, e, fdydxIn, fLastStepLength, fyIn, fyOut, G4MagIntegratorStepper::GetNumberOfVariables(), and G4MagIntegratorStepper::RightHandSide().

Referenced by Stepper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DormandPrince745::Stepper ( const G4double  yInput[],
const G4double  dydx[],
G4double  hstep,
G4double  yOutput[],
G4double  yError[],
G4double  dydxOutput[] 
)

Definition at line 66 of file G4DormandPrince745.cc.

View newest version in sPHENIX GitHub at line 66 of file G4DormandPrince745.cc

References ak7, field_utils::copy(), and Stepper().

+ Here is the call graph for this function:

Member Data Documentation

field_utils::State G4DormandPrince745::ak2
private

Definition at line 87 of file G4DormandPrince745.hh.

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

Referenced by Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

field_utils::State G4DormandPrince745::ak3
private

Definition at line 87 of file G4DormandPrince745.hh.

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

Referenced by DistChord(), Interpolate4thOrder(), Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

field_utils::State G4DormandPrince745::ak4
private

Definition at line 87 of file G4DormandPrince745.hh.

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

Referenced by DistChord(), Interpolate4thOrder(), Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

field_utils::State G4DormandPrince745::ak5
private

Definition at line 87 of file G4DormandPrince745.hh.

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

Referenced by DistChord(), Interpolate4thOrder(), Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

field_utils::State G4DormandPrince745::ak6
private

Definition at line 87 of file G4DormandPrince745.hh.

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

Referenced by DistChord(), Interpolate4thOrder(), Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

field_utils::State G4DormandPrince745::ak7
private

Definition at line 87 of file G4DormandPrince745.hh.

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

Referenced by DistChord(), Interpolate4thOrder(), Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

field_utils::State G4DormandPrince745::ak8
private

Definition at line 87 of file G4DormandPrince745.hh.

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

Referenced by Interpolate5thOrder(), and SetupInterpolation5thOrder().

field_utils::State G4DormandPrince745::ak9
private

Definition at line 87 of file G4DormandPrince745.hh.

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

Referenced by Interpolate5thOrder(), and SetupInterpolation5thOrder().

field_utils::State G4DormandPrince745::fdydxIn
private

Definition at line 88 of file G4DormandPrince745.hh.

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

Referenced by DistChord(), Interpolate4thOrder(), Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

G4double G4DormandPrince745::fLastStepLength = -1.0
private

Definition at line 90 of file G4DormandPrince745.hh.

View newest version in sPHENIX GitHub at line 90 of file G4DormandPrince745.hh

Referenced by DistChord(), Interpolate4thOrder(), Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

field_utils::State G4DormandPrince745::fyIn
private

Definition at line 88 of file G4DormandPrince745.hh.

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

Referenced by DistChord(), Interpolate4thOrder(), Interpolate5thOrder(), SetupInterpolation5thOrder(), and Stepper().

field_utils::State G4DormandPrince745::fyOut
private

Definition at line 88 of file G4DormandPrince745.hh.

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

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


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