36#include "CellSrnModel.hpp"
40 mpInteriorSrnModel(nullptr)
56 mEdgeSrnModels.push_back(boost::shared_ptr<AbstractSrnModel>(iter->CreateSrnModel()));
98 iter->ResetForDivision();
111 iter->SimulateToCurrentTime();
130 for (
unsigned i=0; i<edgeSrns.size(); ++i)
132 edgeSrns[i]->SetEdgeModelIndicator(
true);
140 pEdgeSrn->SetEdgeModelIndicator(
true);
178 iter->SetCell(pCell);
#define CHASTE_CLASS_EXPORT(T)
virtual void SetCell(CellPtr pCell)
bool HasEdgeModel() const
void AddEdgeSrn(std::vector< AbstractSrnModelPtr > edgeSrns)
unsigned GetNumEdgeSrn() const
AbstractSrnModelPtr GetEdgeSrn(unsigned index) const
virtual void Initialise()
virtual AbstractSrnModel * CreateSrnModel()
virtual void SetCell(CellPtr pCell)
virtual void ResetForDivision()
const std::vector< AbstractSrnModelPtr > & GetEdges() const
std::vector< boost::shared_ptr< AbstractSrnModel > > mEdgeSrnModels
void AddEdgeSrnModel(AbstractSrnModelPtr pEdgeSrn)
void SetInteriorSrnModel(AbstractSrnModelPtr pInteriorSrn)
boost::shared_ptr< AbstractSrnModel > mpInteriorSrnModel
AbstractSrnModelPtr GetInteriorSrn() const
virtual void SimulateToCurrentTime()
static SimulationTime * Instance()