36#ifndef ABSTRACTONLATTICECELLPOPULATION_HPP_
37#define ABSTRACTONLATTICECELLPOPULATION_HPP_
39#include "AbstractCellPopulation.hpp"
40#include "AbstractUpdateRule.hpp"
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);
void SetUpdateNodesInRandomOrder(bool updateNodesInRandomOrder)
bool GetUpdateNodesInRandomOrder()
std::vector< boost::shared_ptr< AbstractUpdateRule< DIM > > > mUpdateRuleCollection
virtual void OutputCellPopulationParameters(out_stream &rParamsFile)
virtual double GetDefaultTimeStep()
virtual ~AbstractOnLatticeCellPopulation()
void SetNode(unsigned index, ChastePoint< DIM > &rNewLocation)
void serialize(Archive &archive, const unsigned int version)
bool mUpdateNodesInRandomOrder
virtual const std::vector< boost::shared_ptr< AbstractUpdateRule< DIM > > > GetUpdateRuleCollection() const
friend class boost::serialization::access
std::set< unsigned > GetNeighbouringNodeIndices(unsigned index)
virtual void RemoveAllUpdateRules()
bool GetIterateRandomlyOverUpdateRuleCollection()
void SetIterateRandomlyOverUpdateRuleCollection(bool iterateRandomly)
virtual void UpdateCellLocations(double dt)=0
virtual void AddUpdateRule(boost::shared_ptr< AbstractUpdateRule< DIM > > pUpdateRule)=0
bool mIterateRandomlyOverUpdateRuleCollection