36 #include "DifferentialAdhesionPottsUpdateRule.hpp"
38 #include "CellLabel.hpp"
40 template<
unsigned DIM>
43 mLabelledCellLabelledCellAdhesionEnergyParameter(0.1),
44 mLabelledCellCellAdhesionEnergyParameter(0.1),
45 mLabelledCellBoundaryAdhesionEnergyParameter(0.2)
49 template<
unsigned DIM>
54 template<
unsigned DIM>
59 return GetLabelledCellLabelledCellAdhesionEnergyParameter();
63 return GetLabelledCellCellAdhesionEnergyParameter();
67 return this->GetCellCellAdhesionEnergyParameter();
71 template<
unsigned DIM>
76 return GetLabelledCellBoundaryAdhesionEnergyParameter();
80 return this->GetCellBoundaryAdhesionEnergyParameter();
84 template<
unsigned DIM>
87 return mLabelledCellLabelledCellAdhesionEnergyParameter;
90 template<
unsigned DIM>
93 return mLabelledCellCellAdhesionEnergyParameter;
96 template<
unsigned DIM>
99 return mLabelledCellBoundaryAdhesionEnergyParameter;
102 template<
unsigned DIM>
105 mLabelledCellLabelledCellAdhesionEnergyParameter = labelledCellLabelledCellAdhesionEnergyParameter;
108 template<
unsigned DIM>
111 mLabelledCellCellAdhesionEnergyParameter = labelledCellCellAdhesionEnergyParameter;
114 template<
unsigned DIM>
117 mLabelledCellBoundaryAdhesionEnergyParameter = labelledCellBoundaryAdhesionEnergyParameter;
120 template<
unsigned DIM>
123 *rParamsFile <<
"\t\t\t<LabelledCellLabelledCellAdhesionEnergyParameter>" << mLabelledCellLabelledCellAdhesionEnergyParameter <<
"</LabelledCellLabelledCellAdhesionEnergyParameter>\n";
124 *rParamsFile <<
"\t\t\t<LabelledCellCellAdhesionEnergyParameter>" << mLabelledCellCellAdhesionEnergyParameter <<
"</LabelledCellCellAdhesionEnergyParameter>\n";
125 *rParamsFile <<
"\t\t\t<LabelledCellBoundaryAdhesionEnergyParameter>" << mLabelledCellBoundaryAdhesionEnergyParameter <<
"</LabelledCellBoundaryAdhesionEnergyParameter>\n";
void OutputUpdateRuleParameters(out_stream &rParamsFile)
virtual double GetCellCellAdhesionEnergy(CellPtr pCellA, CellPtr pCellB)
double GetLabelledCellCellAdhesionEnergyParameter()
void OutputUpdateRuleParameters(out_stream &rParamsFile)
void SetLabelledCellLabelledCellAdhesionEnergyParameter(double labelledCellLabelledCellAdhesionEnergyParameter)
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
double GetLabelledCellLabelledCellAdhesionEnergyParameter()
double GetLabelledCellBoundaryAdhesionEnergyParameter()
DifferentialAdhesionPottsUpdateRule()
virtual ~DifferentialAdhesionPottsUpdateRule()
void SetLabelledCellBoundaryAdhesionEnergyParameter(double labelledCellBoundaryAdhesionEnergyParameter)
void SetLabelledCellCellAdhesionEnergyParameter(double labelledCellCellAdhesionEnergyParameter)
virtual double GetCellBoundaryAdhesionEnergy(CellPtr pCell)