![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <VolumeConstraintPottsUpdateRule.hpp>
Public Member Functions | |
VolumeConstraintPottsUpdateRule () | |
~VolumeConstraintPottsUpdateRule () | |
double | EvaluateHamiltonianContribution (unsigned currentNodeIndex, unsigned targetNodeIndex, PottsBasedCellPopulation< DIM > &rCellPopulation) |
double | GetDeformationEnergyParameter () |
void | SetDeformationEnergyParameter (double deformationEnergyParameter) |
double | GetMatureCellTargetVolume () const |
void | SetMatureCellTargetVolume (double matureCellTargetVolume) |
void | OutputUpdateRuleParameters (out_stream &rParamsFile) |
![]() | |
AbstractPottsUpdateRule () | |
virtual | ~AbstractPottsUpdateRule () |
![]() | |
AbstractUpdateRule () | |
virtual | ~AbstractUpdateRule () |
void | OutputUpdateRuleInfo (out_stream &rParamsFile) |
![]() | |
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 | mMatureCellTargetVolume |
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 VolumeConstraintPottsUpdateRule.hpp.
VolumeConstraintPottsUpdateRule< DIM >::VolumeConstraintPottsUpdateRule | ( | ) |
Constructor.
Definition at line 39 of file VolumeConstraintPottsUpdateRule.cpp.
VolumeConstraintPottsUpdateRule< DIM >::~VolumeConstraintPottsUpdateRule | ( | ) |
Destructor.
Definition at line 48 of file VolumeConstraintPottsUpdateRule.cpp.
|
virtual |
Overridden EvaluateHamiltonianContribution() method
Uses sum_elements alpha (V_i - V_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 VolumeConstraintPottsUpdateRule.cpp.
References EXCEPTION, PottsBasedCellPopulation< DIM >::GetNode(), Node< SPACE_DIM >::rGetContainingElementIndices(), and PottsBasedCellPopulation< DIM >::rGetMesh().
double VolumeConstraintPottsUpdateRule< DIM >::GetDeformationEnergyParameter | ( | ) |
Definition at line 102 of file VolumeConstraintPottsUpdateRule.cpp.
double VolumeConstraintPottsUpdateRule< DIM >::GetMatureCellTargetVolume | ( | ) | const |
Definition at line 114 of file VolumeConstraintPottsUpdateRule.cpp.
|
virtual |
Overridden OutputUpdateRuleParameters() method.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractPottsUpdateRule< DIM >.
Definition at line 127 of file VolumeConstraintPottsUpdateRule.cpp.
References AbstractPottsUpdateRule< DIM >::OutputUpdateRuleParameters().
|
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 81 of file VolumeConstraintPottsUpdateRule.hpp.
References VolumeConstraintPottsUpdateRule< DIM >::mDeformationEnergyParameter, and VolumeConstraintPottsUpdateRule< DIM >::mMatureCellTargetVolume.
void VolumeConstraintPottsUpdateRule< DIM >::SetDeformationEnergyParameter | ( | double | deformationEnergyParameter | ) |
Set mDeformationEnergyParameter.
deformationEnergyParameter | the new value of mDeformationEnergyParameter |
Definition at line 108 of file VolumeConstraintPottsUpdateRule.cpp.
void VolumeConstraintPottsUpdateRule< DIM >::SetMatureCellTargetVolume | ( | double | matureCellTargetVolume | ) |
Set mMatureCellTargetVolume.
matureCellTargetVolume | the new value of mMatureCellTargetVolume |
Definition at line 120 of file VolumeConstraintPottsUpdateRule.cpp.
|
friend |
Definition at line 72 of file VolumeConstraintPottsUpdateRule.hpp.
|
friend |
Definition at line 54 of file VolumeConstraintPottsUpdateRule.hpp.
|
private |
Cell deformation energy parameter. Set to the default value 0.5 in the constructor.
Definition at line 63 of file VolumeConstraintPottsUpdateRule.hpp.
Referenced by VolumeConstraintPottsUpdateRule< DIM >::serialize().
|
private |
Non-dimensional target volume of a mature (fully-grown) cell, given in number of lattice sites. Set to the default value 16 in the constructor.
Definition at line 70 of file VolumeConstraintPottsUpdateRule.hpp.
Referenced by VolumeConstraintPottsUpdateRule< DIM >::serialize().