Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4MagIntegratorStepper Class Referenceabstract

#include <G4MagIntegratorStepper.hh>

+ Inheritance 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)
 

Detailed Description

Definition at line 52 of file G4MagIntegratorStepper.hh.

Constructor & Destructor Documentation

◆ G4MagIntegratorStepper()

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}

◆ ~G4MagIntegratorStepper()

G4MagIntegratorStepper::~G4MagIntegratorStepper ( )
virtual

Definition at line 46 of file G4MagIntegratorStepper.cc.

47{
48}

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}
void RightHandSide(const double y[], double dydx[])

Referenced by G4MagInt_Driver::AccurateAdvance().

◆ DistChord()

virtual G4double G4MagIntegratorStepper::DistChord ( ) const
pure virtual

◆ GetEquationOfMotion()

G4EquationOfMotion * G4MagIntegratorStepper::GetEquationOfMotion ( )
inline

◆ GetNumberOfStateVariables()

G4int G4MagIntegratorStepper::GetNumberOfStateVariables ( ) const
inline

◆ GetNumberOfVariables()

◆ IntegratorOrder()

◆ NormalisePolarizationVector()

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

◆ NormaliseTangentVector()

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

◆ RightHandSide()

◆ SetEquationOfMotion()

void G4MagIntegratorStepper::SetEquationOfMotion ( G4EquationOfMotion newEquation)
inline

◆ Stepper()

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

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