36 #include "AbstractCellPopulation.hpp" 37 #include "boost/lexical_cast.hpp" 38 #include "MicrovesselSimulationModifier.hpp" 39 #include "BaseUnits.hpp" 41 template<
unsigned DIM>
46 mCellPopulationReferenceLength(
BaseUnits::Instance()->GetReferenceLengthScale()),
47 mCellPopulationReferenceConcentration(
BaseUnits::Instance()->GetReferenceConcentrationScale())
51 template<
unsigned DIM>
56 template <
unsigned DIM>
63 template<
unsigned DIM>
76 EXCEPTION(
"A MicrovesselSolver is required for this modifier.");
79 rCellPopulation.Update();
81 for (
typename AbstractCellPopulation<DIM>::Iterator cell_iter = rCellPopulation.Begin();
82 cell_iter != rCellPopulation.End();
86 cell_iter->GetCellData()->SetItem(
"oxygen", 0.0);
93 template<
unsigned DIM>
99 template<
unsigned DIM>
105 template<
unsigned DIM>
111 template<
unsigned DIM>
117 template<
unsigned DIM>
127 template<
unsigned DIM>
131 rCellPopulation.Update();
137 template<
unsigned DIM>
149 #include "SerializationExportWrapperForCpp.hpp" void UpdateCellData(AbstractCellPopulation< DIM, DIM > &rCellPopulation)
void SetCellPopulationConcentrationScale(units::quantity< unit::concentration > cellConcentrationScale)
void SetMicrovesselSolver(boost::shared_ptr< MicrovesselSolver< DIM > > pSolver)
units::quantity< unit::concentration > mCellPopulationReferenceConcentration
boost::shared_ptr< MicrovesselSolver< DIM > > mpSolver
std::vector< std::string > mUpdateLabels
virtual ~MicrovesselSimulationModifier()
virtual void UpdateAtEndOfTimeStep(AbstractCellPopulation< DIM, DIM > &rCellPopulation)
void SetCellDataUpdateLabels(std::vector< std::string > labels)
MicrovesselSimulationModifier()
units::quantity< unit::length > mCellPopulationReferenceLength
virtual void SetupSolve(AbstractCellPopulation< DIM, DIM > &rCellPopulation, std::string outputDirectory)
void OutputSimulationModifierParameters(out_stream &rParamsFile)
void SetCellPopulationLengthScale(units::quantity< unit::length > cellLengthScale)
static boost::shared_ptr< MicrovesselSimulationModifier< DIM > > Create()