36 #ifndef ABSTRACTCELLWRITER_HPP_ 37 #define ABSTRACTCELLWRITER_HPP_ 40 #include <boost/serialization/base_object.hpp> 41 #include "AbstractCellBasedWriter.hpp" 51 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
65 template<
class Archive>
66 void serialize(Archive & archive,
const unsigned int version)
68 archive & boost::serialization::base_object<AbstractCellBasedWriter<ELEMENT_DIM, SPACE_DIM> >(*this);
AbstractCellWriter(const std::string &rFileName)
std::string mVtkCellDataName
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)=0
void SetVtkCellDataName(std::string vtkCellDataName)
virtual double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
void SetVtkVectorCellDataName(std::string vtkCellDataName)
virtual c_vector< double, SPACE_DIM > GetVectorCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
bool GetOutputScalarData()
friend class boost::serialization::access
std::string mVtkVectorCellDataName
void serialize(Archive &archive, const unsigned int version)
std::string GetVtkVectorCellDataName()
std::string GetVtkCellDataName()
bool GetOutputVectorData()