|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4BogackiShampine45 is an integrator of particle's equation of motion based on the Bogacki-Shampine method with FSAL property, allowing the reuse of the last derivative in the next step. This Stepper provides 'dense output'. After a successful step, it is possible to obtain an estimate of the value of the function at an intermediate point of the interval. This requires only two additional evaluations of the derivative (and thus the field). More...
#include <G4BogackiShampine45.hh>
Additional Inherited Members | |
| Protected Member Functions inherited from G4MagIntegratorStepper | |
| void | SetIntegrationOrder (G4int order) |
| void | SetFSAL (G4bool flag=true) |
G4BogackiShampine45 is an integrator of particle's equation of motion based on the Bogacki-Shampine method with FSAL property, allowing the reuse of the last derivative in the next step. This Stepper provides 'dense output'. After a successful step, it is possible to obtain an estimate of the value of the function at an intermediate point of the interval. This requires only two additional evaluations of the derivative (and thus the field).
Definition at line 61 of file G4BogackiShampine45.hh.
| G4BogackiShampine45::G4BogackiShampine45 | ( | G4EquationOfMotion * | EqRhs, |
| G4int | numberOfVariables = 6, | ||
| G4bool | primary = true ) |
Constructor for G4BogackiShampine45.
| [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 70 of file G4BogackiShampine45.cc.
Referenced by DistChord(), G4BogackiShampine45(), G4BogackiShampine45(), and operator=().
|
override |
Destructor.
Definition at line 124 of file G4BogackiShampine45.cc.
|
delete |
Copy constructor and assignment operator not allowed.
|
overridevirtual |
Returns the distance from chord line.
Implements G4MagIntegratorStepper.
Definition at line 310 of file G4BogackiShampine45.cc.
| void G4BogackiShampine45::GetLastDydx | ( | G4double | dyDxLast[] | ) |
Acccessor for dydx array.
Definition at line 156 of file G4BogackiShampine45.cc.
|
inlineoverridevirtual |
Returns the order, 4, of integration.
Implements G4MagIntegratorStepper.
Definition at line 126 of file G4BogackiShampine45.hh.
Definition at line 115 of file G4BogackiShampine45.hh.
Calculates the output at the tau fraction of step.
| [in] | tau | The tau fraction of the step. |
| [out] | yOut | Interpolation output. |
Definition at line 563 of file G4BogackiShampine45.cc.
Referenced by DistChord(), and Interpolate().
|
delete |
| void G4BogackiShampine45::PrepareConstants | ( | ) |
Initialises the values of the bi[][] array.
Definition at line 487 of file G4BogackiShampine45.cc.
Referenced by G4BogackiShampine45().
|
inline |
Definition at line 107 of file G4BogackiShampine45.hh.
| void G4BogackiShampine45::SetupInterpolationHigh | ( | ) |
Setup all coefficients for interpolation.
Definition at line 362 of file G4BogackiShampine45.cc.
Referenced by DistChord(), and SetupInterpolation().
|
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 171 of file G4BogackiShampine45.cc.
|
inlineoverridevirtual |
Returns the stepper type-ID, "kBogackiShampine45".
Reimplemented from G4MagIntegratorStepper.
Definition at line 131 of file G4BogackiShampine45.hh.