36 #include "CellRadiusWriter.hpp"
37 #include "NodeBasedCellPopulation.hpp"
39 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
46 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
49 double cell_radius = 0.0;
53 cell_radius = pCellPopulation->
GetNode(node_index)->GetRadius();
58 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
62 unsigned cell_id = pCell->GetCellId();
65 double cell_radius = 0.0;
69 cell_radius = pCellPopulation->
GetNode(node_index)->GetRadius();
72 *this->mpOutStream << location_index <<
" " << cell_id <<
" ";
73 for (
unsigned i=0; i<SPACE_DIM; i++)
75 *this->mpOutStream << cell_location[i] <<
" ";
78 *this->mpOutStream << cell_radius <<
" ";
virtual Node< SPACE_DIM > * GetNode(unsigned index)=0
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)