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/EmbeddedRKStepper.hh
Go to the documentation of this file.
1
#ifndef _EmbeddedRKStepper_hh_
2
#define _EmbeddedRKStepper_hh_
3
#include "
CLHEP/GenericFunctions/AdaptiveRKStepper.hh
"
4
#include "
CLHEP/GenericFunctions/ExtendedButcherTableau.hh
"
5
//
6
// Class EmbeddedRK stepper is a class at that implements
7
// Fehlberg algorithms, or embedded Runge-Kutta Algorithms.
8
//
9
namespace
Genfun {
10
11
class
EmbeddedRKStepper
:
public
AdaptiveRKStepper::EEStepper
{
12
13
public
:
14
15
// Constructor:
16
EmbeddedRKStepper
(
const
ExtendedButcherTableau
& tableau=
CashKarpXtTableau
());
17
18
// Destructor:
19
virtual
~EmbeddedRKStepper
();
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
EmbeddedRKStepper
*
clone
()
const
;
28
29
// Return the order:
30
virtual
unsigned
int
order
()
const
;
31
private
:
32
ExtendedButcherTableau
tableau;
33
};
34
}
35
#endif
Generated on Mon May 6 2013 04:04:10 for CLHEP by
1.8.1.2