36 #include "CellDataItemWriter.hpp" 37 #include "AbstractCellPopulation.hpp" 39 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
42 mCellDataVariableName(cellDataVariableName)
47 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
54 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
62 unsigned cell_id = pCell->GetCellId();
67 for (
unsigned i=0; i<SPACE_DIM; i++)
77 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
CellDataItemWriter(std::string cellDataVariableName="")
std::string mVtkCellDataName
unsigned GetLocationIndexUsingCell(CellPtr pCell)
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
std::string GetCellDataVariableName() const
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
virtual c_vector< double, SPACE_DIM > GetLocationOfCellCentre(CellPtr pCell)=0
std::string mCellDataVariableName