36#include "CellIdWriter.hpp"
37#include "AbstractCellPopulation.hpp"
39template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
46template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
49 double cell_id = pCell->GetCellId();
53template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
56 unsigned cell_id = pCell->GetCellId();
58 *this->mpOutStream <<
" " << cell_id <<
" " << location_index;
61 for (
unsigned i=0; i<SPACE_DIM; i++)
63 *this->mpOutStream <<
" " << coords[i];
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
virtual c_vector< double, SPACE_DIM > GetLocationOfCellCentre(CellPtr pCell)=0
unsigned GetLocationIndexUsingCell(CellPtr pCell)
std::string mVtkCellDataName
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)