SIMLIB/C++  3.07
ni_rkf8.h
Go to the documentation of this file.
1 /////////////////////////////////////////////////////////////////////////////
2 //! \file ni_rkf8.h Runge-Kutta-Fehlberg 8th 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 8th order
12 //
13 
14 
15 #include "simlib.h"
16 
17 namespace simlib3 {
18 
19 ////////////////////////////////////////////////////////////////////////////
20 // class representing the integration method
21 //
22 class RKF8 : public SingleStepMethod {
23 private:
24  Memory A1, A2, A3, A4, A5, A6, A7; // auxiliary memories
26 public:
27  RKF8(const char* name) : // registrate method and name it
28  SingleStepMethod(name)
29  { /*NOTHING*/ }
30  virtual ~RKF8() // destructor
31  { /*NOTHING*/ }
32  virtual void Integrate(void) override; // integration method
33 }; // class RKF8
34 
35 }
36 
37 // end of ni_rkf8.h
38 
Memory A7
Definition: ni_rkf8.h:24
RKF8(const char *name)
Definition: ni_rkf8.h:27
Memory A13
Definition: ni_rkf8.h:25
base for single-step integration methods
Definition: simlib.h:1141
Memory A2
Definition: ni_rkf8.h:24
Memory A6
Definition: ni_rkf8.h:24
Memory A11
Definition: ni_rkf8.h:25
Implementation of class CalendarList interface is static - using global functions in SQS namespace...
Definition: algloop.cc:32
Memory A4
Definition: ni_rkf8.h:24
virtual ~RKF8()
Definition: ni_rkf8.h:30
Memory A8
Definition: ni_rkf8.h:25
Memory A1
Definition: ni_rkf8.h:24
virtual void Integrate(void) override
Definition: ni_rkf8.cc:41
Memory A9
Definition: ni_rkf8.h:25
Memory A5
Definition: ni_rkf8.h:24
Memory A3
Definition: ni_rkf8.h:24
Main SIMLIB/C++ interface.
Memory A10
Definition: ni_rkf8.h:25
Memory A12
Definition: ni_rkf8.h:25