35 #include "AbstractCryptStatistics.hpp"
36 #include "CellPropertyRegistry.hpp"
53 if (cell_iter->GetCellCycleModel()->GetCurrentCellCyclePhase()== S_PHASE)
59 if (!cell_iter->HasCellProperty<
CellLabel>())
80 cell_iter->RemoveCellProperty<
CellLabel>();
86 std::vector<bool> crypt_section_labelled(rCryptSection.size());
88 for (
unsigned vector_index=0; vector_index<rCryptSection.size(); vector_index++)
90 if (rCryptSection[vector_index]->HasCellProperty<CellLabel>())
92 crypt_section_labelled[vector_index] =
true;
96 crypt_section_labelled[vector_index] =
false;
100 return crypt_section_labelled;
virtual ~AbstractCryptStatistics()
AbstractCryptStatistics(MeshBasedCellPopulation< 2 > &rCrypt)
boost::shared_ptr< CellPropertyRegistry > GetCellPropertyRegistry()
MeshBasedCellPopulation< 2 > & mrCrypt
std::vector< bool > AreCryptSectionCellsLabelled(std::vector< CellPtr > &rCryptSection)
void LabelAllCellsAsHealthy()