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

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

+ Inheritance diagram for G4MagErrorStepper:
+ Collaboration diagram for G4MagErrorStepper:

Public Member Functions

 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[])
 
virtual void DumbStepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[])=0
 
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
 
virtual G4int IntegratorOrder () const =0
 
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
 
G4doubleyInitial
 
G4doubleyMiddle
 
G4doubledydxMid
 
G4doubleyOneStep
 

Additional Inherited Members

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

Detailed Description

Definition at line 43 of file G4MagErrorStepper.hh.

View newest version in sPHENIX GitHub at line 43 of file G4MagErrorStepper.hh

Constructor & Destructor Documentation

G4MagErrorStepper::G4MagErrorStepper ( G4EquationOfMotion EqRhs,
G4int  numberOfVariables,
G4int  numStateVariables = 12 
)
G4MagErrorStepper::~G4MagErrorStepper ( )
virtual

Definition at line 34 of file G4MagErrorStepper.cc.

View newest version in sPHENIX GitHub at line 34 of file G4MagErrorStepper.cc

References dydxMid, yInitial, yMiddle, and yOneStep.

G4MagErrorStepper::G4MagErrorStepper ( const G4MagErrorStepper )
delete

Member Function Documentation

G4double G4MagErrorStepper::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 100 of file G4MagErrorStepper.cc.

View newest version in sPHENIX GitHub at line 100 of file G4MagErrorStepper.cc

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

+ Here is the call graph for this function:

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

Implemented in G4ConstRK4, G4ClassicalRK4, G4SimpleRunge, G4ImplicitEuler, G4SimpleHeum, and G4ExplicitEuler.

Referenced by Stepper().

+ Here is the caller graph for this function:

G4MagErrorStepper& G4MagErrorStepper::operator= ( const G4MagErrorStepper )
delete
void G4MagErrorStepper::Stepper ( const G4double  y[],
const G4double  dydx[],
G4double  h,
G4double  yout[],
G4double  yerr[] 
)
virtual

Implements G4MagIntegratorStepper.

Definition at line 42 of file G4MagErrorStepper.cc.

View newest version in sPHENIX GitHub at line 42 of file G4MagErrorStepper.cc

References DumbStepper(), dydxMid, fFinalPoint, fInitialPoint, fMidPoint, G4MagIntegratorStepper::GetNumberOfStateVariables(), G4MagIntegratorStepper::GetNumberOfVariables(), G4MagIntegratorStepper::IntegratorOrder(), G4MagIntegratorStepper::RightHandSide(), yInitial, yMiddle, and yOneStep.

+ Here is the call graph for this function:

Member Data Documentation

G4double * G4MagErrorStepper::dydxMid
private

Definition at line 80 of file G4MagErrorStepper.hh.

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

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

G4ThreeVector G4MagErrorStepper::fFinalPoint
private

Definition at line 76 of file G4MagErrorStepper.hh.

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

Referenced by DistChord(), and Stepper().

G4ThreeVector G4MagErrorStepper::fInitialPoint
private

Definition at line 76 of file G4MagErrorStepper.hh.

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

Referenced by DistChord(), and Stepper().

G4ThreeVector G4MagErrorStepper::fMidPoint
private

Definition at line 76 of file G4MagErrorStepper.hh.

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

Referenced by DistChord(), and Stepper().

G4double* G4MagErrorStepper::yInitial
private

Definition at line 80 of file G4MagErrorStepper.hh.

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

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

G4double * G4MagErrorStepper::yMiddle
private

Definition at line 80 of file G4MagErrorStepper.hh.

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

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

G4double * G4MagErrorStepper::yOneStep
private

Definition at line 80 of file G4MagErrorStepper.hh.

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

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


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