diff --git a/Cantera/src/ctml.cpp b/Cantera/src/ctml.cpp index 6e6f06f40..d4a97efe8 100755 --- a/Cantera/src/ctml.cpp +++ b/Cantera/src/ctml.cpp @@ -369,18 +369,4 @@ namespace ctml { if (node["max"] != "") xmax = fpValue(node["max"]); type = node["type"]; } - - void get_CTML_Tree(XML_Node* m_r, string infile) { - string path = findInputFile(infile); - ifstream fin(path.c_str()); - if (!fin) { - throw CanteraError("get_CTML_Tree","could not open " - +path+" for reading."); - } - if (!m_r) { - throw CanteraError("get_CTML_Tree", - " Need to malloc XML_Node first"); - } - m_r->build(fin); - } } diff --git a/Cantera/src/ctml.h b/Cantera/src/ctml.h index fcf539923..69c203e45 100755 --- a/Cantera/src/ctml.h +++ b/Cantera/src/ctml.h @@ -90,6 +90,7 @@ namespace ctml { string getString(XML_Node& parent, string name); + // these are defined in ct2ctml.cpp void get_CTML_Tree(XML_Node*, string file); void ct2ctml(const char* file); }