|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4TsitourasRK45 is an implementation of the 5(4) Runge-Kutta stepper (non-FSAL version). More...
#include <G4TsitourasRK45.hh>
Additional Inherited Members | |
| Protected Member Functions inherited from G4MagIntegratorStepper | |
| void | SetIntegrationOrder (G4int order) |
| void | SetFSAL (G4bool flag=true) |
G4TsitourasRK45 is an implementation of the 5(4) Runge-Kutta stepper (non-FSAL version).
Definition at line 50 of file G4TsitourasRK45.hh.
| G4TsitourasRK45::G4TsitourasRK45 | ( | G4EquationOfMotion * | EqRhs, |
| G4int | numberOfVariables = 6, | ||
| G4bool | primary = true ) |
Constructor for G4TsitourasRK45.
| [in] | EqRhs | Pointer to the provided equation of motion. |
| [in] | numberOfVariables | The number of integration variables. |
| [in] | primary | Flag for initialisation of the auxiliary stepper. |
Definition at line 39 of file G4TsitourasRK45.cc.
Referenced by G4TsitourasRK45(), G4TsitourasRK45(), and operator=().
|
override |
Destructor.
Definition at line 81 of file G4TsitourasRK45.cc.
|
delete |
Copy constructor and assignment operator not allowed.
|
overridevirtual |
Returns the distance from chord line.
Implements G4MagIntegratorStepper.
Definition at line 296 of file G4TsitourasRK45.cc.
|
inlineoverridevirtual |
Returns the order, 4, of integration.
Implements G4MagIntegratorStepper.
Definition at line 125 of file G4TsitourasRK45.hh.
| void G4TsitourasRK45::Interpolate | ( | const G4double | yInput[], |
| const G4double | dydx[], | ||
| const G4double | Step, | ||
| G4double | yOut[], | ||
| G4double | tau ) |
Calculates the output at the tau fraction of step.
| [in] | yInput | Starting values array of integration variables. |
| [in] | dydx | Derivatives array. |
| [in] | Step | The given step size. |
| [out] | yOut | Interpolation output. |
| [in] | tau | The tau fraction of the step. |
Definition at line 249 of file G4TsitourasRK45.cc.
| void G4TsitourasRK45::interpolate | ( | const G4double | yInput[], |
| const G4double | dydx[], | ||
| G4double | yOut[], | ||
| G4double | Step, | ||
| G4double | tau ) |
|
delete |
| void G4TsitourasRK45::SetupInterpolation | ( | ) |
Setup all coefficients for interpolation.
Definition at line 243 of file G4TsitourasRK45.cc.
|
overridevirtual |
The stepper for the Runge Kutta integration. The stepsize is fixed, with the step size given by 'h'. Integrates ODE starting values y[0 to 6]. Outputs yout[] and its estimated error yerr[].
| [in] | y | Starting values array of integration variables. |
| [in] | dydx | Derivatives array. |
| [in] | h | The given step size. |
| [out] | yout | Integration output. |
| [out] | yerr | The estimated error. |
Implements G4MagIntegratorStepper.
Definition at line 116 of file G4TsitourasRK45.cc.
|
inlineoverridevirtual |
Returns the stepper type-ID, "kTsitourasRK45".
Reimplemented from G4MagIntegratorStepper.
Definition at line 130 of file G4TsitourasRK45.hh.