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