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>
53#define X(str) xsd::cxx::xml::string(str).c_str()
61template<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);
virtual void AddDataOnNodes(XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *pGridElement, XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *pDomDocument, unsigned timeStep)
void WriteXdmfMasterFile(unsigned numberOfChunks=1u)
unsigned mNumberOfTimePoints
void WriteFilesUsingMesh(AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > &rMesh, bool keepOriginalElementIndexing=true)