cantera/doc/doxygen/ex1.cpp

9 lines
172 B
C++

#include "cantera/thermo.h"
#include <iostream>
int main()
{
ThermoPhase* gas = newPhase("h2o2.cti","ohmech");
cout << gas->temperature() << endl;
return 0;
}