Done using astyle: astyle --style=kr --add-brackets --indent=spaces=4 --indent-col1-comments --unpad-paren --pad-header --align-pointer=type --lineend=linux
7 lines
152 B
C++
7 lines
152 B
C++
#include <cantera/Cantera.h>
|
|
int main()
|
|
{
|
|
ThermoPhase* gas = newPhase("h2o2.cti","ohmech");
|
|
cout << gas->temperature() << endl;
|
|
return 0;
|
|
}
|