|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4FSALDormandPrince745 is an integrator of particle's equation of motion based on the DormandPrince7 - 5(4) FSAL implementation. More...
#include <G4FSALDormandPrince745.hh>
G4FSALDormandPrince745 is an integrator of particle's equation of motion based on the DormandPrince7 - 5(4) FSAL implementation.
Definition at line 45 of file G4FSALDormandPrince745.hh.
| G4FSALDormandPrince745::G4FSALDormandPrince745 | ( | G4EquationOfMotion * | EqRhs, |
| G4int | numberOfVariables = 6, | ||
| G4bool | primary = true ) |
Constructor for G4FSALDormandPrince745.
| [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 51 of file G4FSALDormandPrince745.cc.
Referenced by G4FSALDormandPrince745(), G4FSALDormandPrince745(), and operator=().
|
override |
Destructor.
Definition at line 95 of file G4FSALDormandPrince745.cc.
|
delete |
Copy constructor and assignment operator not allowed.
|
overridevirtual |
Returns the distance from chord line.
Implements G4VFSALIntegrationStepper.
Definition at line 243 of file G4FSALDormandPrince745.cc.
|
inlineoverridevirtual |
Returns the order, 4, of integration.
Implements G4VFSALIntegrationStepper.
Definition at line 131 of file G4FSALDormandPrince745.hh.
| void G4FSALDormandPrince745::Interpolate | ( | const G4double | yInput[], |
| const G4double | dydx[], | ||
| const G4double | Step, | ||
| G4double | yOut[], | ||
| G4double | tau ) |
Calculates the output at the tau fraction of step. Same as above for higher order interpolant.
Definition at line 384 of file G4FSALDormandPrince745.cc.
| void G4FSALDormandPrince745::interpolate | ( | const G4double | yInput[], |
| const G4double | dydx[], | ||
| G4double | yOut[], | ||
| G4double | Step, | ||
| G4double | tau ) |
Calculates the output at the tau fraction of step.
| [in] | yInput | Starting values array of integration variables. |
| [in] | dydx | Derivatives array. |
| [out] | yOut | Interpolation output. |
| [in] | Step | The given step size. |
| [in] | tau | The tau fraction of the step. |
Definition at line 280 of file G4FSALDormandPrince745.cc.
|
inline |
Returns true as this is a FSAL integrator.
Definition at line 136 of file G4FSALDormandPrince745.hh.
|
delete |
| void G4FSALDormandPrince745::SetupInterpolate | ( | const G4double | yInput[], |
| const G4double | dydx[], | ||
| const G4double | Step ) |
Setup method for higher order interpolant.
| [in] | yInput | Starting values array of integration variables. |
| [in] | dydx | Derivatives array. |
| [in] | Step | The given step size. |
Definition at line 329 of file G4FSALDormandPrince745.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. |
| [out] | nextDydx | Last derivatives array for the next step. |
Implements G4VFSALIntegrationStepper.
Definition at line 128 of file G4FSALDormandPrince745.cc.