36 #include "CryptSimulation2d.hpp" 37 #include "CellAncestor.hpp" 38 #include "CellBetaCateninWriter.hpp" 39 #include "MeshBasedCellPopulation.hpp" 41 #include "StemCellProliferativeType.hpp" 42 #include "VanLeeuwen2009WntSwatCellCycleModelHypothesisOne.hpp" 43 #include "VanLeeuwen2009WntSwatCellCycleModelHypothesisTwo.hpp" 44 #include "WntConcentration.hpp" 47 bool deleteCellPopulationInDestructor,
50 deleteCellPopulationInDestructor,
52 mUsingMeshBasedCellPopulation(false)
61 EXCEPTION(
"CryptSimulation2d is to be used with MeshBasedCellPopulation or VertexBasedCellPopulation (or subclasses) only");
100 if (dynamic_cast<AbstractVanLeeuwen2009WntSwatCellCycleModel*>(this->
mrCellPopulation.Begin()->GetCellCycleModel()))
105 if (dynamic_cast<AbstractVanLeeuwen2009WntSwatCellCycleModel*>(
mrCellPopulation.Begin()->GetCellCycleModel()))
127 double threshold_height = 1.0;
130 threshold_height = 0.5;
138 if (
mrCellPopulation.GetLocationOfCellCentre(*cell_iter)[1] < threshold_height)
141 cell_iter->SetAncestor(p_cell_ancestor);
151 *rParamsFile <<
"\t\t<CryptCircumference>" << width <<
"</CryptCircumference>\n";
152 *rParamsFile <<
"\t\t<UseJiggledBottomCells>" << use_jiggled_bottom_cells <<
"</UseJiggledBottomCells>\n";
bool mDeleteCellPopulationInDestructor
virtual void SetupSolve()
#define EXCEPTION(message)
std::vector< boost::shared_ptr< AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, ELEMENT_DIM > > > mBoundaryConditions
bool mUsingMeshBasedCellPopulation
out_stream mpVizSetupFile
#define MAKE_PTR(TYPE, NAME)
CryptSimulation2d(AbstractCellPopulation< 2 > &rCellPopulation, bool deleteCellPopulationInDestructor=false, bool initialiseCells=true)
void UseJiggledBottomCells()
void OutputSimulationParameters(out_stream &rParamsFile)
void SetBottomCellAncestors()
#define CHASTE_CLASS_EXPORT(T)
virtual ~CryptSimulation2d()
#define MAKE_PTR_ARGS(TYPE, NAME, ARGS)
virtual void OutputSimulationParameters(out_stream &rParamsFile)
void AddCellPopulationBoundaryCondition(boost::shared_ptr< AbstractCellPopulationBoundaryCondition< ELEMENT_DIM, ELEMENT_DIM > > pBoundaryCondition)
AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > & mrCellPopulation