Geant4  10.02.p03
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)
 
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
 
G4EquationOfMotionGetEquationOfMotion ()
 
void SetEquationOfMotion (G4EquationOfMotion *newEquation)
 

Private Member Functions

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

Private Attributes

G4EquationOfMotionfEquation_Rhs
 
const G4int fNoIntegrationVariables
 
const G4int fNoStateVariables
 

Detailed Description

Definition at line 52 of file G4MagIntegratorStepper.hh.

Constructor & Destructor Documentation

◆ G4MagIntegratorStepper() [1/2]

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

Definition at line 36 of file G4MagIntegratorStepper.cc.

39  : fEquation_Rhs(Equation),
40  fNoIntegrationVariables(num_integration_vars),
41  fNoStateVariables(num_state_vars)
42  // fNumberOfVariables( std::max(num_var,fNoStateVariables) )
43 {
44 }
G4EquationOfMotion * fEquation_Rhs

◆ ~G4MagIntegratorStepper()

G4MagIntegratorStepper::~G4MagIntegratorStepper ( )
virtual

Definition at line 46 of file G4MagIntegratorStepper.cc.

47 {
48 }

◆ G4MagIntegratorStepper() [2/2]

G4MagIntegratorStepper::G4MagIntegratorStepper ( const G4MagIntegratorStepper )
private

Member Function Documentation

◆ ComputeRightHandSide()

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

Reimplemented in G4NystromRK4.

Definition at line 50 of file G4MagIntegratorStepper.cc.

51 {
52  this->RightHandSide( y, dydx );
53 }
Double_t y
void RightHandSide(const double y[], double dydx[])
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DistChord()

virtual G4double G4MagIntegratorStepper::DistChord ( ) const
pure virtual

◆ GetEquationOfMotion()

G4EquationOfMotion* G4MagIntegratorStepper::GetEquationOfMotion ( )
inline
Here is the caller graph for this function:

◆ GetNumberOfStateVariables()

G4int G4MagIntegratorStepper::GetNumberOfStateVariables ( ) const
inline
Here is the caller graph for this function:

◆ GetNumberOfVariables()

G4int G4MagIntegratorStepper::GetNumberOfVariables ( ) const
inline
Here is the caller graph for this function:

◆ IntegratorOrder()

virtual G4int G4MagIntegratorStepper::IntegratorOrder ( ) const
pure virtual

Implemented in G4HelixMixedStepper, G4RKG3_Stepper, G4ConstRK4, G4ExactHelixStepper, G4HelixExplicitEuler, G4ClassicalRK4, G4NystromRK4, G4CashKarpRKF45, G4HelixImplicitEuler, G4SimpleRunge, G4HelixHeum, G4SimpleHeum, G4ImplicitEuler, G4HelixSimpleRunge, and G4ExplicitEuler.

Here is the caller graph for this function:

◆ NormalisePolarizationVector()

void G4MagIntegratorStepper::NormalisePolarizationVector ( G4double  vec[12])
inline
Here is the caller graph for this function:

◆ NormaliseTangentVector()

void G4MagIntegratorStepper::NormaliseTangentVector ( G4double  vec[6])
inline

◆ operator=()

G4MagIntegratorStepper& G4MagIntegratorStepper::operator= ( const G4MagIntegratorStepper )
private

◆ RightHandSide()

void G4MagIntegratorStepper::RightHandSide ( const double  y[],
double  dydx[] 
)
inline
Here is the caller graph for this function:

◆ SetEquationOfMotion()

void G4MagIntegratorStepper::SetEquationOfMotion ( G4EquationOfMotion newEquation)
inline
Here is the caller graph for this function:

◆ Stepper()

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

Implemented in G4HelixMixedStepper, G4MagHelicalStepper, G4RKG3_Stepper, G4CashKarpRKF45, G4NystromRK4, G4ConstRK4, G4ExactHelixStepper, and G4MagErrorStepper.

Here is the caller graph for this function:

Member Data Documentation

◆ fEquation_Rhs

G4EquationOfMotion* G4MagIntegratorStepper::fEquation_Rhs
private

Definition at line 116 of file G4MagIntegratorStepper.hh.

◆ fNoIntegrationVariables

const G4int G4MagIntegratorStepper::fNoIntegrationVariables
private

Definition at line 117 of file G4MagIntegratorStepper.hh.

◆ fNoStateVariables

const G4int G4MagIntegratorStepper::fNoStateVariables
private

Definition at line 118 of file G4MagIntegratorStepper.hh.


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