24 if (lcname ==
"water") {
26 }
else if (lcname ==
"nitrogen") {
28 }
else if (lcname ==
"methane") {
30 }
else if (lcname ==
"hydrogen") {
32 }
else if (lcname ==
"oxygen") {
34 }
else if (lcname ==
"hfc-134a" || lcname ==
"hfc134a") {
36 }
else if (lcname ==
"carbon-dioxide" || lcname ==
"carbondioxide") {
38 }
else if (lcname ==
"heptane") {
42 " definition known for '{}'.", name);
49 "Use tpx::newSubstance(string) instead.");
52 }
else if (isub == 1) {
54 }
else if (isub == 2) {
56 }
else if (isub == 3) {
58 }
else if (isub == 4) {
60 }
else if (isub == 5) {
62 }
else if (isub == 7) {
64 }
else if (isub == 8) {
68 "known for id '{}'.", isub);
Base class for exceptions thrown by Cantera classes.
Pure species representation of carbon dioxide.
Equation of state for HFC-134a.
Pure species representation of heptane.
Base class from which all pure substances are derived.
Pure species representation of hydrogen.
Pure species representation of methane.
Pure species representation of nitrogen.
Pure species representation of oxygen.
Pure species representation of water.
This file contains definitions for utility functions and text for modules, inputfiles and logging,...
string toLowerCopy(const string &input)
Convert to lower case.
void warn_deprecated(const string &source, const AnyBase &node, const string &message)
A deprecation warning for syntax in an input file.
Contains declarations for string manipulation functions within Cantera.
Substance * GetSub(int isub)
Substance * newSubstance(const std::string &name)
Create a new Substance object corresponding to the specified name.