36 #include "CellVolumesWriter.hpp"
37 #include "AbstractCellPopulation.hpp"
39 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
46 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
53 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
57 unsigned cell_id = pCell->GetCellId();
63 *this->mpOutStream << location_index <<
" " << cell_id <<
" ";
64 for (
unsigned i=0; i<SPACE_DIM; i++)
66 *this->mpOutStream << centre_location[i] <<
" ";
69 *this->mpOutStream << volume <<
" ";
std::string mVtkCellDataName
unsigned GetLocationIndexUsingCell(CellPtr pCell)
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
virtual c_vector< double, SPACE_DIM > GetLocationOfCellCentre(CellPtr pCell)=0
double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
virtual double GetVolumeOfCell(CellPtr pCell)=0