Commit f6d3e7c5 authored by Kenneth Leiter's avatar Kenneth Leiter

ENH: Modify XdmfWriter to insert XdmfArray content into most recently created...

ENH: Modify XdmfWriter to insert XdmfArray content into most recently created child to allow for creation of multiple XdmfArray children.
parent 03c6c401
......@@ -110,7 +110,7 @@ void XdmfWriter::visit(XdmfArray & array, const boost::shared_ptr<XdmfBaseVisito
}
this->visit(dynamic_cast<XdmfItem &>(array), visitor);
xmlAddChild(mImpl->mXMLCurrentNode->children, xmlNewText((xmlChar*)xmlTextValues.str().c_str()));
xmlAddChild(mImpl->mXMLCurrentNode->last, xmlNewText((xmlChar*)xmlTextValues.str().c_str()));
}
void XdmfWriter::visit(XdmfItem & item, const boost::shared_ptr<XdmfBaseVisitor> visitor)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment