SIMLIB/C++ 3.09
Loading...
Searching...
No Matches
ni_rke.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////////////////////////////
2//! \file ni_rke.h Runge-Kutta-England method (default)
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-England's method
12// this is the default method (TODO: change to Dormand-Prince)
13//
14
15
16#include "simlib.h"
17
18namespace simlib3 {
19
20////////////////////////////////////////////////////////////////////////////
21// class representing the integration method
22//
23class RKE : public StatusMethod {
24private:
25 Memory A1, A2, A3, A4, A5, A6, A7; // auxiliary memories
28public:
29 RKE(const char* name) : // registrate method and name it
30 StatusMethod(name)
31 { /*NOTHING*/ }
32 virtual ~RKE() // destructor
33 { /*NOTHING*/ }
34 virtual void Integrate(void) override; // integration method
35}; // class RKE
36
37}
38
39// end of ni_rke.h
40
Memory A6
Definition: ni_rke.h:25
Memory di
Definition: ni_rke.h:26
Memory A7
Definition: ni_rke.h:25
Memory si
Definition: ni_rke.h:26
Memory A5
Definition: ni_rke.h:25
Memory A1
Definition: ni_rke.h:25
StatusMemory xi
Definition: ni_rke.h:27
Memory A3
Definition: ni_rke.h:25
RKE(const char *name)
Definition: ni_rke.h:29
Memory A4
Definition: ni_rke.h:25
virtual void Integrate(void) override
Definition: ni_rke.cc:54
Memory A2
Definition: ni_rke.h:25
virtual ~RKE()
Definition: ni_rke.h:32
Abstract base class for integration methods with status auxiliary memories.
Definition: simlib.h:1186
Implementation of class CalendarList interface is static - using global functions in SQS namespace.
Definition: algloop.cc:32
Main SIMLIB/C++ interface.