/usr/include/CLHEP/GenericFunctions/EmbeddedRKStepper.hh is in libclhep-dev 2.1.4.1-1.2.
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 | #ifndef _EmbeddedRKStepper_hh_
#define _EmbeddedRKStepper_hh_
#include "CLHEP/GenericFunctions/AdaptiveRKStepper.hh"
#include "CLHEP/GenericFunctions/ExtendedButcherTableau.hh"
//
// Class EmbeddedRK stepper is a class at that implements
// Fehlberg algorithms, or embedded Runge-Kutta Algorithms.
//
namespace Genfun {
class EmbeddedRKStepper: public AdaptiveRKStepper::EEStepper {
public:
// Constructor:
EmbeddedRKStepper(const ExtendedButcherTableau & tableau=CashKarpXtTableau());
// Destructor:
virtual ~EmbeddedRKStepper();
// 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 EmbeddedRKStepper *clone() const;
// Return the order:
virtual unsigned int order() const;
private:
ExtendedButcherTableau tableau;
};
}
#endif
|