19#include "BDSIntegratorG4RK4MinStep.hh"
20#include "BDSUtilities.hh"
22#include "G4ClassicalRK4.hh"
23#include "G4Mag_EqRhs.hh"
24#include "G4MagIntegratorStepper.hh"
27 G4double minimumStepSizeIn):
29 g4integrator(new G4ClassicalRK4(eqOfMIn, 6)),
30 minimumStepSize(minimumStepSizeIn)
33BDSIntegratorG4RK4MinStep::~BDSIntegratorG4RK4MinStep()
39 const G4double dydx[],
45 const G4double fcof =
eqOfM->FCof();
54 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)