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