|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4RKG3_Stepper implements a Runga-Kutta integrator stepper used in Geant-3. More...
#include <G4RKG3_Stepper.hh>
Additional Inherited Members | |
| Protected Member Functions inherited from G4MagIntegratorStepper | |
| void | SetIntegrationOrder (G4int order) |
| void | SetFSAL (G4bool flag=true) |
G4RKG3_Stepper implements a Runga-Kutta integrator stepper used in Geant-3.
Definition at line 48 of file G4RKG3_Stepper.hh.
| G4RKG3_Stepper::G4RKG3_Stepper | ( | G4Mag_EqRhs * | EqRhs | ) |
Constructor for G4RKG3_Stepper.
| [in] | EqRhs | Pointer to the provided equation of motion. |
Definition at line 35 of file G4RKG3_Stepper.cc.
Referenced by G4RKG3_Stepper(), 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 192 of file G4RKG3_Stepper.cc.
|
inlineoverridevirtual |
Returns the order, 4, of integration.
Implements G4MagIntegratorStepper.
Definition at line 123 of file G4RKG3_Stepper.hh.
|
delete |
| void G4RKG3_Stepper::StepNoErr | ( | const G4double | tIn[8], |
| const G4double | dydx[6], | ||
| G4double | Step, | ||
| G4double | tOut[8], | ||
| G4double | B[3] ) |
Integrator of Runge-Kutta Stepper from Geant-3 with only two field evaluation per Step. It is used in propagating the initial Step by small substeps after solution error and delta geometry considerations. B[3] is magnetic field which is passed from substep to substep.
Definition at line 126 of file G4RKG3_Stepper.cc.
Referenced by Stepper().
|
overridevirtual |
The stepper for the Runge Kutta integration. Method provided, even if less efficient. The stepsize is fixed, with the step size given by 'h'. Integrates ODE starting values yInput[0 to 6]. Outputs yOut[] and its estimated error yErr[].
| [in] | yIn | 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 40 of file G4RKG3_Stepper.cc.
|
inlineoverridevirtual |
Returns the stepper type-ID, "kRKG3Stepper".
Reimplemented from G4MagIntegratorStepper.
Definition at line 128 of file G4RKG3_Stepper.hh.
| void G4RKG3_Stepper::StepWithEst | ( | const G4double | tIn[8], |
| const G4double | dydx[6], | ||
| G4double | Step, | ||
| G4double | tOut[8], | ||
| G4double & | alpha2, | ||
| G4double & | beta2, | ||
| const G4double | B1[3], | ||
| G4double | B2[3] ) |
Integrator for Runge-Kutta from Geant-3 with evaluation of error in solution and delta geometry based on naive similarity with the case of uniform magnetic field. B1[3] is in input and is the first magnetic field values B2[3] is the output and is the final magnetic field values.
Definition at line 105 of file G4RKG3_Stepper.cc.