SIMLIB/C++  3.07
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 
18 namespace simlib3 {
19 
20 ////////////////////////////////////////////////////////////////////////////
21 // class representing the integration method
22 //
23 class RKE : public StatusMethod {
24 private:
25  Memory A1, A2, A3, A4, A5, A6, A7; // auxiliary memories
28 public:
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 di
Definition: ni_rke.h:26
Memory si
Definition: ni_rke.h:26
Memory A1
Definition: ni_rke.h:25
Abstract base class for integration methods with status auxiliary memories.
Definition: simlib.h:1186
Memory A3
Definition: ni_rke.h:25
Implementation of class CalendarList interface is static - using global functions in SQS namespace...
Definition: algloop.cc:32
Memory A7
Definition: ni_rke.h:25
friend class StatusMemory
Definition: simlib.h:1216
StatusMemory xi
Definition: ni_rke.h:27
Memory A5
Definition: ni_rke.h:25
Memory A4
Definition: ni_rke.h:25
Memory A6
Definition: ni_rke.h:25
Main SIMLIB/C++ interface.
virtual void Integrate(void) override
Definition: ni_rke.cc:54
virtual ~RKE()
Definition: ni_rke.h:32
Memory A2
Definition: ni_rke.h:25
RKE(const char *name)
Definition: ni_rke.h:29