CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
CLHEP
GenericFunctions
CLHEP/GenericFunctions/StepDoublingRKStepper.hh
Go to the documentation of this file.
1
#ifndef _FelhbergStepper_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
//
9
namespace
Genfun {
10
11
class
StepDoublingRKStepper
:
public
AdaptiveRKStepper::EEStepper
{
12
13
public
:
14
15
// Constructor:
16
StepDoublingRKStepper
(
const
ButcherTableau
& tableau);
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,
24
RKIntegrator::RKData::Data
& ddata,
25
std::vector<double> & errors)
const
;
26
// Clone self:
27
virtual
StepDoublingRKStepper
*
clone
()
const
;
28
29
void
doStep
(
const
RKIntegrator::RKData
* data,
30
const
RKIntegrator::RKData::Data
& s,
31
RKIntegrator::RKData::Data
& d)
const
;
32
33
virtual
unsigned
int
order
()
const
;
34
35
private
:
36
ButcherTableau
tableau;
37
38
};
39
}
40
#endif
Generated on Mon May 6 2013 04:04:11 for CLHEP by
1.8.1.2