Chaste  Release::3.4
DifferentialAdhesionPottsUpdateRule< DIM > Class Template Reference

#include <DifferentialAdhesionPottsUpdateRule.hpp>

+ Inheritance diagram for DifferentialAdhesionPottsUpdateRule< DIM >:
+ Collaboration diagram for DifferentialAdhesionPottsUpdateRule< DIM >:

Public Member Functions

 DifferentialAdhesionPottsUpdateRule ()
 
virtual ~DifferentialAdhesionPottsUpdateRule ()
 
virtual double GetCellCellAdhesionEnergy (CellPtr pCellA, CellPtr pCellB)
 
virtual double GetCellBoundaryAdhesionEnergy (CellPtr pCell)
 
double GetLabelledCellLabelledCellAdhesionEnergyParameter ()
 
double GetLabelledCellCellAdhesionEnergyParameter ()
 
double GetLabelledCellBoundaryAdhesionEnergyParameter ()
 
void SetLabelledCellLabelledCellAdhesionEnergyParameter (double labelledCellLabelledCellAdhesionEnergyParameter)
 
void SetLabelledCellCellAdhesionEnergyParameter (double labelledCellCellAdhesionEnergyParameter)
 
void SetLabelledCellBoundaryAdhesionEnergyParameter (double labelledCellBoundaryAdhesionEnergyParameter)
 
void OutputUpdateRuleParameters (out_stream &rParamsFile)
 
- Public Member Functions inherited from AdhesionPottsUpdateRule< DIM >
 AdhesionPottsUpdateRule ()
 
virtual ~AdhesionPottsUpdateRule ()
 
double EvaluateHamiltonianContribution (unsigned currentNodeIndex, unsigned targetNodeIndex, PottsBasedCellPopulation< DIM > &rCellPopulation)
 
double GetCellCellAdhesionEnergyParameter ()
 
double GetCellBoundaryAdhesionEnergyParameter ()
 
void SetCellCellAdhesionEnergyParameter (double cellCellAdhesionEnergyEnergyParameter)
 
void SetCellBoundaryAdhesionEnergyParameter (double cellBoundaryAdhesionEnergyParameter)
 
- Public Member Functions inherited from AbstractPottsUpdateRule< DIM >
 AbstractPottsUpdateRule ()
 
virtual ~AbstractPottsUpdateRule ()
 
void OutputUpdateRuleInfo (out_stream &rParamsFile)
 
- Public Member Functions inherited from Identifiable
virtual ~Identifiable ()
 
std::string GetIdentifier () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)
 

Private Attributes

double mLabelledCellLabelledCellAdhesionEnergyParameter
 
double mLabelledCellCellAdhesionEnergyParameter
 
double mLabelledCellBoundaryAdhesionEnergyParameter
 

Friends

class TestPottsUpdateRules
 
class boost::serialization::access
 

Detailed Description

template<unsigned DIM>
class DifferentialAdhesionPottsUpdateRule< DIM >

An adhesion update rule for use in cell-based simulations using the cellular Potts model. This rule implements differential adhesion between unlabelled and labelled cells

Definition at line 50 of file DifferentialAdhesionPottsUpdateRule.hpp.

Constructor & Destructor Documentation

Constructor.

Definition at line 39 of file DifferentialAdhesionPottsUpdateRule.cpp.

template<unsigned DIM>
DifferentialAdhesionPottsUpdateRule< DIM >::~DifferentialAdhesionPottsUpdateRule ( )
virtual

Destructor.

Definition at line 48 of file DifferentialAdhesionPottsUpdateRule.cpp.

Member Function Documentation

template<unsigned DIM>
double DifferentialAdhesionPottsUpdateRule< DIM >::GetCellBoundaryAdhesionEnergy ( CellPtr  pCell)
virtual

Overridden GetCellBoundaryAdhesionEnergy method to implement differential adhesion.

Parameters
pCellpointer to the cell
Returns
Cell boundary interaction adhesion energy for the cell

Reimplemented from AdhesionPottsUpdateRule< DIM >.

Definition at line 70 of file DifferentialAdhesionPottsUpdateRule.cpp.

template<unsigned DIM>
double DifferentialAdhesionPottsUpdateRule< DIM >::GetCellCellAdhesionEnergy ( CellPtr  pCellA,
CellPtr  pCellB 
)
virtual

Overridden GetCellCellAdhesionEnergy method to implement differential adhesion.

Parameters
pCellApointer to the 1st cell
pCellBpointer to the 2nd cell
Returns
The cell cell interaction adhesion energy between the two cells

Reimplemented from AdhesionPottsUpdateRule< DIM >.

Definition at line 53 of file DifferentialAdhesionPottsUpdateRule.cpp.

template<unsigned DIM>
double DifferentialAdhesionPottsUpdateRule< DIM >::GetLabelledCellBoundaryAdhesionEnergyParameter ( )
Returns
mLabelledCellBoundaryAdhesionEnergyParameter

