CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
StepDoublingRKStepper.hh
Go to the documentation of this file.
1#ifndef _StepDoublingRKStepper_hh_
2#define _StepDoublingRKStepper_hh_
3#include "CLHEP/GenericFunctions/AdaptiveRKStepper.hh"
4#include "CLHEP/GenericFunctions/ButcherTableau.hh"
5//
6// Class StepDoublingRK stepper is a class at that implements
7// Fehlberg algorithms, or embedded Runge-Kutta Algorithms.
8//
9namespace Genfun {
10
12
13 public:
14
15 // Constructor:
17
18 // Destructor:
19 virtual ~StepDoublingRKStepper();
20
21 // Take a single step with error estimate:
22 virtual void step (const RKIntegrator::RKData * data,
23 const RKIntegrator::RKData::Data & sdata,
25 std::vector<double> & errors) const;
26 // Clone self:
27 virtual StepDoublingRKStepper *clone() const;
28
29 void doStep(const RKIntegrator::RKData * data,
32
33 virtual unsigned int order() const;
34
35 private:
36 ButcherTableau tableau;
37
38 };
39}
40#endif
virtual void step(const RKIntegrator::RKData *data, const RKIntegrator::RKData::Data &sdata, RKIntegrator::RKData::Data &ddata, std::vector< double > &errors) const
virtual unsigned int order() const
void doStep(const RKIntegrator::RKData *data, const RKIntegrator::RKData::Data &s, RKIntegrator::RKData::Data &d) const
virtual StepDoublingRKStepper * clone() const
Definition: Abs.hh:14