Cantera  3.0.0
Loading...
Searching...
No Matches
utils.cpp File Reference
#include "cantera/tpx/utils.h"
#include "cantera/base/stringUtils.h"
#include "cantera/base/global.h"
#include "CarbonDioxide.h"
#include "Heptane.h"
#include "HFC134a.h"
#include "Hydrogen.h"
#include "Methane.h"
#include "Nitrogen.h"
#include "Oxygen.h"
#include "Water.h"
Include dependency graph for utils.cpp:

Go to the source code of this file.

Functions

SubstancenewSubstance (const std::string &name)
 Create a new Substance object corresponding to the specified name.
 
SubstanceGetSub (int isub)
 

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.

◆ GetSub()

Substance * GetSub ( int  isub)
Deprecated:
To be removed after Cantera 3.0

Definition at line 46 of file utils.cpp.