18#include "BDSIntegratorG4RK4MinStep.hh"
19#include "BDSUtilities.hh"
21#include "G4ClassicalRK4.hh"
22#include "G4Mag_EqRhs.hh"
23#include "G4MagIntegratorStepper.hh"
26 G4double minimumStepSizeIn):
28 g4integrator(new G4ClassicalRK4(eqOfMIn, 6)),
29 minimumStepSize(minimumStepSizeIn)
32BDSIntegratorG4RK4MinStep::~BDSIntegratorG4RK4MinStep()
38 const G4double dydx[],
44 const G4double fcof =
eqOfM->FCof();
53 g4integrator->Stepper(yIn, dydx, h, yOut, yErr);
void AdvanceDriftMag(const G4double yIn[], const G4double h, G4double yOut[], G4double yErr[]) const
Error array [6] all 0.
virtual void Stepper(const G4double y[], const G4double dydx[], const G4double h, G4double yOut[], G4double yErr[])
BDSIntegratorG4RK4MinStep()
Private default constructor to enforce use of supplied constructor.
Common functionality to BDSIM integrators.
void SetDistChord(G4double distChordIn)
Setter for distChord to private member.
G4bool IsFiniteStrength(G4double variable)