37 #ifndef _TRIANGLESMESHWRITER_HPP_
38 #define _TRIANGLESMESHWRITER_HPP_
40 #include "AbstractTetrahedralMeshWriter.hpp"
41 #include "OutputFileHandler.hpp"
47 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
60 const std::string& rBaseName,
61 const bool clearOutputDir=
true);
95 template<
class T_DATA>
96 void WriteItem(out_stream &pFile,
unsigned itemNumber,
const std::vector<T_DATA> &dataPacket,
const std::vector<double> &rAttributes);
106 template<
class T_DATA>
107 void WriteItem(out_stream &pFile,
unsigned itemNumber,
const std::vector<T_DATA> &dataPacket);
116 #endif //_TRIANGLESMESHWRITER_HPP_
virtual ~TrianglesMeshWriter()
void WriteItem(out_stream &pFile, unsigned itemNumber, const std::vector< T_DATA > &dataPacket, const std::vector< double > &rAttributes)
TrianglesMeshWriter(const std::string &rDirectory, const std::string &rBaseName, const bool clearOutputDir=true)
void SetWriteFilesAsBinary()
void WriteElementsAsFaces()