36 #include "CellAncestorWriter.hpp"
37 #include "AbstractCellPopulation.hpp"
39 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
46 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
49 double ancestor_index = (pCell->GetAncestor() ==
UNSIGNED_UNSET) ? (-1.0) : (
double)pCell->GetAncestor();
50 return ancestor_index;
53 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
56 double ancestor_index = (pCell->GetAncestor() ==
UNSIGNED_UNSET) ? (-1.0) : (
double)pCell->GetAncestor();
57 *this->mpOutStream << ancestor_index <<
" ";
std::string mVtkCellDataName
virtual void VisitCell(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
const unsigned UNSIGNED_UNSET
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)