Loading [MathJax]/extensions/tex2jax.js
Cantera
3.0.0
Toggle main menu visibility
Developer API
Modules
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
j
k
l
m
n
o
p
q
r
s
t
v
w
x
Typedefs
Enumerations
Related Symbols
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
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
v
w
Variables
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
a
b
c
e
f
k
l
m
n
p
s
t
v
w
x
Functions
Variables
Typedefs
Macros
a
c
e
f
m
n
p
s
t
v
x
Related Pages
cantera.org
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
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
//! @deprecated To be removed after %Cantera 3.0
10
Substance*
GetSub
(
int
isub);
11
12
//! Create a new Substance object corresponding to the specified name.
13
/**
14
* Currently valid substances are:
15
*
16
* - water
17
* - nitrogen
18
* - methane
19
* - hydrogen
20
* - oxygen
21
* - HFC-134a
22
* - carbon-dioxide
23
* - heptane
24
*/
25
Substance*
newSubstance
(
const
std::string& name);
26
27
}
28
29
#endif
Sub.h
tpx::GetSub
Substance * GetSub(int isub)
Definition
utils.cpp:46
tpx::newSubstance
Substance * newSubstance(const std::string &name)
Create a new Substance object corresponding to the specified name.
Definition
utils.cpp:21
include
cantera
tpx
utils.h
Generated by
1.9.7