|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4DormandPrince745 implements the 5th order embedded Runge-Kutta method, non-FSAL definition of the stepper() method that evaluates one step in field propagation. More...
#include <G4DormandPrince745.hh>
Additional Inherited Members | |
| Protected Member Functions inherited from G4MagIntegratorStepper | |
| void | SetIntegrationOrder (G4int order) |
| void | SetFSAL (G4bool flag=true) |
G4DormandPrince745 implements the 5th order embedded Runge-Kutta method, non-FSAL definition of the stepper() method that evaluates one step in field propagation.
Definition at line 51 of file G4DormandPrince745.hh.
| G4DormandPrince745::G4DormandPrince745 | ( | G4EquationOfMotion * | equation, |
| G4int | numberOfVariables = 6 ) |
Constructor for G4DormandPrince745.
| [in] | equation | Pointer to the provided equation of motion. |
| [in] | numberOfVariables | The number of integration variables. |
Definition at line 75 of file G4DormandPrince745.cc.
Referenced by G4DormandPrince745(), and operator=().
|
overridedefault |
Default Destructor.
|
delete |
Copy constructor and assignment operator not allowed.
|
overridevirtual |
Returns the distance from chord line.
Implements G4MagIntegratorStepper.
Definition at line 214 of file G4DormandPrince745.cc.
|
inline |
Returns a pointer to the equation of motion.
Definition at line 167 of file G4DormandPrince745.hh.
|
inline |
Returns the field state in output.
Definition at line 162 of file G4DormandPrince745.hh.
|
inlineoverridevirtual |
Returns the order, 4, of integration.
Implements G4MagIntegratorStepper.
Definition at line 146 of file G4DormandPrince745.hh.
Wrapper for Interpolate4thOrder() function above.
Definition at line 122 of file G4DormandPrince745.hh.
Calculates the output at the tau fraction of Step. Lower (4th) order interpolant given by Dormand and Prince.
Definition at line 246 of file G4DormandPrince745.cc.
Referenced by Interpolate().
Calculates the interpolated result 'yOut' with the coefficients. Interpolant of 5th order given by Baker, Dormand, Gilmore and Prince.
Definition at line 342 of file G4DormandPrince745.cc.
|
delete |
|
inline |
Interface method for interpolation setup. Does nothing here.
Definition at line 111 of file G4DormandPrince745.hh.
| void G4DormandPrince745::SetupInterpolation5thOrder | ( | ) |
Sets up the extra stages for the 5th order interpolant.
Definition at line 293 of file G4DormandPrince745.cc.
|
overridevirtual |
The stepper for the Runge Kutta integration. The stepsize is fixed, with the step size given by 'hstep'. Integrates ODE starting values yInput[0 to 6]. Outputs yOutput[] and its estimated error yError[].
| [in] | yInput | Starting values array of integration variables. |
| [in] | dydx | Derivatives array. |
| [in] | hstep | The given step size. |
| [out] | yOutput | Integration output. |
| [out] | yError | The estimated error. |
Implements G4MagIntegratorStepper.
Definition at line 97 of file G4DormandPrince745.cc.
Referenced by Stepper().
| void G4DormandPrince745::Stepper | ( | const G4double | yInput[], |
| const G4double | dydx[], | ||
| G4double | hstep, | ||
| G4double | yOutput[], | ||
| G4double | yError[], | ||
| G4double | dydxOutput[] ) |
Same as the Stepper() function above, with dydx also in ouput.
| [in] | yInput | Starting values array of integration variables. |
| [in] | dydx | Derivatives array. |
| [in] | hstep | The given step size. |
| [out] | yOutput | Integration output. |
| [out] | yError | The estimated error. |
| [out] | dydxOutput | dysx in output. |
Definition at line 81 of file G4DormandPrince745.cc.
| const G4String & G4DormandPrince745::StepperDescription | ( | ) | const |
Definition at line 68 of file G4DormandPrince745.cc.
|
inlineoverridevirtual |
Returns the stepper type-ID, "kDormandPrince745".
Reimplemented from G4MagIntegratorStepper.
Definition at line 151 of file G4DormandPrince745.hh.
| const G4String & G4DormandPrince745::StepperTypeName | ( | ) | const |
Methods to return the stepper name and description.
Definition at line 61 of file G4DormandPrince745.cc.