36 #ifndef ONLATTICESIMULATION_HPP_
37 #define ONLATTICESIMULATION_HPP_
40 #include <boost/serialization/base_object.hpp>
42 #include "AbstractCellBasedSimulation.hpp"
43 #include "AbstractPottsUpdateRule.hpp"
44 #include "AbstractCaUpdateRule.hpp"
58 template<
unsigned DIM>
71 template<
class Archive>
72 void serialize(Archive & archive,
const unsigned int version)
74 archive & boost::serialization::base_object<AbstractCellBasedSimulation<DIM> >(*this);
123 bool deleteCellPopulationInDestructor=
false,
124 bool initialiseCells=
true);
184 namespace serialization
189 template<
class Archive,
unsigned DIM>
190 inline void save_construct_data(
195 ar & p_cell_population;
201 template<
class Archive,
unsigned DIM>
202 inline void load_construct_data(
207 ar >> p_cell_population;
void RemoveAllCaSwitchingUpdateRules()
void AddCaSwitchingUpdateRule(boost::shared_ptr< AbstractCaSwitchingUpdateRule< DIM > > pUpdateRule)
void serialize(Archive &archive, const unsigned int version)
void RemoveAllPottsUpdateRules()
AbstractCellPopulation< ELEMENT_DIM, ELEMENT_DIM > & rGetCellPopulation()
friend class boost::serialization::access
virtual c_vector< double, DIM > CalculateCellDivisionVector(CellPtr pParentCell)
void UpdateCellLocationsAndTopology()
void AddPottsUpdateRule(boost::shared_ptr< AbstractPottsUpdateRule< DIM > > pUpdateRule)
virtual void WriteVisualizerSetupFile()
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
void OutputSimulationParameters(out_stream &rParamsFile)
void RemoveAllCaUpdateRules()
OnLatticeSimulation(AbstractCellPopulation< DIM > &rCellPopulation, bool deleteCellPopulationInDestructor=false, bool initialiseCells=true)
void OutputAdditionalSimulationSetup(out_stream &rParamsFile)
void UpdateCellPopulation()
void AddCaUpdateRule(boost::shared_ptr< AbstractCaUpdateRule< DIM > > pUpdateRule)