#include <ChemotaxisPottsUpdateRule.hpp>
Inherits AbstractPottsUpdateRule< DIM >.
Public Member Functions | |
ChemotaxisPottsUpdateRule () | |
~ChemotaxisPottsUpdateRule () | |
double | EvaluateHamiltonianContribution (unsigned currentNodeIndex, unsigned targetNodeIndex, PottsBasedCellPopulation< DIM > &rCellPopulation) |
void | OutputUpdateRuleParameters (out_stream &rParamsFile) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | TestPottsUpdateRules |
class | boost::serialization::access |
A simple update rule class to represent simple chemotaxis in the positive x y z direction for use in Potts based simulations.
Note this currently assumes cells don't grow, i.e the target volume is constant for each cell over time.
Definition at line 45 of file ChemotaxisPottsUpdateRule.hpp.
ChemotaxisPottsUpdateRule< DIM >::ChemotaxisPottsUpdateRule | ( | ) | [inline] |
Constructor.
Definition at line 32 of file ChemotaxisPottsUpdateRule.cpp.
ChemotaxisPottsUpdateRule< DIM >::~ChemotaxisPottsUpdateRule | ( | ) | [inline] |
Destructor.
Definition at line 38 of file ChemotaxisPottsUpdateRule.cpp.
double ChemotaxisPottsUpdateRule< DIM >::EvaluateHamiltonianContribution | ( | unsigned | currentNodeIndex, | |
unsigned | targetNodeIndex, | |||
PottsBasedCellPopulation< DIM > & | rCellPopulation | |||
) | [inline, virtual] |
Overridden EvaluateHamiltonianContribution() method
Assigns a greater propensity for moving in an increasing x, y (and z) direction.
currentNodeIndex | The index of the current node/lattice site | |
targetNodeIndex | The index of the target node/lattice site | |
rCellPopulation | The cell population |
Implements AbstractPottsUpdateRule< DIM >.
Definition at line 43 of file ChemotaxisPottsUpdateRule.cpp.
References PottsBasedCellPopulation< DIM >::GetNode().
void ChemotaxisPottsUpdateRule< DIM >::OutputUpdateRuleParameters | ( | out_stream & | rParamsFile | ) | [inline, virtual] |
Overridden OutputUpdateRuleParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractPottsUpdateRule< DIM >.
Definition at line 67 of file ChemotaxisPottsUpdateRule.cpp.
void ChemotaxisPottsUpdateRule< DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Serialize the object.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractPottsUpdateRule< DIM >.
Definition at line 53 of file ChemotaxisPottsUpdateRule.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractPottsUpdateRule< DIM >.
Definition at line 51 of file ChemotaxisPottsUpdateRule.hpp.