SIMLIB/C++
3.07
src
ni_rkf5.h
Go to the documentation of this file.
1
/////////////////////////////////////////////////////////////////////////////
2
//! \file ni_rkf5.h Runge-Kutta-Fehlberg 5th order
3
//
4
// Copyright (c) 1996-1997 David Leska
5
// Copyright (c) 1998-2004 Petr Peringer
6
//
7
// This library is licensed under GNU Library GPL. See the file COPYING.
8
//
9
10
//
11
// numerical integration: Runge-Kutta-Fehlberg's method 5th order
12
//
13
14
15
#include "
simlib.h
"
16
17
namespace
simlib3
{
18
19
////////////////////////////////////////////////////////////////////////////
20
// class representing the integration method
21
//
22
class
RKF5
:
public
SingleStepMethod
{
23
private
:
24
Memory
A1
,
A2
,
A3
,
A4
,
A5
,
A6
;
// auxiliary memories
25
public
:
26
RKF5
(
const
char
* name) :
// registrate method and name it
27
SingleStepMethod
(name)
28
{
/*NOTHING*/
}
29
virtual
~RKF5
()
// destructor
30
{
/*NOTHING*/
}
31
virtual
void
Integrate
(
void
)
override
;
// integration method
32
};
// class RKF5
33
34
}
35
36
// end of ni_rkf5.h
37
simlib3::IntegrationMethod::Memory
friend class Memory
Definition:
simlib.h:1067
simlib3::RKF5::A5
Memory A5
Definition:
ni_rkf5.h:24
simlib3::RKF5::A2
Memory A2
Definition:
ni_rkf5.h:24
simlib3::SingleStepMethod
base for single-step integration methods
Definition:
simlib.h:1141
simlib3::RKF5::A4
Memory A4
Definition:
ni_rkf5.h:24
simlib3
Implementation of class CalendarList interface is static - using global functions in SQS namespace...
Definition:
algloop.cc:32
simlib.h
Main SIMLIB/C++ interface.
simlib3::RKF5::Integrate
virtual void Integrate(void) override
Definition:
ni_rkf5.cc:59
simlib3::RKF5
Definition:
ni_rkf5.h:22
simlib3::RKF5::A3
Memory A3
Definition:
ni_rkf5.h:24
simlib3::RKF5::A6
Memory A6
Definition:
ni_rkf5.h:24
simlib3::RKF5::RKF5
RKF5(const char *name)
Definition:
ni_rkf5.h:26
simlib3::RKF5::~RKF5
virtual ~RKF5()
Definition:
ni_rkf5.h:29
simlib3::RKF5::A1
Memory A1
Definition:
ni_rkf5.h:24
Generated on Tue Oct 5 2021 16:04:52 for SIMLIB/C++ by
1.8.13