Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#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.
SurfaceAreaConstraintPottsUpdateRule< DIM >::~SurfaceAreaConstraintPottsUpdateRule | ( | ) |
Destructor.
Definition at line 48 of file SurfaceAreaConstraintPottsUpdateRule.cpp.
|
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(), Node< SPACE_DIM >::rGetContainingElementIndices(), 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.
|
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 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 82 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 |
Definition at line 73 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
|
friend |
Definition at line 54 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
|
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 >::serialize().
|
private |
Definition at line 71 of file SurfaceAreaConstraintPottsUpdateRule.hpp.
Referenced by SurfaceAreaConstraintPottsUpdateRule< DIM >::serialize().