SIMLIB/C++ 3.09
Loading...
Searching...
No Matches
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
17namespace simlib3 {
18
19////////////////////////////////////////////////////////////////////////////
20// class representing the integration method
21//
22class RKF5 : public SingleStepMethod {
23private:
24 Memory A1, A2, A3, A4, A5, A6; // auxiliary memories
25public:
26 RKF5(const char* name) : // registrate method and name it
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
Memory A2
Definition: ni_rkf5.h:24
Memory A4
Definition: ni_rkf5.h:24
virtual ~RKF5()
Definition: ni_rkf5.h:29
Memory A5
Definition: ni_rkf5.h:24
Memory A1
Definition: ni_rkf5.h:24
virtual void Integrate(void) override
Definition: ni_rkf5.cc:59
Memory A6
Definition: ni_rkf5.h:24
Memory A3
Definition: ni_rkf5.h:24
RKF5(const char *name)
Definition: ni_rkf5.h:26
base for single-step integration methods
Definition: simlib.h:1141
Implementation of class CalendarList interface is static - using global functions in SQS namespace.
Definition: algloop.cc:32
Main SIMLIB/C++ interface.