36 #ifndef ABSTRACTONLATTICECELLPOPULATION_HPP_
37 #define ABSTRACTONLATTICECELLPOPULATION_HPP_
39 #include "AbstractCellPopulation.hpp"
40 #include "AbstractUpdateRule.hpp"
45 template<
unsigned DIM>
58 template<
class Archive>
59 void serialize(Archive & archive,
const unsigned int version)
61 archive & boost::serialization::base_object<AbstractCellPopulation<DIM> >(*this);
112 std::vector<CellPtr>& rCells,
113 const std::vector<unsigned> locationIndices=std::vector<unsigned>(),
114 bool deleteMesh=
false);
bool GetUpdateNodesInRandomOrder()
void SetUpdateNodesInRandomOrder(bool updateNodesInRandomOrder)
void SetIterateRandomlyOverUpdateRuleCollection(bool iterateRandomly)
friend class boost::serialization::access
std::set< unsigned > GetNeighbouringNodeIndices(unsigned index)
void SetNode(unsigned index, ChastePoint< DIM > &rNewLocation)
virtual void OutputCellPopulationParameters(out_stream &rParamsFile)
AbstractOnLatticeCellPopulation(AbstractMesh< DIM, DIM > &rMesh)
virtual void RemoveAllUpdateRules()
virtual ~AbstractOnLatticeCellPopulation()
virtual void AddUpdateRule(boost::shared_ptr< AbstractUpdateRule< DIM > > pUpdateRule)=0
void serialize(Archive &archive, const unsigned int version)
virtual void UpdateCellLocations(double dt)=0
std::vector< boost::shared_ptr< AbstractUpdateRule< DIM > > > mUpdateRuleCollection
virtual const std::vector< boost::shared_ptr< AbstractUpdateRule< DIM > > > GetUpdateRuleCollection() const
virtual double GetDefaultTimeStep()
bool mIterateRandomlyOverUpdateRuleCollection
bool GetIterateRandomlyOverUpdateRuleCollection()
bool mUpdateNodesInRandomOrder