Loading [MathJax]/extensions/tex2jax.js
Cantera
2.3.0
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
+
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
Typedefs
Enumerations
Enumerator
+
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
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
z
~
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
Enumerations
Related Functions
+
Files
File List
+
File Members
+
All
a
b
c
e
f
i
m
n
p
r
s
t
v
x
Functions
Variables
+
Macros
a
c
e
f
m
n
p
r
s
t
v
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
numerics
ODE_integrators.cpp
Go to the documentation of this file.
1
//! @file ODE_integrators.cpp
2
3
// This file is part of Cantera. See License.txt in the top-level directory or
4
// at http://www.cantera.org/license.txt for license and copyright information.
5
6
#include "
cantera/base/ct_defs.h
"
7
#include "
cantera/numerics/Integrator.h
"
8
#include "
cantera/numerics/CVodesIntegrator.h
"
9
10
namespace
Cantera
11
{
12
13
Integrator* newIntegrator(
const
std::string& itype)
14
{
15
if
(itype ==
"CVODE"
) {
16
return
new
CVodesIntegrator();
17
}
else
{
18
throw
CanteraError(
"newIntegrator"
,
19
"unknown ODE integrator: "
+itype);
20
}
21
return
0;
22
}
23
24
}
ct_defs.h
This file contains definitions of terms that are used in internal routines and are unlikely to need m...
Integrator.h
CVodesIntegrator.h
Cantera
Namespace for the Cantera kernel.
Definition:
application.cpp:29
Generated by
1.8.14