Loading [MathJax]/extensions/tex2jax.js
Cantera
2.6.0
Toggle main menu visibility
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
u
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
q
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
w
x
Functions
Variables
Macros
a
c
e
f
m
n
p
s
t
v
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
include
cantera
tpx
utils.h
Go to the documentation of this file.
1
//! @file utils.h
2
#ifndef TPX_UTILS_H
3
#define TPX_UTILS_H
4
5
#include "
cantera/tpx/Sub.h
"
6
7
namespace
tpx
8
{
9
Substance* GetSub(
int
isub);
10
11
//! Create a new Substance object corresponding to the specified name.
12
/*
13
* Currently valid substances are:
14
*
15
* - water
16
* - nitrogen
17
* - methane
18
* - hydrogen
19
* - oxygen
20
* - HFC-134a
21
* - carbon-dioxide
22
* - heptane
23
*/
24
Substance*
newSubstance
(
const
std::string& name);
25
26
}
27
28
#endif
Sub.h
tpx::newSubstance
Substance * newSubstance(const std::string &name)
Create a new Substance object corresponding to the specified name.
Definition:
utils.cpp:20
Generated by
1.9.2