Chaste  Release::2017.1
AbstractCaSwitchingUpdateRule< DIM > Class Template Referenceabstract

#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
 

Detailed Description

template<unsigned DIM>
class AbstractCaSwitchingUpdateRule< DIM >

An abstract CA 'switching' update rule class, for use in CA simulations.

Definition at line 49 of file AbstractCaSwitchingUpdateRule.hpp.

Constructor & Destructor Documentation

Default constructor.

Definition at line 39 of file AbstractCaSwitchingUpdateRule.cpp.

Referenced by AbstractCaSwitchingUpdateRule< DIM >::serialize().

template<unsigned DIM>
AbstractCaSwitchingUpdateRule< DIM >::~AbstractCaSwitchingUpdateRule ( )
virtual

Destructor.

Definition at line 45 of file AbstractCaSwitchingUpdateRule.cpp.

Referenced by AbstractCaSwitchingUpdateRule< DIM >::serialize().

Member Function Documentation

template<unsigned DIM>
virtual double AbstractCaSwitchingUpdateRule< DIM >::EvaluateSwitchingProbability ( unsigned  currentNodeIndex,
unsigned  neighbourNodeIndex,
CaBasedCellPopulation< DIM > &  rCellPopulation,
double  dt,
double  deltaX 
)
pure virtual

Calculate the probability of a given switch.

Parameters
currentNodeIndexThe index of the current node/lattice site
neighbourNodeIndexThe index of the neighbour node/lattice site
rCellPopulationThe cell population
dtis the time interval
deltaXdefines the size of the lattice site
Returns
The probability of the cells associated to the current node and the target node switching.

Implemented in RandomCaSwitchingUpdateRule< DIM >.

Referenced by AbstractCaSwitchingUpdateRule< DIM >::serialize().

template<unsigned DIM>
void AbstractCaSwitchingUpdateRule< DIM >::OutputUpdateRuleParameters ( out_stream &  rParamsFile)
virtual
template<unsigned DIM>
template<class Archive >
void AbstractCaSwitchingUpdateRule< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
)
inlineprivate

Boost Serialization method for archiving/checkpointing. Archives the object and its member variables.

Parameters
archiveThe boost archive.
versionThe 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().

Friends And Related Function Documentation

template<unsigned DIM>
friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 52 of file AbstractCaSwitchingUpdateRule.hpp.


The documentation for this class was generated from the following files: