36 #ifndef ADHESIONUPDATERULE_HPP_
37 #define ADHESIONUPDATERULE_HPP_
40 #include <boost/serialization/base_object.hpp>
42 #include "AbstractPottsUpdateRule.hpp"
43 #include "PottsBasedCellPopulation.hpp"
49 template<
unsigned DIM>
52 friend class TestPottsUpdateRules;
70 friend class boost::serialization::access;
78 template<
class Archive>
79 void serialize(Archive & archive,
const unsigned int version)
81 archive & boost::serialization::base_object<AbstractPottsUpdateRule<DIM> >(*this);
111 unsigned targetNodeIndex,
double GetCellCellAdhesionEnergyParameter()
double GetCellBoundaryAdhesionEnergyParameter()
double mCellCellAdhesionEnergyParameter
virtual double GetCellCellAdhesionEnergy(CellPtr pCellA, CellPtr pCellB)
void serialize(Archive &archive, const unsigned int version)
void OutputUpdateRuleParameters(out_stream &rParamsFile)
virtual double GetCellBoundaryAdhesionEnergy(CellPtr pCell)
double mCellBoundaryAdhesionEnergyParameter
double EvaluateHamiltonianContribution(unsigned currentNodeIndex, unsigned targetNodeIndex, PottsBasedCellPopulation< DIM > &rCellPopulation)
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
void SetCellBoundaryAdhesionEnergyParameter(double cellBoundaryAdhesionEnergyParameter)
void SetCellCellAdhesionEnergyParameter(double cellCellAdhesionEnergyEnergyParameter)
virtual ~AdhesionPottsUpdateRule()
AdhesionPottsUpdateRule()