Chaste
Release::2017.1
|
#include <ChemotaxisPottsUpdateRule.hpp>
Public Member Functions | |
ChemotaxisPottsUpdateRule () | |
~ChemotaxisPottsUpdateRule () | |
double | EvaluateHamiltonianContribution (unsigned currentNodeIndex, unsigned targetNodeIndex, PottsBasedCellPopulation< DIM > &rCellPopulation) |
void | OutputUpdateRuleParameters (out_stream &rParamsFile) |
Public Member Functions inherited from AbstractPottsUpdateRule< DIM > | |
AbstractPottsUpdateRule () | |
virtual | ~AbstractPottsUpdateRule () |
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 | 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 52 of file ChemotaxisPottsUpdateRule.hpp.
ChemotaxisPottsUpdateRule< DIM >::ChemotaxisPottsUpdateRule | ( | ) |
Constructor.
Definition at line 39 of file ChemotaxisPottsUpdateRule.cpp.
Referenced by ChemotaxisPottsUpdateRule< DIM >::serialize().
ChemotaxisPottsUpdateRule< DIM >::~ChemotaxisPottsUpdateRule | ( | ) |
Destructor.
Definition at line 45 of file ChemotaxisPottsUpdateRule.cpp.
Referenced by ChemotaxisPottsUpdateRule< DIM >::serialize().
|
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 50 of file ChemotaxisPottsUpdateRule.cpp.
References PottsBasedCellPopulation< DIM >::GetNode().
Referenced by ChemotaxisPottsUpdateRule< DIM >::serialize().
|
virtual |
Overridden OutputUpdateRuleParameters() method.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractPottsUpdateRule< DIM >.
Definition at line 78 of file ChemotaxisPottsUpdateRule.cpp.
References EXPORT_TEMPLATE_CLASS_SAME_DIMS, and AbstractPottsUpdateRule< DIM >::OutputUpdateRuleParameters().
Referenced by ChemotaxisPottsUpdateRule< 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 67 of file ChemotaxisPottsUpdateRule.hpp.
References ChemotaxisPottsUpdateRule< DIM >::ChemotaxisPottsUpdateRule(), ChemotaxisPottsUpdateRule< DIM >::EvaluateHamiltonianContribution(), EXPORT_TEMPLATE_CLASS_SAME_DIMS, ChemotaxisPottsUpdateRule< DIM >::OutputUpdateRuleParameters(), and ChemotaxisPottsUpdateRule< DIM >::~ChemotaxisPottsUpdateRule().