36 #include "AbstractOffLatticeCellPopulation.hpp"
38 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
40 std::vector<CellPtr>& rCells,
41 const std::vector<unsigned> locationIndices)
43 mDampingConstantNormal(1.0),
44 mDampingConstantMutant(1.0),
45 mAbsoluteMovementThreshold(2.0)
49 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
55 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
58 assert(dampingConstantNormal > 0.0);
59 mDampingConstantNormal = dampingConstantNormal;
62 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
65 assert(dampingConstantMutant > 0.0);
66 mDampingConstantMutant = dampingConstantMutant;
69 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
72 mAbsoluteMovementThreshold = absoluteMovementThreshold;
75 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
78 return mDampingConstantNormal;
81 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
84 return mDampingConstantMutant;
87 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
90 return mAbsoluteMovementThreshold;
93 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
96 *rParamsFile <<
"\t\t<DampingConstantNormal>" << mDampingConstantNormal <<
"</DampingConstantNormal>\n";
97 *rParamsFile <<
"\t\t<DampingConstantMutant>" << mDampingConstantMutant <<
"</DampingConstantMutant>\n";
void SetAbsoluteMovementThreshold(double absoluteMovementThreshold)
double GetDampingConstantNormal()
virtual void OutputCellPopulationParameters(out_stream &rParamsFile)=0
double GetDampingConstantMutant()
void SetDampingConstantNormal(double dampingConstantNormal)
double GetAbsoluteMovementThreshold()
virtual void OutputCellPopulationParameters(out_stream &rParamsFile)
void SetDampingConstantMutant(double dampingConstantMutant)
AbstractOffLatticeCellPopulation(AbstractMesh< ELEMENT_DIM, SPACE_DIM > &rMesh)