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

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

+ Inheritance diagram for G4ClassicalRK4:
+ Collaboration diagram for G4ClassicalRK4:

Public Member Functions

 G4ClassicalRK4 (G4EquationOfMotion *EquationMotion, G4int numberOfVariables=6)
 
 ~G4ClassicalRK4 ()
 
 G4ClassicalRK4 (const G4ClassicalRK4 &)=delete
 
G4ClassicalRK4operator= (const G4ClassicalRK4 &)=delete
 
void DumbStepper (const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[])
 
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 Member Functions

void StepWithEst (const G4double yIn[], const G4double dydx[], G4double h, G4double yOut[], G4double &alpha2, G4double &beta2, const G4double B1[], G4double B2[])
 

Private Attributes

G4doubledydxm
 
G4doubledydxt
 
G4doubleyt
 

Additional Inherited Members

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

Detailed Description

Definition at line 40 of file G4ClassicalRK4.hh.

View newest version in sPHENIX GitHub at line 40 of file G4ClassicalRK4.hh

Constructor & Destructor Documentation

G4ClassicalRK4::G4ClassicalRK4 ( G4EquationOfMotion EquationMotion,
G4int  numberOfVariables = 6 
)

Definition at line 39 of file G4ClassicalRK4.cc.

View newest version in sPHENIX GitHub at line 39 of file G4ClassicalRK4.cc

References dydxm, dydxt, max, and yt.

G4ClassicalRK4::~G4ClassicalRK4 ( )

Definition at line 53 of file G4ClassicalRK4.cc.

View newest version in sPHENIX GitHub at line 53 of file G4ClassicalRK4.cc

References dydxm, dydxt, and yt.

G4ClassicalRK4::G4ClassicalRK4 ( const G4ClassicalRK4 )
delete

Member Function Documentation

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

Implements G4MagErrorStepper.

Definition at line 71 of file G4ClassicalRK4.cc.

View newest version in sPHENIX GitHub at line 71 of file G4ClassicalRK4.cc

References dydxm, dydxt, G4MagIntegratorStepper::GetNumberOfVariables(), hh, G4MagIntegratorStepper::NormalisePolarizationVector(), G4MagIntegratorStepper::RightHandSide(), and yt.

+ Here is the call graph for this function:

G4int G4ClassicalRK4::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 70 of file G4ClassicalRK4.hh.

View newest version in sPHENIX GitHub at line 70 of file G4ClassicalRK4.hh

G4ClassicalRK4& G4ClassicalRK4::operator= ( const G4ClassicalRK4 )
delete
void G4ClassicalRK4::StepWithEst ( const G4double  yIn[],
const G4double  dydx[],
G4double  h,
G4double  yOut[],
G4double alpha2,
G4double beta2,
const G4double  B1[],
G4double  B2[] 
)
private

Definition at line 118 of file G4ClassicalRK4.cc.

View newest version in sPHENIX GitHub at line 118 of file G4ClassicalRK4.cc

References FatalException, and G4Exception().

+ Here is the call graph for this function:

Member Data Documentation

G4double* G4ClassicalRK4::dydxm
private

Definition at line 88 of file G4ClassicalRK4.hh.

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

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

G4double * G4ClassicalRK4::dydxt
private

Definition at line 88 of file G4ClassicalRK4.hh.

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

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

G4double * G4ClassicalRK4::yt
private

Definition at line 88 of file G4ClassicalRK4.hh.

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

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


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