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