36 #include "NodeLocationWriter.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>
54 node_iter != pCellPopulation->
rGetMesh().GetNodeIteratorEnd();
57 if (!node_iter->IsDeleted())
59 const c_vector<double,SPACE_DIM>& position = node_iter->rGetLocation();
61 for (
unsigned i=0; i<SPACE_DIM; i++)
63 *this->mpOutStream << position[i] <<
" ";
69 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
73 node_iter != pCellPopulation->
rGetMesh().GetNodeIteratorEnd();
76 if (!node_iter->IsDeleted())
78 const c_vector<double,SPACE_DIM>& position = node_iter->rGetLocation();
80 for (
unsigned i=0; i<SPACE_DIM; i++)
82 *this->mpOutStream << position[i] <<
" ";
88 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
91 VisitAnyPopulation(pCellPopulation);
94 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
97 VisitAnyPopulation(pCellPopulation);
100 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
103 VisitAnyPopulation(pCellPopulation);
106 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
109 VisitAnyPopulation(pCellPopulation);
virtual void Visit(MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
MutableMesh< ELEMENT_DIM, SPACE_DIM > & rGetMesh()
void VisitAnyPopulation(AbstractCellPopulation< SPACE_DIM, SPACE_DIM > *pCellPopulation)
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
AbstractMesh< ELEMENT_DIM, SPACE_DIM > & rGetMesh()