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

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

+ Inheritance diagram for G4MagIntegratorStepper:
+ Collaboration diagram for G4MagIntegratorStepper:

Public Member Functions

 G4MagIntegratorStepper (G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12, G4bool isFSAL=false)
 
virtual ~G4MagIntegratorStepper ()=default
 
 G4MagIntegratorStepper (const G4MagIntegratorStepper &)=delete
 
G4MagIntegratorStepperoperator= (const G4MagIntegratorStepper &)=delete
 
virtual void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])=0
 
virtual G4double DistChord () const =0
 
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
 
virtual G4int IntegratorOrder () const =0
 
G4int IntegrationOrder ()
 
G4EquationOfMotionGetEquationOfMotion ()
 
const G4EquationOfMotionGetEquationOfMotion () const
 
void SetEquationOfMotion (G4EquationOfMotion *newEquation)
 
unsigned long GetfNoRHSCalls ()
 
void ResetfNORHSCalls ()
 
G4bool IsFSAL () const
 

Protected Member Functions

void SetIntegrationOrder (G4int order)
 
void SetFSAL (G4bool flag=true)
 

Private Attributes

G4EquationOfMotionfEquation_Rhs = nullptr
 
const G4int fNoIntegrationVariables = 0
 
const G4int fNoStateVariables = 0
 
unsigned long fNoRHSCalls = 0UL
 
G4int fIntegrationOrder = -1
 
G4bool fIsFSAL = false
 

Detailed Description

Definition at line 47 of file G4MagIntegratorStepper.hh.

View newest version in sPHENIX GitHub at line 47 of file G4MagIntegratorStepper.hh

Constructor & Destructor Documentation

G4MagIntegratorStepper::G4MagIntegratorStepper ( G4EquationOfMotion Equation,
G4int  numIntegrationVariables,
G4int  numStateVariables = 12,
G4bool  isFSAL = false 
)

Definition at line 37 of file G4MagIntegratorStepper.cc.

View newest version in sPHENIX GitHub at line 37 of file G4MagIntegratorStepper.cc

virtual G4MagIntegratorStepper::~G4MagIntegratorStepper ( )
virtualdefault
G4MagIntegratorStepper::G4MagIntegratorStepper ( const G4MagIntegratorStepper )
delete

Member Function Documentation

G4EquationOfMotion* G4MagIntegratorStepper::GetEquationOfMotion ( )
inline

Referenced by G4MagInt_Driver::GetEquationOfMotion(), G4NystromRK4::GetField(), G4NystromRK4::SetDistanceForConstantField(), G4RKG3_Stepper::StepNoErr(), and G4RKG3_Stepper::Stepper().

+ Here is the caller graph for this function:

const G4EquationOfMotion* G4MagIntegratorStepper::GetEquationOfMotion ( ) const
inline
unsigned long G4MagIntegratorStepper::GetfNoRHSCalls ( )
inline
G4int G4MagIntegratorStepper::GetNumberOfStateVariables ( ) const
inline
G4int G4MagIntegratorStepper::IntegrationOrder ( )
inline
virtual G4int G4MagIntegratorStepper::IntegratorOrder ( ) const
pure virtual
G4bool G4MagIntegratorStepper::IsFSAL ( ) const
inline
void G4MagIntegratorStepper::NormalisePolarizationVector ( G4double  vec[12])
inline

Referenced by G4SimpleHeum::DumbStepper(), and G4ClassicalRK4::DumbStepper().

+ Here is the caller graph for this function:

void G4MagIntegratorStepper::NormaliseTangentVector ( G4double  vec[6])
inline
G4MagIntegratorStepper& G4MagIntegratorStepper::operator= ( const G4MagIntegratorStepper )
delete
void G4MagIntegratorStepper::ResetfNORHSCalls ( )
inline
void G4MagIntegratorStepper::RightHandSide ( const G4double  y[],
G4double  dydx[],
G4double  field[] 
) const
inline
void G4MagIntegratorStepper::SetEquationOfMotion ( G4EquationOfMotion newEquation)
inline

Referenced by G4MagInt_Driver::SetEquationOfMotion().

+ Here is the caller graph for this function:

void G4MagIntegratorStepper::SetFSAL ( G4bool  flag = true)
inlineprotected

Referenced by G4BogackiShampine23::G4BogackiShampine23().

+ Here is the caller graph for this function:

void G4MagIntegratorStepper::SetIntegrationOrder ( G4int  order)
inlineprotected

Referenced by G4BogackiShampine23::G4BogackiShampine23().

+ Here is the caller graph for this function:

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

Implemented in G4HelixMixedStepper, G4BogackiShampine45, G4ExactHelixStepper, G4MagHelicalStepper, G4NystromRK4, G4DormandPrinceRK78, G4BogackiShampine23, G4TsitourasRK45, G4ConstRK4, G4DoLoMcPriRK34, G4MagErrorStepper, G4CashKarpRKF45, G4DormandPrince745, G4DormandPrinceRK56, G4RK547FEq1, G4RK547FEq2, G4RK547FEq3, and G4RKG3_Stepper.

Referenced by G4HelixMixedStepper::Stepper().

+ Here is the caller graph for this function:

Member Data Documentation

G4EquationOfMotion* G4MagIntegratorStepper::fEquation_Rhs = nullptr
private

Definition at line 124 of file G4MagIntegratorStepper.hh.

View newest version in sPHENIX GitHub at line 124 of file G4MagIntegratorStepper.hh

G4int G4MagIntegratorStepper::fIntegrationOrder = -1
private

Definition at line 134 of file G4MagIntegratorStepper.hh.

View newest version in sPHENIX GitHub at line 134 of file G4MagIntegratorStepper.hh

G4bool G4MagIntegratorStepper::fIsFSAL = false
private

Definition at line 136 of file G4MagIntegratorStepper.hh.

View newest version in sPHENIX GitHub at line 136 of file G4MagIntegratorStepper.hh

const G4int G4MagIntegratorStepper::fNoIntegrationVariables = 0
private

Definition at line 125 of file G4MagIntegratorStepper.hh.

View newest version in sPHENIX GitHub at line 125 of file G4MagIntegratorStepper.hh

unsigned long G4MagIntegratorStepper::fNoRHSCalls = 0UL
mutableprivate

Definition at line 128 of file G4MagIntegratorStepper.hh.

View newest version in sPHENIX GitHub at line 128 of file G4MagIntegratorStepper.hh

const G4int G4MagIntegratorStepper::fNoStateVariables = 0
private

Definition at line 126 of file G4MagIntegratorStepper.hh.

View newest version in sPHENIX GitHub at line 126 of file G4MagIntegratorStepper.hh


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