Cantera  3.1.0a1
utils.h File Reference
#include "cantera/tpx/Sub.h"
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Substance * newSubstance (const std::string &name)
 Create a new Substance object corresponding to the specified name. More...
 

Function Documentation

◆ newSubstance()

Substance * newSubstance ( const std::string &  name)

Create a new Substance object corresponding to the specified name.

Currently valid substances are:

  • water
  • nitrogen
  • methane
  • hydrogen
  • oxygen
  • HFC-134a
  • carbon-dioxide
  • heptane

Definition at line 21 of file utils.cpp.