36 #include "TargetedCellKiller.hpp"
38 template<
unsigned DIM>
41 mTargetIndex(targetedIndex),
46 template<
unsigned DIM>
52 template<
unsigned DIM>
58 template<
unsigned DIM>
61 if ( !mBloodLust || this->mpCellPopulation->GetNumRealCells()==0 || this->mpCellPopulation->GetNumRealCells()<mTargetIndex+1)
65 this->mpCellPopulation->GetCellUsingLocationIndex(mTargetIndex)->Kill();
69 template<
unsigned DIM>
72 *rParamsFile <<
"\t\t\t<TargetIndex>" << mTargetIndex <<
"</TargetIndex>\n";
73 *rParamsFile <<
"\t\t\t<BloodLust>" << mBloodLust <<
"</BloodLust>\n";
void OutputCellKillerParameters(out_stream &rParamsFile)
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
virtual void OutputCellKillerParameters(out_stream &rParamsFile)=0
void CheckAndLabelCellsForApoptosisOrDeath()
unsigned GetTargetIndex() const
unsigned GetBloodLust() const
TargetedCellKiller(AbstractCellPopulation< DIM > *pCellPopulation, unsigned targetedIndex, bool bloodLust=true)