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>
56 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
64 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
67 assert(dampingConstantNormal > 0.0);
68 mDampingConstantNormal = dampingConstantNormal;
71 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
74 assert(dampingConstantMutant > 0.0);
75 mDampingConstantMutant = dampingConstantMutant;
78 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
81 mAbsoluteMovementThreshold = absoluteMovementThreshold;
84 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
87 return mDampingConstantNormal;
90 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
93 return mDampingConstantMutant;
96 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
99 return mAbsoluteMovementThreshold;
102 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
105 *rParamsFile <<
"\t\t<DampingConstantNormal>" << mDampingConstantNormal <<
"</DampingConstantNormal>\n";
106 *rParamsFile <<
"\t\t<DampingConstantMutant>" << mDampingConstantMutant <<
"</DampingConstantMutant>\n";
void SetAbsoluteMovementThreshold(double absoluteMovementThreshold)
double GetDampingConstantNormal()
virtual void OutputCellPopulationParameters(out_stream &rParamsFile)=0
double GetDampingConstantMutant()
virtual void UpdateNodeLocations(double dt)
void SetDampingConstantNormal(double dampingConstantNormal)
double GetAbsoluteMovementThreshold()
virtual void OutputCellPopulationParameters(out_stream &rParamsFile)
void SetDampingConstantMutant(double dampingConstantMutant)
AbstractOffLatticeCellPopulation(AbstractMesh< ELEMENT_DIM, SPACE_DIM > &rMesh)