Chaste
Release::2017.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) |
Public Member Functions inherited from AbstractPottsUpdateRule< DIM > | |
AbstractPottsUpdateRule () | |
virtual | ~AbstractPottsUpdateRule () |
Public Member Functions inherited from AbstractUpdateRule< DIM > | |
AbstractUpdateRule () | |
virtual | ~AbstractUpdateRule () |
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 | 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 52 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
SurfaceAreaConstraintPottsUpdateRule< DIM >::SurfaceAreaConstraintPottsUpdateRule | ( | ) |
Constructor.
Definition at line 39 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
SurfaceAreaConstraintPottsUpdateRule< DIM >::~SurfaceAreaConstraintPottsUpdateRule | ( | ) |
Destructor.
Definition at line 48 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
|
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(), SurfaceAreaConstraintPottsUpdateRule< DIM >::mDeformationEnergyParameter, SurfaceAreaConstraintPottsUpdateRule< DIM >::mMatureCellTargetSurfaceArea, and PottsBasedCellPopulation< DIM >::rGetMesh().
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
double SurfaceAreaConstraintPottsUpdateRule< DIM >::GetDeformationEnergyParameter | ( | ) |
Definition at line 176 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
References SurfaceAreaConstraintPottsUpdateRule< DIM >::mDeformationEnergyParameter.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
double SurfaceAreaConstraintPottsUpdateRule< DIM >::GetMatureCellTargetSurfaceArea | ( | ) | const |
Definition at line 188 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
References SurfaceAreaConstraintPottsUpdateRule< DIM >::mMatureCellTargetSurfaceArea.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
|
virtual |
Overridden OutputUpdateRuleParameters() method.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractPottsUpdateRule< DIM >.
Definition at line 201 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
References EXPORT_TEMPLATE_CLASS_SAME_DIMS, SurfaceAreaConstraintPottsUpdateRule< DIM >::mDeformationEnergyParameter, SurfaceAreaConstraintPottsUpdateRule< DIM >::mMatureCellTargetSurfaceArea, and AbstractPottsUpdateRule< DIM >::OutputUpdateRuleParameters().
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
|
inlineprivate |
Boost Serialization method for archiving/checkpointing. Archives the object and its member variables.
archive | The boost archive. |
version | The current version of this class. |
Definition at line 82 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
References SurfaceAreaConstraintPottsUpdateRule< DIM >::EvaluateHamiltonianContribution(), EXPORT_TEMPLATE_CLASS_SAME_DIMS, SurfaceAreaConstraintPottsUpdateRule< DIM >::GetDeformationEnergyParameter(), SurfaceAreaConstraintPottsUpdateRule< DIM >::GetMatureCellTargetSurfaceArea(), SurfaceAreaConstraintPottsUpdateRule< DIM >::mDeformationEnergyParameter, SurfaceAreaConstraintPottsUpdateRule< DIM >::mMatureCellTargetSurfaceArea, SurfaceAreaConstraintPottsUpdateRule< DIM >::OutputUpdateRuleParameters(), SurfaceAreaConstraintPottsUpdateRule< DIM >::SetDeformationEnergyParameter(), SurfaceAreaConstraintPottsUpdateRule< DIM >::SetMatureCellTargetSurfaceArea(), SurfaceAreaConstraintPottsUpdateRule< DIM >::SurfaceAreaConstraintPottsUpdateRule(), and SurfaceAreaConstraintPottsUpdateRule< DIM >::~SurfaceAreaConstraintPottsUpdateRule().
void SurfaceAreaConstraintPottsUpdateRule< DIM >::SetDeformationEnergyParameter | ( | double | deformationEnergyParameter | ) |
Set mDeformationEnergyParameter.
deformationEnergyParameter | the new value of mDeformationEnergyParameter |
Definition at line 182 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
References SurfaceAreaConstraintPottsUpdateRule< DIM >::mDeformationEnergyParameter.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
void SurfaceAreaConstraintPottsUpdateRule< DIM >::SetMatureCellTargetSurfaceArea | ( | double | matureCellTargetSurfaceArea | ) |
Set mMatureCellTargetSurfaceArea.
matureCellTargetSurfaceArea | the new value of mMatureCellTargetSurfaceArea |
Definition at line 194 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
References SurfaceAreaConstraintPottsUpdateRule< DIM >::mMatureCellTargetSurfaceArea.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().
|
private |
Cell deformation energy parameter. Set to the default value 0.5 in the constructor.
Definition at line 63 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::EvaluateHamiltonianContribution(), SurfaceAreaConstraintPottsUpdateRule< DIM >::GetDeformationEnergyParameter(), SurfaceAreaConstraintPottsUpdateRule< DIM >::OutputUpdateRuleParameters(), SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize(), and SurfaceAreaConstraintPottsUpdateRule< DIM >::SetDeformationEnergyParameter().
|
private |
Definition at line 71 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::EvaluateHamiltonianContribution(), SurfaceAreaConstraintPottsUpdateRule< DIM >::GetMatureCellTargetSurfaceArea(), SurfaceAreaConstraintPottsUpdateRule< DIM >::OutputUpdateRuleParameters(), SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize(), and SurfaceAreaConstraintPottsUpdateRule< DIM >::SetMatureCellTargetSurfaceArea().