35 #include "AbstractCellBasedWriter.hpp"
36 #include "SimulationTime.hpp"
38 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
40 : mFileName(rFileName)
44 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
49 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
55 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
61 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
64 mpOutStream = rOutputFileHandler.
OpenOutputFile(mFileName, std::ios::app);
67 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
73 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
79 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
85 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
virtual void WriteNewline()
void OpenOutputFileForAppend(OutputFileHandler &rOutputFileHandler)
static SimulationTime * Instance()
AbstractCellBasedWriter(const std::string &rFileName)
virtual ~AbstractCellBasedWriter()
out_stream OpenOutputFile(const std::string &rFileName, std::ios_base::openmode mode=std::ios::out|std::ios::trunc) const
virtual void WriteTimeStamp()
void SetFileName(std::string fileName)
virtual void OpenOutputFile(OutputFileHandler &rOutputFileHandler)
std::string GetFileName()