|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4ExactHelixStepper is a concrete class for particle motion in constant magnetic field. Helix a-la-Explicity Euler: x_1 = x_0 + helix(h) with helix(h) being a helix piece of length h. As the field is assumed constant, an error is not calculated. More...
#include <G4ExactHelixStepper.hh>
Additional Inherited Members | |
| Protected Member Functions inherited from G4MagHelicalStepper | |
| void | LinearStep (const G4double yIn[], G4double h, G4double yHelix[]) const |
| void | AdvanceHelix (const G4double yIn[], const G4ThreeVector &Bfld, G4double h, G4double yHelix[], G4double yHelix2[]=nullptr) |
| void | MagFieldEvaluate (const G4double y[], G4ThreeVector &Bfield) |
| G4double | GetInverseCurve (const G4double Momentum, const G4double Bmag) |
| void | SetAngCurve (const G4double Ang) |
| G4double | GetAngCurve () const |
| void | SetCurve (const G4double Curve) |
| G4double | GetCurve () const |
| void | SetRadHelix (const G4double Rad) |
| G4double | GetRadHelix () const |
| Protected Member Functions inherited from G4MagIntegratorStepper | |
| void | SetIntegrationOrder (G4int order) |
| void | SetFSAL (G4bool flag=true) |
G4ExactHelixStepper is a concrete class for particle motion in constant magnetic field. Helix a-la-Explicity Euler: x_1 = x_0 + helix(h) with helix(h) being a helix piece of length h. As the field is assumed constant, an error is not calculated.
Definition at line 58 of file G4ExactHelixStepper.hh.
| G4ExactHelixStepper::G4ExactHelixStepper | ( | G4Mag_EqRhs * | EqRhs | ) |
Constructor for G4ExactHelixStepper.
| [in] | EqRhs | Pointer to the standard equation of motion. |
Definition at line 37 of file G4ExactHelixStepper.cc.
Referenced by G4ExactHelixStepper(), and operator=().
|
overridedefault |
Default Destructor.
|
delete |
Copy constructor and assignment operator not allowed.
|
overridevirtual |
Estimates the maximum distance of curved solution and chord.
Implements G4MagIntegratorStepper.
Definition at line 91 of file G4ExactHelixStepper.cc.
|
overridevirtual |
Same as Stepper() function above, but should perform a 'dump' step without error calculation. Assuming a constant field, the solution is a helix. Should NOT be called; issues a fatal exception as the Stepper must do all the work.
Implements G4MagHelicalStepper.
Definition at line 73 of file G4ExactHelixStepper.cc.
|
inlineoverridevirtual |
Returns the order, 1, of integration.
Implements G4MagIntegratorStepper.
Definition at line 115 of file G4ExactHelixStepper.hh.
|
delete |
|
overridevirtual |
The stepper for the Runge Kutta integration. The stepsize is fixed, with the step size given by 'h'. Provides helix starting values y[0 to 6]. Outputs yout[] and ZERO estimated error yerr[]=0.
| [in] | yInput | 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 46 of file G4ExactHelixStepper.cc.
|
inlineoverridevirtual |
Returns the stepper type-ID, "kExactHelixStepper".
Reimplemented from G4MagIntegratorStepper.
Definition at line 120 of file G4ExactHelixStepper.hh.