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

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

+ Inheritance diagram for G4SimpleRunge:
+ Collaboration diagram for G4SimpleRunge:

Public Member Functions

 G4SimpleRunge (G4EquationOfMotion *EquationRhs, G4int numberOfVariables=6)
 
 ~G4SimpleRunge ()
 
void DumbStepper (const G4double y[], 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 Attributes

G4int fNumberOfVariables = 0
 
G4doubledydxTemp = nullptr
 
G4doubleyTemp = nullptr
 

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 G4SimpleRunge.hh.

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

Constructor & Destructor Documentation

G4SimpleRunge::G4SimpleRunge ( G4EquationOfMotion EquationRhs,
G4int  numberOfVariables = 6 
)

Definition at line 38 of file G4SimpleRunge.cc.

View newest version in sPHENIX GitHub at line 38 of file G4SimpleRunge.cc

References dydxTemp, G4MagIntegratorStepper::GetNumberOfStateVariables(), max, and yTemp.

+ Here is the call graph for this function:

G4SimpleRunge::~G4SimpleRunge ( )

Definition at line 54 of file G4SimpleRunge.cc.

View newest version in sPHENIX GitHub at line 54 of file G4SimpleRunge.cc

References dydxTemp, and yTemp.

Member Function Documentation

void G4SimpleRunge::DumbStepper ( const G4double  y[],
const G4double  dydx[],
G4double  h,
G4double  yout[] 
)
virtual

Implements G4MagErrorStepper.

Definition at line 65 of file G4SimpleRunge.cc.

View newest version in sPHENIX GitHub at line 65 of file G4SimpleRunge.cc

References dydxTemp, fNumberOfVariables, G4MagIntegratorStepper::RightHandSide(), and yTemp.

+ Here is the call graph for this function:

G4int G4SimpleRunge::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 61 of file G4SimpleRunge.hh.

View newest version in sPHENIX GitHub at line 61 of file G4SimpleRunge.hh

Member Data Documentation

G4double* G4SimpleRunge::dydxTemp = nullptr
private

Definition at line 67 of file G4SimpleRunge.hh.

View newest version in sPHENIX GitHub at line 67 of file G4SimpleRunge.hh

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

G4int G4SimpleRunge::fNumberOfVariables = 0
private

Definition at line 65 of file G4SimpleRunge.hh.

View newest version in sPHENIX GitHub at line 65 of file G4SimpleRunge.hh

Referenced by DumbStepper().

G4double* G4SimpleRunge::yTemp = nullptr
private

Definition at line 68 of file G4SimpleRunge.hh.

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

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


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