Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <AbstractCaUpdateRule.hpp>
Public Member Functions | |
AbstractCaUpdateRule () | |
virtual | ~AbstractCaUpdateRule () |
virtual double | EvaluateProbability (unsigned currentNodeIndex, unsigned targetNodeIndex, CaBasedCellPopulation< DIM > &rCellPopulation, double dt, double deltaX, CellPtr cell)=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 CA update rule class, for use in CA simulations.
Definition at line 49 of file AbstractCaUpdateRule.hpp.
AbstractCaUpdateRule< DIM >::AbstractCaUpdateRule | ( | ) |
Default constructor.
Definition at line 39 of file AbstractCaUpdateRule.cpp.
|
virtual |
Destructor.
Definition at line 45 of file AbstractCaUpdateRule.cpp.
|
pure virtual |
Calculate the probability of a given move.
Uses random diffusion to each neighbouring node, scaled according to distance.
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 |
dt | is the time interval |
deltaX | defines the size of the lattice site |
cell | a pointer to the cell (needed if more than one cell per lattice site |
Implemented in DiffusionCaUpdateRule< DIM >.
|
virtual |
Overridden OutputUpdateRuleParameters() method.
rParamsFile | a file stream |
Implements AbstractUpdateRule< DIM >.
Reimplemented in DiffusionCaUpdateRule< DIM >.
Definition at line 50 of file AbstractCaUpdateRule.cpp.
References AbstractUpdateRule< DIM >::OutputUpdateRuleParameters().
Referenced by DiffusionCaUpdateRule< 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 AbstractCaUpdateRule.hpp.
|
friend |
Needed for serialization.
Definition at line 52 of file AbstractCaUpdateRule.hpp.