Geant4  10.02.p02
G4NystromRK4 Class Reference

#include <G4NystromRK4.hh>

+ Inheritance diagram for G4NystromRK4:
+ Collaboration diagram for G4NystromRK4:

Public Member Functions

 G4NystromRK4 (G4Mag_EqRhs *EquationMotion, G4double distanceConstField=0.0)
 
 ~G4NystromRK4 ()
 
void Stepper (const G4double P[], const G4double dPdS[], G4double step, G4double Po[], G4double Err[])
 
virtual void ComputeRightHandSide (const double P[], double dPdS[])
 
void SetDistanceForConstantField (G4double length)
 
G4double GetDistanceForConstantField () const
 
G4int IntegratorOrder () const
 
G4double DistChord () const
 
- Public Member Functions inherited from G4MagIntegratorStepper
 G4MagIntegratorStepper (G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12)
 
virtual ~G4MagIntegratorStepper ()
 
void NormaliseTangentVector (G4double vec[6])
 
void NormalisePolarizationVector (G4double vec[12])
 
void RightHandSide (const double y[], double dydx[])
 
G4int GetNumberOfVariables () const
 
G4int GetNumberOfStateVariables () const
 
G4EquationOfMotionGetEquationOfMotion ()
 
void SetEquationOfMotion (G4EquationOfMotion *newEquation)
 

Private Member Functions

void getField (const G4double P[4])
 

Private Attributes

G4Mag_EqRhsm_fEq
 
G4double m_lastField [3]
 
G4double m_fldPosition [4]
 
G4double m_magdistance
 
G4double m_magdistance2
 
G4double m_cof
 
G4double m_mom
 
G4double m_imom
 
G4bool m_cachedMom
 
G4double m_iPoint [3]
 
G4double m_mPoint [3]
 
G4double m_fPoint [3]
 

Detailed Description

Definition at line 51 of file G4NystromRK4.hh.

Constructor & Destructor Documentation

G4NystromRK4::G4NystromRK4 ( G4Mag_EqRhs EquationMotion,
G4double  distanceConstField = 0.0 
)

Definition at line 41 of file G4NystromRK4.cc.

References m_fldPosition, m_fPoint, m_iPoint, m_lastField, m_magdistance2, and m_mPoint.

G4NystromRK4::~G4NystromRK4 ( )

Definition at line 63 of file G4NystromRK4.cc.

Member Function Documentation

void G4NystromRK4::ComputeRightHandSide ( const double  P[],
double  dPdS[] 
)
virtual

Reimplemented from G4MagIntegratorStepper.

Definition at line 196 of file G4NystromRK4.cc.

References G4Mag_EqRhs::FCof(), getField(), m_cachedMom, m_cof, m_fEq, m_imom, and m_mom.

+ Here is the call graph for this function:

G4double G4NystromRK4::DistChord ( ) const
virtual

Implements G4MagIntegratorStepper.

Definition at line 172 of file G4NystromRK4.cc.

References d2, m_fPoint, and m_iPoint.

G4double G4NystromRK4::GetDistanceForConstantField ( ) const
inline

Definition at line 108 of file G4NystromRK4.hh.

References m_magdistance.

void G4NystromRK4::getField ( const G4double  P[4])
inlineprivate

Definition at line 117 of file G4NystromRK4.hh.

References G4EquationOfMotion::GetFieldValue(), m_fEq, m_fldPosition, m_lastField, and m_magdistance2.

Referenced by ComputeRightHandSide().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4NystromRK4::IntegratorOrder ( ) const
inlinevirtual

Implements G4MagIntegratorStepper.

Definition at line 73 of file G4NystromRK4.hh.

void G4NystromRK4::SetDistanceForConstantField ( G4double  length)
inline

Definition at line 102 of file G4NystromRK4.hh.

References m_magdistance, and m_magdistance2.

void G4NystromRK4::Stepper ( const G4double  P[],
const G4double  dPdS[],
G4double  step,
G4double  Po[],
G4double  Err[] 
)
virtual

Implements G4MagIntegratorStepper.

Definition at line 73 of file G4NystromRK4.cc.

References A(), and S().

+ Here is the call graph for this function:

Member Data Documentation

G4bool G4NystromRK4::m_cachedMom
private

Definition at line 92 of file G4NystromRK4.hh.

Referenced by ComputeRightHandSide().

G4double G4NystromRK4::m_cof
private

Definition at line 89 of file G4NystromRK4.hh.

Referenced by ComputeRightHandSide().

G4Mag_EqRhs* G4NystromRK4::m_fEq
private

Definition at line 84 of file G4NystromRK4.hh.

Referenced by ComputeRightHandSide(), and getField().

G4double G4NystromRK4::m_fldPosition[4]
private

Definition at line 86 of file G4NystromRK4.hh.

Referenced by G4NystromRK4(), and getField().

G4double G4NystromRK4::m_fPoint[3]
private

Definition at line 95 of file G4NystromRK4.hh.

Referenced by DistChord(), and G4NystromRK4().

G4double G4NystromRK4::m_imom
private

Definition at line 91 of file G4NystromRK4.hh.

Referenced by ComputeRightHandSide().

G4double G4NystromRK4::m_iPoint[3]
private

Definition at line 93 of file G4NystromRK4.hh.

Referenced by DistChord(), and G4NystromRK4().

G4double G4NystromRK4::m_lastField[3]
private

Definition at line 85 of file G4NystromRK4.hh.

Referenced by G4NystromRK4(), and getField().

G4double G4NystromRK4::m_magdistance
private

Definition at line 87 of file G4NystromRK4.hh.

Referenced by GetDistanceForConstantField(), and SetDistanceForConstantField().

G4double G4NystromRK4::m_magdistance2
private

Definition at line 88 of file G4NystromRK4.hh.

Referenced by G4NystromRK4(), getField(), and SetDistanceForConstantField().

G4double G4NystromRK4::m_mom
private

Definition at line 90 of file G4NystromRK4.hh.

Referenced by ComputeRightHandSide().

G4double G4NystromRK4::m_mPoint[3]
private

Definition at line 94 of file G4NystromRK4.hh.

Referenced by G4NystromRK4().


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