Geant4  10.01.p02
G4EquationOfMotion Class Referenceabstract

#include <G4EquationOfMotion.hh>

+ Inheritance diagram for G4EquationOfMotion:
+ Collaboration diagram for G4EquationOfMotion:

Public Member Functions

 G4EquationOfMotion (G4Field *Field)
 
virtual ~G4EquationOfMotion ()
 
virtual void EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const =0
 
virtual void SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double MassXc2)=0
 
void RightHandSide (const G4double y[], G4double dydx[]) const
 
void EvaluateRhsReturnB (const G4double y[], G4double dydx[], G4double Field[]) const
 
void GetFieldValue (const G4double Point[4], G4double Field[]) const
 
const G4FieldGetFieldObj () const
 
void SetFieldObj (G4Field *pField)
 

Private Types

enum  { G4maximum_number_of_field_components = 24 }
 

Private Attributes

G4FielditsField
 

Detailed Description

Definition at line 49 of file G4EquationOfMotion.hh.

Member Enumeration Documentation

anonymous enum
private
Enumerator
G4maximum_number_of_field_components 

Definition at line 96 of file G4EquationOfMotion.hh.

Constructor & Destructor Documentation

G4EquationOfMotion::G4EquationOfMotion ( G4Field Field)
G4EquationOfMotion::~G4EquationOfMotion ( )
virtual

Definition at line 33 of file G4EquationOfMotion.cc.

Member Function Documentation

virtual void G4EquationOfMotion::EvaluateRhsGivenB ( const G4double  y[],
const G4double  B[3],
G4double  dydx[] 
) const
pure virtual

Implemented in G4Mag_SpinEqRhs, G4BlineEquation, G4Mag_UsualEqRhs, G4Mag_EqRhs, G4ErrorMag_UsualEqRhs, G4KM_NucleonEqRhs, and G4KM_OpticalEqRhs.

Referenced by EvaluateRhsReturnB(), G4RKG3_Stepper::StepNoErr(), and G4RKG3_Stepper::Stepper().

+ Here is the caller graph for this function:

void G4EquationOfMotion::EvaluateRhsReturnB ( const G4double  y[],
G4double  dydx[],
G4double  Field[] 
) const

Definition at line 37 of file G4EquationOfMotion.cc.

References EvaluateRhsGivenB(), and GetFieldValue().

Referenced by G4RKG3_Stepper::StepNoErr().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4Field* G4EquationOfMotion::GetFieldObj ( ) const
void G4EquationOfMotion::GetFieldValue ( const G4double  Point[4],
G4double  Field[] 
) const

Referenced by EvaluateRhsReturnB(), and G4NystromRK4::getField().

+ Here is the caller graph for this function:

void G4EquationOfMotion::RightHandSide ( const G4double  y[],
G4double  dydx[] 
) const
inline
virtual void G4EquationOfMotion::SetChargeMomentumMass ( G4ChargeState  particleCharge,
G4double  MomentumXc,
G4double  MassXc2 
)
pure virtual
void G4EquationOfMotion::SetFieldObj ( G4Field pField)

Referenced by F03FieldSetup::SetFieldValue(), F02ElectricFieldSetup::SetFieldValue(), and F01FieldSetup::SetFieldValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4Field* G4EquationOfMotion::itsField
private

Definition at line 98 of file G4EquationOfMotion.hh.


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