|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4DoLoMcPriRK34 implements the Dormand-Lockyer-McGorrigan-Prince-6-3-4 non-FSAL method ( 6 stage, 3rd & 4th order embedded Runge-Kutta method ). More...
#include <G4DoLoMcPriRK34.hh>
Additional Inherited Members | |
| Protected Member Functions inherited from G4MagIntegratorStepper | |
| void | SetIntegrationOrder (G4int order) |
| void | SetFSAL (G4bool flag=true) |
G4DoLoMcPriRK34 implements the Dormand-Lockyer-McGorrigan-Prince-6-3-4 non-FSAL method ( 6 stage, 3rd & 4th order embedded Runge-Kutta method ).
Definition at line 46 of file G4DoLoMcPriRK34.hh.
| G4DoLoMcPriRK34::G4DoLoMcPriRK34 | ( | G4EquationOfMotion * | EqRhs, |
| G4int | numberOfVariables = 6, | ||
| G4bool | primary = true ) |
Constructor for G4DoLoMcPriRK34.
| [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 37 of file G4DoLoMcPriRK34.cc.
Referenced by G4DoLoMcPriRK34(), G4DoLoMcPriRK34(), and operator=().
|
override |
Destructor.
Definition at line 71 of file G4DoLoMcPriRK34.cc.
|
delete |
Copy constructor and assignment operator not allowed.
|
overridevirtual |
Returns the distance from chord line.
Implements G4MagIntegratorStepper.
Definition at line 201 of file G4DoLoMcPriRK34.cc.
|
inlineoverridevirtual |
Returns the order, 3, of integration.
Implements G4MagIntegratorStepper.
Definition at line 117 of file G4DoLoMcPriRK34.hh.
| void G4DoLoMcPriRK34::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. |
| [out] | tau | Fraction of step. |
Definition at line 244 of file G4DoLoMcPriRK34.cc.
Referenced by Interpolate().
Definition at line 236 of file G4DoLoMcPriRK34.cc.
|
delete |
|
inline |
Interface method for interpolation setup. Does nothing here.
Definition at line 91 of file G4DoLoMcPriRK34.hh.
|
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 98 of file G4DoLoMcPriRK34.cc.
|
inlineoverridevirtual |
Returns the stepper type-ID, "kDoLoMcPriRK34".
Reimplemented from G4MagIntegratorStepper.
Definition at line 123 of file G4DoLoMcPriRK34.hh.