36 #include "VoronoiDataWriter.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);
62 unsigned elem_index = elem_iter->GetIndex();
68 *this->mpOutStream << node_index <<
" ";
69 c_vector<double, SPACE_DIM> node_location = pCellPopulation->
GetNode(node_index)->rGetLocation();
70 for (
unsigned i=0; i<SPACE_DIM; i++)
72 *this->mpOutStream << node_location[i] <<
" ";
77 *this->mpOutStream << cell_volume <<
" " << cell_surface_area <<
" ";
81 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
86 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
91 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
96 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
unsigned GetDelaunayNodeIndexCorrespondingToVoronoiElementIndex(unsigned elementIndex)
virtual void Visit(MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
VertexElementIterator GetElementIteratorBegin(bool skipDeletedElements=true)
virtual double GetVolumeOfElement(unsigned index)
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
Node< SPACE_DIM > * GetNode(unsigned index)
VertexMesh< ELEMENT_DIM, SPACE_DIM > * GetVoronoiTessellation()
VertexElementIterator GetElementIteratorEnd()
virtual double GetSurfaceAreaOfElement(unsigned index)