Geant4  10.03
G4MagIntegratorStepper Class Referenceabstract

#include <G4MagIntegratorStepper.hh>

+ Inheritance diagram for G4MagIntegratorStepper:
+ Collaboration diagram for G4MagIntegratorStepper:

Public Member Functions

 G4MagIntegratorStepper (G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12, bool isFSAL=false)
 
virtual ~G4MagIntegratorStepper ()
 
virtual void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[])=0
 
virtual G4double DistChord () const =0
 
virtual void ComputeRightHandSide (const G4double y[], G4double dydx[])
 
void NormaliseTangentVector (G4double vec[6])
 
void NormalisePolarizationVector (G4double vec[12])
 
void RightHandSide (const double y[], double dydx[])
 
G4int GetNumberOfVariables () const
 
G4int GetNumberOfStateVariables () const
 
virtual G4int IntegratorOrder () const =0
 
G4int IntegrationOrder ()
 
G4EquationOfMotionGetEquationOfMotion ()
 
void SetEquationOfMotion (G4EquationOfMotion *newEquation)
 
unsigned long GetfNoRHSCalls ()
 
void ResetfNORHSCalls ()
 
bool IsFSAL ()
 

Protected Member Functions

void SetIntegrationOrder (int order)
 
void SetFSAL (bool flag=true)
 

Private Member Functions

 G4MagIntegratorStepper (const G4MagIntegratorStepper &)
 
G4MagIntegratorStepperoperator= (const G4MagIntegratorStepper &)
 

Private Attributes

G4EquationOfMotionfEquation_Rhs
 
const G4int fNoIntegrationVariables
 
const G4int fNoStateVariables
 
unsigned long fNoRHSCalls
 
int fIntegrationOrder
 
bool fIsFSAL
 

Detailed Description

Definition at line 52 of file G4MagIntegratorStepper.hh.

Constructor & Destructor Documentation

G4MagIntegratorStepper::G4MagIntegratorStepper ( G4EquationOfMotion Equation,
G4int  numIntegrationVariables,
G4int  numStateVariables = 12,
bool  isFSAL = false 
)

Definition at line 36 of file G4MagIntegratorStepper.cc.

G4MagIntegratorStepper::~G4MagIntegratorStepper ( )
virtual

Definition at line 50 of file G4MagIntegratorStepper.cc.

G4MagIntegratorStepper::G4MagIntegratorStepper ( const G4MagIntegratorStepper )
private

Member Function Documentation

void G4MagIntegratorStepper::ComputeRightHandSide ( const G4double  y[],
G4double  dydx[] 
)
virtual

Reimplemented in G4NystromRK4.

Definition at line 54 of file G4MagIntegratorStepper.cc.

References RightHandSide().

Referenced by G4MagInt_Driver::AccurateAdvance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4EquationOfMotion* G4MagIntegratorStepper::GetEquationOfMotion ( )
inline

Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4ErrorPropagatorManager::InitFieldForBackwards(), G4RKG3_Stepper::StepNoErr(), and G4RKG3_Stepper::Stepper().

+ Here is the caller graph for this function:

unsigned long G4MagIntegratorStepper::GetfNoRHSCalls ( )
inline

Definition at line 111 of file G4MagIntegratorStepper.hh.

References fNoRHSCalls.

G4int G4MagIntegratorStepper::GetNumberOfStateVariables ( ) const
inline
G4int G4MagIntegratorStepper::IntegrationOrder ( )
inline

Definition at line 103 of file G4MagIntegratorStepper.hh.

References fIntegrationOrder.

virtual G4int G4MagIntegratorStepper::IntegratorOrder ( ) const
pure virtual
bool G4MagIntegratorStepper::IsFSAL ( )
inline

Definition at line 116 of file G4MagIntegratorStepper.hh.

References fIsFSAL.

void G4MagIntegratorStepper::NormalisePolarizationVector ( G4double  vec[12])
inline

Referenced by G4ClassicalRK4::DumbStepper(), and G4SimpleHeum::DumbStepper().

+ Here is the caller graph for this function:

void G4MagIntegratorStepper::NormaliseTangentVector ( G4double  vec[6])
inline
G4MagIntegratorStepper& G4MagIntegratorStepper::operator= ( const G4MagIntegratorStepper )
private
void G4MagIntegratorStepper::ResetfNORHSCalls ( )
inline

Definition at line 113 of file G4MagIntegratorStepper.hh.

References fNoRHSCalls.

void G4MagIntegratorStepper::SetEquationOfMotion ( G4EquationOfMotion newEquation)
inline

Referenced by G4ErrorPropagatorManager::InitFieldForBackwards().

+ Here is the caller graph for this function:

void G4MagIntegratorStepper::SetFSAL ( bool  flag = true)
inlineprotected

Definition at line 120 of file G4MagIntegratorStepper.hh.

References fIsFSAL.

void G4MagIntegratorStepper::SetIntegrationOrder ( int  order)
inlineprotected

Definition at line 119 of file G4MagIntegratorStepper.hh.

References fIntegrationOrder.

virtual void G4MagIntegratorStepper::Stepper ( const G4double  y[],
const G4double  dydx[],
G4double  h,
G4double  yout[],
G4double  yerr[] 
)
pure virtual

Implemented in G4HelixMixedStepper, G4MagHelicalStepper, G4DoLoMcPriRK34, G4DormandPrinceRK56, G4BogackiShampine23, G4RKG3_Stepper, G4CashKarpRKF45, G4DormandPrince745, G4BogackiShampine45, G4NystromRK4, G4ConstRK4, G4ExactHelixStepper, G4MagErrorStepper, G4TsitourasRK45, and G4DormandPrinceRK78.

Referenced by G4HelixMixedStepper::Stepper().

+ Here is the caller graph for this function:

Member Data Documentation

G4EquationOfMotion* G4MagIntegratorStepper::fEquation_Rhs
private

Definition at line 130 of file G4MagIntegratorStepper.hh.

int G4MagIntegratorStepper::fIntegrationOrder
private

Definition at line 140 of file G4MagIntegratorStepper.hh.

Referenced by IntegrationOrder(), and SetIntegrationOrder().

bool G4MagIntegratorStepper::fIsFSAL
private

Definition at line 141 of file G4MagIntegratorStepper.hh.

Referenced by IsFSAL(), and SetFSAL().

const G4int G4MagIntegratorStepper::fNoIntegrationVariables
private

Definition at line 131 of file G4MagIntegratorStepper.hh.

unsigned long G4MagIntegratorStepper::fNoRHSCalls
mutableprivate

Definition at line 136 of file G4MagIntegratorStepper.hh.

Referenced by GetfNoRHSCalls(), and ResetfNORHSCalls().

const G4int G4MagIntegratorStepper::fNoStateVariables
private

Definition at line 132 of file G4MagIntegratorStepper.hh.


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