36 #include "CellMutationStatesCountWriter.hpp" 38 #include "AbstractCellPopulation.hpp" 39 #include "MeshBasedCellPopulation.hpp" 40 #include "CaBasedCellPopulation.hpp" 41 #include "NodeBasedCellPopulation.hpp" 42 #include "PottsBasedCellPopulation.hpp" 43 #include "VertexBasedCellPopulation.hpp" 45 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
51 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
60 const std::vector<boost::shared_ptr<AbstractCellProperty> >& r_cell_properties =
63 for (
unsigned i=0; i<r_cell_properties.size(); i++)
65 if (r_cell_properties[i]->IsSubType<AbstractCellMutationState>())
67 *this->
mpOutStream << r_cell_properties[i]->GetIdentifier() <<
"\t ";
74 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
81 for (
unsigned i=0; i<mutation_state_count.size(); i++)
83 *this->
mpOutStream << mutation_state_count[i] <<
"\t";
88 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
95 for (
unsigned i=0; i<mutation_state_count.size(); i++)
97 *this->
mpOutStream << mutation_state_count[i] <<
"\t";
102 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
108 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
114 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
120 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
virtual void WriteNewline()
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()