36 #include "CellPopulationAreaWriter.hpp"
37 #include "AbstractCellPopulation.hpp"
38 #include "MeshBasedCellPopulation.hpp"
39 #include "CaBasedCellPopulation.hpp"
40 #include "NodeBasedCellPopulation.hpp"
41 #include "PottsBasedCellPopulation.hpp"
42 #include "VertexBasedCellPopulation.hpp"
44 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
50 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
53 assert(SPACE_DIM==2 || SPACE_DIM==3);
57 assert (voronoi_tessellation != NULL);
61 double apoptotic_area = 0.0;
69 unsigned elem_index = elem_iter->GetIndex();
82 if (cell_is_apoptotic)
85 apoptotic_area += cell_volume;
89 *this->mpOutStream << total_area <<
" " << apoptotic_area;
92 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
97 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
102 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
107 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
unsigned GetDelaunayNodeIndexCorrespondingToVoronoiElementIndex(unsigned elementIndex)
virtual CellPtr GetCellUsingLocationIndex(unsigned index)
MutableMesh< ELEMENT_DIM, SPACE_DIM > & rGetMesh()
virtual bool IsGhostNode(unsigned index)
CellPopulationAreaWriter()
VertexElementIterator GetElementIteratorBegin(bool skipDeletedElements=true)
virtual double GetVolumeOfElement(unsigned index)
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
VertexMesh< ELEMENT_DIM, SPACE_DIM > * GetVoronoiTessellation()
VertexElementIterator GetElementIteratorEnd()
virtual void Visit(MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)