File indexing completed on 2025-01-30 10:03:27
0001 #ifndef _SimpleRKStepper_h_
0002 #define _SimpleRKStepper_h_
0003 #include "CLHEP/GenericFunctions/RKIntegrator.hh"
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include "CLHEP/GenericFunctions/ButcherTableau.hh"
0016 namespace Genfun {
0017 class SimpleRKStepper:public RKIntegrator::RKStepper{
0018
0019 public:
0020
0021
0022 SimpleRKStepper(const ButcherTableau & tableau,
0023 double stepsize);
0024
0025
0026 virtual ~SimpleRKStepper();
0027
0028
0029 virtual void step (const RKIntegrator::RKData * data,
0030 const RKIntegrator::RKData::Data & sdata,
0031 RKIntegrator::RKData::Data & ddata,
0032 double timeLimit
0033 ) const ;
0034
0035 virtual SimpleRKStepper *clone() const;
0036
0037 private:
0038
0039 ButcherTableau tableau;
0040 double stepsize;
0041
0042 };
0043 }
0044
0045 #endif