36 #ifndef XDMFMESHWRITER_HPP_ 37 #define XDMFMESHWRITER_HPP_ 39 #include "AbstractTetrahedralMeshWriter.hpp" 43 #include <xercesc/util/PlatformUtils.hpp> 44 #include <xercesc/dom/DOM.hpp> 45 #include <xercesc/framework/LocalFileFormatTarget.hpp> 46 #include <xsd/cxx/xml/string.hxx> 48 #ifndef X //Also used in XmlTools in the heart component 53 #define X(str) xsd::cxx::xml::string(str).c_str() 61 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
83 virtual void AddDataOnNodes(XERCES_CPP_NAMESPACE_QUALIFIER DOMElement* pGridElement,
84 XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument* pDomDocument,
100 const std::string& rBaseName,
101 const bool clearOutputDir=
true);
113 bool keepOriginalElementIndexing=
true);
XdmfMeshWriter(const std::string &rDirectory, const std::string &rBaseName, const bool clearOutputDir=true)
virtual void AddDataOnNodes(XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *pGridElement, XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *pDomDocument, unsigned timeStep)
void WriteFilesUsingMesh(AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > &rMesh, bool keepOriginalElementIndexing=true)
unsigned mNumberOfTimePoints
void WriteXdmfMasterFile(unsigned numberOfChunks=1u)