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