Cantera  3.1.0b1
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
7namespace tpx
8{
9
10//! Create a new Substance object corresponding to the specified name.
11/**
12 * Currently valid substances are:
13 *
14 * - water
15 * - nitrogen
16 * - methane
17 * - hydrogen
18 * - oxygen
19 * - HFC-134a
20 * - carbon-dioxide
21 * - heptane
22 */
23Substance* newSubstance(const std::string& name);
24
25}
26
27#endif
Substance * newSubstance(const std::string &name)
Create a new Substance object corresponding to the specified name.
Definition utils.cpp:21