CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
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
Genfun::AdaptiveRKStepper::EEStepper
Definition:
AdaptiveRKStepper.hh:93
Genfun::CashKarpXtTableau
Definition:
ExtendedButcherTableau.hh:87
Genfun::EmbeddedRKStepper
Definition:
EmbeddedRKStepper.hh:11
Genfun::EmbeddedRKStepper::~EmbeddedRKStepper
virtual ~EmbeddedRKStepper()
Definition:
EmbeddedRKStepper.cc:13
Genfun::EmbeddedRKStepper::order
virtual unsigned int order() const
Definition:
EmbeddedRKStepper.cc:61
Genfun::EmbeddedRKStepper::step
virtual void step(const RKIntegrator::RKData *data, const RKIntegrator::RKData::Data &sdata, RKIntegrator::RKData::Data &ddata, std::vector< double > &errors) const
Definition:
EmbeddedRKStepper.cc:16
Genfun::EmbeddedRKStepper::clone
virtual EmbeddedRKStepper * clone() const
Definition:
EmbeddedRKStepper.cc:57
Genfun::ExtendedButcherTableau
Definition:
ExtendedButcherTableau.hh:24
Genfun::RKIntegrator::RKData
Definition:
RKIntegrator.hh:102
Genfun
Definition:
Abs.hh:14
Genfun::RKIntegrator::RKData::Data
Definition:
RKIntegrator.hh:108
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
EmbeddedRKStepper.hh
Generated by
1.9.6