Definition at line 95 of file DifferentialAdhesionPottsUpdateRule.cpp.

template<unsigned DIM>
double DifferentialAdhesionPottsUpdateRule< DIM >::GetLabelledCellCellAdhesionEnergyParameter ( )
Returns
mLabelledCellCellAdhesionEnergyParameter

Definition at line 89 of file DifferentialAdhesionPottsUpdateRule.cpp.

template<unsigned DIM>
double DifferentialAdhesionPottsUpdateRule< DIM >::GetLabelledCellLabelledCellAdhesionEnergyParameter ( )
Returns
mLabelledCellLabelledCellAdhesionEnergyParameter

Definition at line 83 of file DifferentialAdhesionPottsUpdateRule.cpp.

template<unsigned DIM>
void DifferentialAdhesionPottsUpdateRule< DIM >::OutputUpdateRuleParameters ( out_stream &  rParamsFile)
virtual

Overridden OutputUpdateRuleParameters() method.

Parameters
rParamsFilethe file stream to which the parameters are output

Reimplemented from AdhesionPottsUpdateRule< DIM >.

Definition at line 119 of file DifferentialAdhesionPottsUpdateRule.cpp.

References AdhesionPottsUpdateRule< DIM >::OutputUpdateRuleParameters().

template<unsigned DIM>
template<class Archive >
void DifferentialAdhesionPottsUpdateRule< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
)
inlineprivate

Boost Serialization method for archiving/checkpointing. Archives the object and its member variables.

Parameters
archiveThe boost archive.
versionThe current version of this class.

Definition at line 86 of file DifferentialAdhesionPottsUpdateRule.hpp.

References DifferentialAdhesionPottsUpdateRule< DIM >::mLabelledCellBoundaryAdhesionEnergyParameter, DifferentialAdhesionPottsUpdateRule< DIM >::mLabelledCellCellAdhesionEnergyParameter, and DifferentialAdhesionPottsUpdateRule< DIM >::mLabelledCellLabelledCellAdhesionEnergyParameter.

template<unsigned DIM>
void DifferentialAdhesionPottsUpdateRule< DIM >::SetLabelledCellBoundaryAdhesionEnergyParameter ( double  labelledCellBoundaryAdhesionEnergyParameter)

Set mLabelledCellBoundaryAdhesionEnergyParameter.

Parameters
labelledCellBoundaryAdhesionEnergyParameterthe new value of mLabelledCellBoundaryAdhesionEnergyParameter

Definition at line 113 of file DifferentialAdhesionPottsUpdateRule.cpp.

template<unsigned DIM>
void DifferentialAdhesionPottsUpdateRule< DIM >::SetLabelledCellCellAdhesionEnergyParameter ( double  labelledCellCellAdhesionEnergyParameter)

Set mLabelledCellCellAdhesionEnergyParameter.

Parameters
labelledCellCellAdhesionEnergyParameterthe new value of mLabelledCelldCellAdhesionEnergyParameter

Definition at line 107 of file DifferentialAdhesionPottsUpdateRule.cpp.

template<unsigned DIM>
void DifferentialAdhesionPottsUpdateRule< DIM >::SetLabelledCellLabelledCellAdhesionEnergyParameter ( double  labelledCellLabelledCellAdhesionEnergyParameter)

Set mLabelledCellLabelledCellAdhesionEnergyParameter.

Parameters
labelledCellLabelledCellAdhesionEnergyParameterthe new value of mLabelledCellLabelledCellAdhesionEnergyParameter

Definition at line 101 of file DifferentialAdhesionPottsUpdateRule.cpp.

Member Data Documentation

template<unsigned DIM>
double DifferentialAdhesionPottsUpdateRule< DIM >::mLabelledCellBoundaryAdhesionEnergyParameter
private

LabelledCell-boundary adhesion energy parameter. Set to the default value 0.2 in the constructor.

Todo:
provide units

Definition at line 75 of file DifferentialAdhesionPottsUpdateRule.hpp.

Referenced by DifferentialAdhesionPottsUpdateRule< DIM >::serialize().

template<unsigned DIM>
double DifferentialAdhesionPottsUpdateRule< DIM >::mLabelledCellCellAdhesionEnergyParameter
private

LablledCell-cell adhesion energy parameter. Set to the default value 0.1 in the constructor.

Todo:
provide units

Definition at line 68 of file DifferentialAdhesionPottsUpdateRule.hpp.

Referenced by DifferentialAdhesionPottsUpdateRule< DIM >::serialize().

template<unsigned DIM>
double DifferentialAdhesionPottsUpdateRule< DIM >::mLabelledCellLabelledCellAdhesionEnergyParameter
private

LabelledCell-LabelledCell adhesion energy parameter. Set to the default value 0.1 in the constructor.

Todo:
provide units

Definition at line 61 of file DifferentialAdhesionPottsUpdateRule.hpp.

Referenced by DifferentialAdhesionPottsUpdateRule< DIM >::serialize().


The documentation for this class was generated from the following files: