![]() |
Chaste
Release::2017.1
|
#include <AbstractCaSwitchingUpdateRule.hpp>
Inheritance diagram for AbstractCaSwitchingUpdateRule< DIM >:
Collaboration diagram for AbstractCaSwitchingUpdateRule< DIM >:Public Member Functions | |
| AbstractCaSwitchingUpdateRule () | |
| virtual | ~AbstractCaSwitchingUpdateRule () |
| virtual double | EvaluateSwitchingProbability (unsigned currentNodeIndex, unsigned neighbourNodeIndex, CaBasedCellPopulation< DIM > &rCellPopulation, double dt, double deltaX)=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 'switching' update rule class, for use in CA simulations.
Definition at line 49 of file AbstractCaSwitchingUpdateRule.hpp.
| AbstractCaSwitchingUpdateRule< DIM >::AbstractCaSwitchingUpdateRule | ( | ) |
Default constructor.
Definition at line 39 of file AbstractCaSwitchingUpdateRule.cpp.
Referenced by AbstractCaSwitchingUpdateRule< DIM >::serialize().
|
virtual |
Destructor.
Definition at line 45 of file AbstractCaSwitchingUpdateRule.cpp.
Referenced by AbstractCaSwitchingUpdateRule< DIM >::serialize().
|
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 >.
Referenced by AbstractCaSwitchingUpdateRule< DIM >::serialize().
|
virtual |
Overridden OutputUpdateRuleParameters() method.
| rParamsFile | a file stream |
Implements AbstractUpdateRule< DIM >.
Reimplemented in RandomCaSwitchingUpdateRule< DIM >.
Definition at line 50 of file AbstractCaSwitchingUpdateRule.cpp.
References AbstractUpdateRule< DIM >::OutputUpdateRuleParameters().
Referenced by RandomCaSwitchingUpdateRule< DIM >::OutputUpdateRuleParameters(), and AbstractCaSwitchingUpdateRule< DIM >::serialize().
|
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 AbstractCaSwitchingUpdateRule.hpp.
References AbstractCaSwitchingUpdateRule< DIM >::AbstractCaSwitchingUpdateRule(), AbstractCaSwitchingUpdateRule< DIM >::EvaluateSwitchingProbability(), AbstractCaSwitchingUpdateRule< DIM >::OutputUpdateRuleParameters(), and AbstractCaSwitchingUpdateRule< DIM >::~AbstractCaSwitchingUpdateRule().
|
friend |
Needed for serialization.
Definition at line 52 of file AbstractCaSwitchingUpdateRule.hpp.