/usr/include/CLHEP/GenericFunctions/StepDoublingRKStepper.hh is in libclhep-dev 2.1.4.1+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #ifndef _FelhbergStepper_hh_
#define _StepDoublingRKStepper_hh_
#include "CLHEP/GenericFunctions/AdaptiveRKStepper.hh"
#include "CLHEP/GenericFunctions/ButcherTableau.hh"
//
// Class StepDoublingRK stepper is a class at that implements
// Fehlberg algorithms, or embedded Runge-Kutta Algorithms.
//
namespace Genfun {
class StepDoublingRKStepper: public AdaptiveRKStepper::EEStepper {
public:
// Constructor:
StepDoublingRKStepper(const ButcherTableau & tableau);
// Destructor:
virtual ~StepDoublingRKStepper();
// Take a single step with error estimate:
virtual void step (const RKIntegrator::RKData * data,
const RKIntegrator::RKData::Data & sdata,
RKIntegrator::RKData::Data & ddata,
std::vector<double> & errors) const;
// Clone self:
virtual StepDoublingRKStepper *clone() const;
void doStep(const RKIntegrator::RKData * data,
const RKIntegrator::RKData::Data & s,
RKIntegrator::RKData::Data & d) const;
virtual unsigned int order() const;
private:
ButcherTableau tableau;
};
}
#endif
|