From 46deee41b1c980045790bad90ee9f3f8159f08a1 Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Wed, 6 Aug 2003 20:21:09 +0000 Subject: [PATCH] *** empty log message *** --- Cantera/src/ctml.cpp | 14 -------------- Cantera/src/ctml.h | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) 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); }