*** empty log message ***

This commit is contained in:
Dave Goodwin 2003-08-06 20:21:09 +00:00
parent d81d185bf9
commit 46deee41b1
2 changed files with 1 additions and 14 deletions

View file

@ -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);
}
}

View file

@ -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);
}