Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VFSALIntegrationStepper Class Referenceabstract

#include <G4VFSALIntegrationStepper.hh>

Inheritance diagram for G4VFSALIntegrationStepper:

Public Member Functions

 G4VFSALIntegrationStepper (G4EquationOfMotion *Equation, G4int numIntegrationVariables, G4int numStateVariables=12)
 
virtual ~G4VFSALIntegrationStepper ()
 
virtual void Stepper (const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[], G4double lastDydx[])=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)
 
G4int GetfNoRHSCalls ()
 
void increasefNORHSCalls ()
 
void ResetfNORHSCalls ()
 

Detailed Description

Definition at line 52 of file G4VFSALIntegrationStepper.hh.

Constructor & Destructor Documentation

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

Definition at line 33 of file G4VFSALIntegrationStepper.cc.

36  : fEquation_Rhs(Equation),
37  fNoIntegrationVariables(num_integration_vars),
38  fNoStateVariables(num_state_vars)
39  // fNumberOfVariables( std::max(num_var,fNoStateVariables) )
40 {
41 }
G4VFSALIntegrationStepper::~G4VFSALIntegrationStepper ( )
virtual

Definition at line 43 of file G4VFSALIntegrationStepper.cc.

44 {
45 }

Member Function Documentation

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

Definition at line 47 of file G4VFSALIntegrationStepper.cc.

48 {
49  this->RightHandSide( y, dydx );
50 // fEquation_Rhs->RightHandSide(y, dydx);
51 // increasefNORHSCalls();
52 }
void RightHandSide(const double y[], double dydx[])

Here is the call graph for this function:

Here is the caller graph for this function:

virtual G4double G4VFSALIntegrationStepper::DistChord ( ) const
pure virtual
G4EquationOfMotion* G4VFSALIntegrationStepper::GetEquationOfMotion ( )
inline
G4int G4VFSALIntegrationStepper::GetfNoRHSCalls ( )
inline

Definition at line 116 of file G4VFSALIntegrationStepper.hh.

116  {
117  return fNoRHSCalls;
118  }
G4int G4VFSALIntegrationStepper::GetNumberOfStateVariables ( ) const
inline

Here is the caller graph for this function:

G4int G4VFSALIntegrationStepper::GetNumberOfVariables ( ) const
inline

Here is the caller graph for this function:

void G4VFSALIntegrationStepper::increasefNORHSCalls ( )

Definition at line 54 of file G4VFSALIntegrationStepper.cc.

54  {
55  // std::cout<<"Yeah, I was called!";
56  fNoRHSCalls++;
57 }

Here is the caller graph for this function:

virtual G4int G4VFSALIntegrationStepper::IntegratorOrder ( ) const
pure virtual

Implemented in G4FSALDormandPrince745, and G4FSALBogackiShampine45.

Here is the caller graph for this function:

void G4VFSALIntegrationStepper::NormalisePolarizationVector ( G4double  vec[12])
inline
void G4VFSALIntegrationStepper::NormaliseTangentVector ( G4double  vec[6])
inline
void G4VFSALIntegrationStepper::ResetfNORHSCalls ( )
inline

Definition at line 121 of file G4VFSALIntegrationStepper.hh.

121  {
122  fNoRHSCalls = 0;
123  }
void G4VFSALIntegrationStepper::RightHandSide ( const double  y[],
double  dydx[] 
)

Definition at line 60 of file G4VFSALIntegrationStepper.cc.

61 {
62  fEquation_Rhs-> RightHandSide(y, dydx);
64 }
void RightHandSide(const double y[], double dydx[])

Here is the call graph for this function:

Here is the caller graph for this function:

void G4VFSALIntegrationStepper::SetEquationOfMotion ( G4EquationOfMotion newEquation)
inline
virtual void G4VFSALIntegrationStepper::Stepper ( const G4double  y[],
const G4double  dydx[],
G4double  h,
G4double  yout[],
G4double  yerr[],
G4double  lastDydx[] 
)
pure virtual

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