Chaste
Release::3.4
|
#include <AbstractPottsUpdateRule.hpp>
Public Member Functions | |
AbstractPottsUpdateRule () | |
virtual | ~AbstractPottsUpdateRule () |
virtual double | EvaluateHamiltonianContribution (unsigned currentNodeIndex, unsigned targetNodeIndex, PottsBasedCellPopulation< DIM > &rCellPopulation)=0 |
void | OutputUpdateRuleInfo (out_stream &rParamsFile) |
virtual void | OutputUpdateRuleParameters (out_stream &rParamsFile)=0 |
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) |
Friends | |
class | boost::serialization::access |
An abstract Potts update rule class, for use in cell-based simulations using the cellular Potts model.
Definition at line 50 of file PottsBasedCellPopulation.hpp.
AbstractPottsUpdateRule< DIM >::AbstractPottsUpdateRule | ( | ) |
Default constructor.
Definition at line 39 of file AbstractPottsUpdateRule.cpp.
|
virtual |
Destructor.
Definition at line 44 of file AbstractPottsUpdateRule.cpp.
|
pure virtual |
Calculate the contribution to the Hamiltonian.
currentNodeIndex | The index of the current node/lattice site |
targetNodeIndex | The index of the target node/lattice site |
rCellPopulation | The cell population |
Implemented in SurfaceAreaConstraintPottsUpdateRule< DIM >, VolumeConstraintPottsUpdateRule< DIM >, AdhesionPottsUpdateRule< DIM >, and ChemotaxisPottsUpdateRule< DIM >.
void AbstractPottsUpdateRule< DIM >::OutputUpdateRuleInfo | ( | out_stream & | rParamsFile | ) |
Output update rule to file. Call OutputUpdateRuleParameters() to output all member variables to file.
rParamsFile | a file stream |
Definition at line 49 of file AbstractPottsUpdateRule.cpp.
|
pure virtual |
Output update rule parameters to file.
As this method is pure virtual, it must be overridden in subclasses.
rParamsFile | a file stream |
Implemented in DifferentialAdhesionPottsUpdateRule< DIM >, AdhesionPottsUpdateRule< DIM >, SurfaceAreaConstraintPottsUpdateRule< DIM >, VolumeConstraintPottsUpdateRule< DIM >, and ChemotaxisPottsUpdateRule< DIM >.
Definition at line 59 of file AbstractPottsUpdateRule.cpp.
Referenced by ChemotaxisPottsUpdateRule< DIM >::OutputUpdateRuleParameters(), VolumeConstraintPottsUpdateRule< DIM >::OutputUpdateRuleParameters(), SurfaceAreaConstraintPottsUpdateRule< DIM >::OutputUpdateRuleParameters(), and AdhesionPottsUpdateRule< 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 64 of file AbstractPottsUpdateRule.hpp.
|
friend |
Needed for serialization.
Definition at line 55 of file AbstractPottsUpdateRule.hpp.