Chaste Release::3.1
|
#include <SurfaceAreaConstraintPottsUpdateRule.hpp>
Public Member Functions | |
SurfaceAreaConstraintPottsUpdateRule () | |
~SurfaceAreaConstraintPottsUpdateRule () | |
double | EvaluateHamiltonianContribution (unsigned currentNodeIndex, unsigned targetNodeIndex, PottsBasedCellPopulation< DIM > &rCellPopulation) |
double | GetDeformationEnergyParameter () |
void | SetDeformationEnergyParameter (double deformationEnergyParameter) |
double | GetMatureCellTargetSurfaceArea () const |
void | SetMatureCellTargetSurfaceArea (double matureCellTargetSurfaceArea) |
void | OutputUpdateRuleParameters (out_stream &rParamsFile) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mDeformationEnergyParameter |
double | mMatureCellTargetSurfaceArea |
Friends | |
class | TestPottsUpdateRules |
class | boost::serialization::access |
A volume constraint update rule class for use in Potts based simulations.
Note this currently assumes cells don't grow, i.e the target volume is constant for each cell over time.
Definition at line 55 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
SurfaceAreaConstraintPottsUpdateRule< DIM >::SurfaceAreaConstraintPottsUpdateRule | ( | ) |
Constructor.
Definition at line 39 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
SurfaceAreaConstraintPottsUpdateRule< DIM >::~SurfaceAreaConstraintPottsUpdateRule | ( | ) |
Destructor.
Definition at line 48 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
double SurfaceAreaConstraintPottsUpdateRule< DIM >::EvaluateHamiltonianContribution | ( | unsigned | currentNodeIndex, |
unsigned | targetNodeIndex, | ||
PottsBasedCellPopulation< DIM > & | rCellPopulation | ||
) | [virtual] |
Overridden EvaluateHamiltonianContribution() method
Uses sum_elements gamma (A_i - A_i^T)^2.
currentNodeIndex | The index of the current node/lattice site |
targetNodeIndex | The index of the target node/lattice site |
rCellPopulation | The cell population |
Implements AbstractPottsUpdateRule< DIM >.
Definition at line 53 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
References EXCEPTION, PottsBasedCellPopulation< DIM >::GetNode(), and PottsBasedCellPopulation< DIM >::rGetMesh().
double SurfaceAreaConstraintPottsUpdateRule< DIM >::GetDeformationEnergyParameter | ( | ) |
Definition at line 176 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
double SurfaceAreaConstraintPottsUpdateRule< DIM >::GetMatureCellTargetSurfaceArea | ( | ) | const |
Definition at line 188 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
void SurfaceAreaConstraintPottsUpdateRule< DIM >::OutputUpdateRuleParameters | ( | out_stream & | rParamsFile | ) | [virtual] |
Overridden OutputUpdateRuleParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractPottsUpdateRule< DIM >.
Definition at line 201 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
References AbstractPottsUpdateRule< DIM >::OutputUpdateRuleParameters().
void SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Serialize the object.
archive | the archive |
version | the current version of this class |
Reimplemented from AbstractPottsUpdateRule< DIM >.
Definition at line 78 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
References SurfaceAreaConstraintPottsUpdateRule< DIM >::mDeformationEnergyParameter, and SurfaceAreaConstraintPottsUpdateRule< DIM >::mMatureCellTargetSurfaceArea.
void SurfaceAreaConstraintPottsUpdateRule< DIM >::SetDeformationEnergyParameter | ( | double | deformationEnergyParameter | ) |
Set mDeformationEnergyParameter.
deformationEnergyParameter | the new value of mDeformationEnergyParameter |
Definition at line 182 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
void SurfaceAreaConstraintPottsUpdateRule< DIM >::SetMatureCellTargetSurfaceArea | ( | double | matureCellTargetSurfaceArea | ) |
Set mMatureCellTargetSurfaceArea.
matureCellTargetSurfaceArea | the new value of mMatureCellTargetSurfaceArea |
Definition at line 194 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractPottsUpdateRule< DIM >.
Definition at line 76 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
double SurfaceAreaConstraintPottsUpdateRule< DIM >::mDeformationEnergyParameter [private] |
Cell deformation energy parameter. Set to the default value 0.5 in the constructor.
Definition at line 66 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
double SurfaceAreaConstraintPottsUpdateRule< DIM >::mMatureCellTargetSurfaceArea [private] |
Definition at line 74 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().