Cantera  2.1.2
Namespaces | Functions
ct2ctml.cpp File Reference

Driver for the system call to the python executable that converts cti files to ctml files (see Input File Handling). More...

#include "cantera/base/ct_defs.h"
#include "cantera/base/ctexceptions.h"
#include "cantera/base/ctml.h"
#include "cantera/base/global.h"
#include "cantera/base/stringUtils.h"
#include "../../ext/libexecstream/exec-stream.h"
#include <fstream>
#include <sstream>
#include <functional>
Include dependency graph for ct2ctml.cpp:

Go to the source code of this file.

Namespaces

 ctml
 The ctml namespace adds functionality to the XML object, by providing standard functions that read, write, and interpret XML files and object trees.
 

Functions

static string pypath ()
 return the full path to the Python interpreter. More...
 
void ct2ctml (const char *file, const int debug=0)
 Convert a cti file into a ctml file. More...
 
void ck2cti (const std::string &in_file, const std::string &thermo_file="", const std::string &transport_file="", const std::string &id_tag="gas")
 Convert a Chemkin-format mechanism into a CTI file. More...
 
void get_CTML_Tree (Cantera::XML_Node *node, const std::string &file, const int debug=0)
 Read an ctml file from a file and fill up an XML tree. More...
 
Cantera::XML_Node getCtmlTree (const std::string &file)
 Read an ctml file from a file and fill up an XML tree. More...
 

Detailed Description

Driver for the system call to the python executable that converts cti files to ctml files (see Input File Handling).

Definition in file ct2ctml.cpp.