36 #include "CellMutationStatesCountWriter.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>
57 *this->mpOutStream <<
"Time\t ";
59 const std::vector<boost::shared_ptr<AbstractCellProperty> >& r_cell_properties =
62 for (
unsigned i=0; i<r_cell_properties.size(); i++)
64 if (r_cell_properties[i]->IsSubType<AbstractCellMutationState>())
66 *this->mpOutStream << r_cell_properties[i]->GetIdentifier() <<
"\t ";
73 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
80 for (
unsigned i=0; i<mutation_state_count.size(); i++)
82 *this->mpOutStream << mutation_state_count[i] <<
"\t";
87 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
94 for (
unsigned i=0; i<mutation_state_count.size(); i++)
96 *this->mpOutStream << mutation_state_count[i] <<
"\t";
101 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
104 VisitAnyPopulation(pCellPopulation);
107 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
110 VisitAnyPopulation(pCellPopulation);
113 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
116 VisitAnyPopulation(pCellPopulation);
119 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
122 VisitAnyPopulation(pCellPopulation);
void SetDefaultCellMutationStateAndProliferativeTypeOrdering()
virtual void Visit(MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
CellMutationStatesCountWriter()
boost::shared_ptr< CellPropertyRegistry > GetCellPropertyRegistry()
virtual void WriteHeader(AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
void VisitAnyPopulation(AbstractCellPopulation< SPACE_DIM, SPACE_DIM > *pCellPopulation)
std::vector< unsigned > GetCellMutationStateCount()