Cantera  2.4.0
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  * - hfc134a
21  * - carbondioxide
22  * - heptane
23  */
24 Substance* newSubstance(const std::string& name);
25 
26 }
27 
28 #endif
Substance * newSubstance(const std::string &name)
Create a new Substance object corresponding to the specified name.
Definition: utils.cpp:20