Loading [MathJax]/extensions/TeX/AMSsymbols.js
CoolProp
6.7.1dev
An open-source fluid property and humid air property database
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
r
s
t
u
v
w
x
Variables
Typedefs
Enumerations
Enumerator
b
d
f
g
h
i
n
p
q
r
s
t
v
x
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
c
e
i
m
n
o
p
r
s
t
v
z
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
Variables
Typedefs
b
c
i
m
t
u
v
Enumerations
Enumerator
c
m
t
Macros
_
a
c
d
e
f
i
l
m
n
p
r
t
u
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
ODEIntegrators.h
Go to the documentation of this file.
1
#ifndef ODEINTEGRATORS_H
2
#define ODEINTEGRATORS_H
3
4
#include <vector>
5
6
namespace
ODEIntegrators
{
7
9
class
AbstractODEIntegrator
10
{
11
public
:
12
virtual
std::vector<double>
get_initial_array
()
const
= 0;
13
14
virtual
void
pre_step_callback
() = 0;
15
16
virtual
void
post_deriv_callback
() = 0;
17
18
virtual
void
post_step_callback
(
double
t,
double
h, std::vector<double>& x) = 0;
19
20
virtual
bool
premature_termination
() = 0;
21
22
virtual
void
derivs
(
double
t, std::vector<double>& x, std::vector<double>& f) = 0;
23
};
24
36
bool
AdaptiveRK54
(
AbstractODEIntegrator
& ode,
double
tmin,
double
tmax,
double
hmin,
double
hmax,
double
eps_allowed,
double
step_relax);
37
38
}
// namespace ODEIntegrators
39
40
#endif
Generated on Mon Mar 17 2025 04:25:23 for CoolProp by
1.9.1