CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
StepDoublingRKStepper.hh
Go to the documentation of this file.
1
#ifndef _StepDoublingRKStepper_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
Genfun::AdaptiveRKStepper::EEStepper
Definition:
AdaptiveRKStepper.hh:93
Genfun::ButcherTableau
Definition:
ButcherTableau.hh:23
Genfun::RKIntegrator::RKData
Definition:
RKIntegrator.hh:102
Genfun::StepDoublingRKStepper
Definition:
StepDoublingRKStepper.hh:11
Genfun::StepDoublingRKStepper::step
virtual void step(const RKIntegrator::RKData *data, const RKIntegrator::RKData::Data &sdata, RKIntegrator::RKData::Data &ddata, std::vector< double > &errors) const
Definition:
StepDoublingRKStepper.cc:14
Genfun::StepDoublingRKStepper::order
virtual unsigned int order() const
Definition:
StepDoublingRKStepper.cc:77
Genfun::StepDoublingRKStepper::doStep
void doStep(const RKIntegrator::RKData *data, const RKIntegrator::RKData::Data &s, RKIntegrator::RKData::Data &d) const
Definition:
StepDoublingRKStepper.cc:38
Genfun::StepDoublingRKStepper::clone
virtual StepDoublingRKStepper * clone() const
Definition:
StepDoublingRKStepper.cc:73
Genfun::StepDoublingRKStepper::~StepDoublingRKStepper
virtual ~StepDoublingRKStepper()
Definition:
StepDoublingRKStepper.cc:11
Genfun
Definition:
Abs.hh:14
Genfun::RKIntegrator::RKData::Data
Definition:
RKIntegrator.hh:108
CLHEP-CLHEP_2_4_6_4
GenericFunctions
GenericFunctions
StepDoublingRKStepper.hh
Generated by
1.9.6