36 #ifndef CRYPTSIMULATION2D_HPP_
37 #define CRYPTSIMULATION2D_HPP_
40 #include <boost/serialization/base_object.hpp>
42 #include "WntConcentration.hpp"
43 #include "OffLatticeSimulation.hpp"
44 #include "VertexBasedCellPopulation.hpp"
45 #include "CryptSimulationBoundaryCondition.hpp"
55 friend class TestCryptSimulation2dWithMeshBasedCellPopulation;
56 friend class TestCryptSimulation2dWithVertexBasedCellPopulation;
68 template<
class Archive>
69 void serialize(Archive & archive,
const unsigned int version)
71 archive & boost::serialization::base_object<OffLatticeSimulation<2> >(*this);
74 archive & p_wnt_wrapper;
121 bool deleteCellPopulationInDestructor=
false,
122 bool initialiseCells=
true);
159 namespace serialization
164 template<
class Archive>
165 inline void save_construct_data(
170 ar & p_cell_population;
176 template<
class Archive>
177 inline void load_construct_data(
182 ar & p_cell_population;
void serialize(Archive &archive, const unsigned int version)
AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > & rGetCellPopulation()
bool mUsingMeshBasedCellPopulation
CryptSimulation2d(AbstractCellPopulation< 2 > &rCellPopulation, bool deleteCellPopulationInDestructor=false, bool initialiseCells=true)
static WntConcentration * Instance()
void UseJiggledBottomCells()
void OutputSimulationParameters(out_stream &rParamsFile)
void SetBottomCellAncestors()
c_vector< double, 2 > CalculateCellDivisionVector(CellPtr pParentCell)
#define CHASTE_CLASS_EXPORT(T)
SerializableSingleton< SINGLETON_CLASS > * GetSerializationWrapper() const
friend class boost::serialization::access
virtual ~CryptSimulation2d()