36 #include "CellRosetteRankWriter.hpp" 37 #include "AbstractCellPopulation.hpp" 38 #include "VertexBasedCellPopulation.hpp" 40 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
47 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
53 if (p_vbcp ==
nullptr)
55 EXCEPTION(
"Rosettte rank is only associated with vertex-based cell populations");
61 return double(rosette_rank);
64 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
68 unsigned cell_id = pCell->GetCellId();
73 *this->
mpOutStream << location_index <<
" " << cell_id <<
" ";
74 for (
unsigned i=0; i<SPACE_DIM; i++)
std::string mVtkCellDataName
unsigned GetLocationIndexUsingCell(CellPtr pCell)
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
#define EXCEPTION(message)
unsigned GetRosetteRankOfCell(CellPtr pCell)
#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)