23 if (lcname ==
"water") {
25 }
else if (lcname ==
"nitrogen") {
27 }
else if (lcname ==
"methane") {
29 }
else if (lcname ==
"hydrogen") {
31 }
else if (lcname ==
"oxygen") {
33 }
else if (lcname ==
"hfc-134a" || lcname ==
"hfc134a") {
35 }
else if (lcname ==
"carbon-dioxide" || lcname ==
"carbondioxide") {
37 }
else if (lcname ==
"heptane") {
41 " definition known for '{}'.", name);
45 Substance* GetSub(
int isub)
49 }
else if (isub == 1) {
51 }
else if (isub == 2) {
53 }
else if (isub == 3) {
55 }
else if (isub == 4) {
57 }
else if (isub == 5) {
59 }
else if (isub == 7) {
60 return new CarbonDioxide;
61 }
else if (isub == 8) {
65 "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.
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.
std::string toLowerCopy(const std::string &input)
Convert to lower case.
Contains declarations for string manipulation functions within Cantera.
Substance * newSubstance(const std::string &name)
Create a new Substance object corresponding to the specified name.