Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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/ctml.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

 Cantera
 Namespace for the Cantera kernel.
 

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...
 
static std::string call_ctml_writer (const std::string &text, bool isfile)
 
std::string ct2ctml_string (const std::string &file)
 Get a string with the ctml representation of a cti file. More...
 
std::string ct_string2ctml_string (const std::string &cti)
 Get a string with the ctml representation of a cti input string. 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 (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...
 
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.