Chaste
Release::3.4
|
#include <AbstractCaSwitchingUpdateRule.hpp>
Public Member Functions | |
AbstractCaSwitchingUpdateRule () | |
virtual | ~AbstractCaSwitchingUpdateRule () |
virtual double | EvaluateSwitchingProbability (unsigned currentNodeIndex, unsigned neighbourNodeIndex, CaBasedCellPopulation< DIM > &rCellPopulation, double dt, double deltaX)=0 |
void | OutputUpdateRuleInfo (out_stream &rParamsFile) |
virtual void | OutputSwitchingUpdateRuleParameters (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 Ca Switching update rule class, for use in cell-based simulations using the cellular automata model.
Definition at line 52 of file AbstractCaSwitchingUpdateRule.hpp.
AbstractCaSwitchingUpdateRule< DIM >::AbstractCaSwitchingUpdateRule | ( | ) |
Default constructor.
Definition at line 39 of file AbstractCaSwitchingUpdateRule.cpp.
|
virtual |
Destructor.
Definition at line 44 of file AbstractCaSwitchingUpdateRule.cpp.
|
pure virtual |
Calculate the probability of a given switch.
currentNodeIndex | The index of the current node/lattice site |
neighbourNodeIndex | The index of the neighbour node/lattice site |
rCellPopulation | The cell population |
dt | is the time interval |
deltaX | defines the size of the lattice site |
Implemented in RandomCaSwitchingUpdateRule< DIM >.
|
pure virtual |
Output switching update rule parameters to file.
As this method is pure virtual, it must be overridden in subclasses.
rParamsFile | a file stream |
Implemented in RandomCaSwitchingUpdateRule< DIM >.
Definition at line 59 of file AbstractCaSwitchingUpdateRule.cpp.
Referenced by RandomCaSwitchingUpdateRule< DIM >::OutputSwitchingUpdateRuleParameters().
void AbstractCaSwitchingUpdateRule< 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 AbstractCaSwitchingUpdateRule.cpp.
|
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 AbstractCaSwitchingUpdateRule.hpp.
|
friend |
Needed for serialization.
Definition at line 55 of file AbstractCaSwitchingUpdateRule.hpp.