36 #ifndef ABSTRACTMESHWRITER_HPP_
37 #define ABSTRACTMESHWRITER_HPP_
43 #include "OutputFileHandler.hpp"
44 #include "AbstractMeshReader.hpp"
49 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
74 const std::string& rBaseName,
75 const bool clearOutputDir=
true);
virtual ElementData GetNextCableElement()
unsigned GetNumCableElements()
AbstractMeshWriter(const std::string &rDirectory, const std::string &rBaseName, const bool clearOutputDir=true)
virtual ~AbstractMeshWriter()
unsigned mNumBoundaryElements
void WriteFilesUsingMeshReader(AbstractMeshReader< ELEMENT_DIM, SPACE_DIM > &rMeshReader)
virtual unsigned GetNumNodes()
OutputFileHandler * mpOutputFileHandler
std::string GetOutputDirectory()
virtual std::vector< double > GetNextNode()
unsigned GetNumElements()
virtual void WriteFiles()=0
virtual ElementData GetNextBoundaryElement()
unsigned mNumCableElements
virtual ElementData GetNextElement()
unsigned GetNumBoundaryFaces()
AbstractMeshReader< ELEMENT_DIM, SPACE_DIM > * mpMeshReader