Chaste
Build::
|
#include <AbstractMigrationRule.hpp>
Public Member Functions | |
AbstractMigrationRule () | |
virtual | ~AbstractMigrationRule () |
virtual std::vector< DimensionalChastePoint< DIM > > | GetDirections (const std::vector< boost::shared_ptr< VesselNode< DIM > > > &rNodes) |
virtual std::vector< int > | GetIndices (const std::vector< boost::shared_ptr< VesselNode< DIM > > > &rNodes) |
void | SetIsSprouting (bool isSprouting=true) |
void | SetDiscreteContinuumSolver (boost::shared_ptr< AbstractDiscreteContinuumSolver< DIM > > pSolver) |
void | SetNetwork (boost::shared_ptr< VesselNetwork< DIM > > pNetwork) |
void | SetBoundingDomain (boost::shared_ptr< Part< DIM > > pPart) |
void | SetGrid (boost::shared_ptr< RegularGrid< DIM > > pGrid) |
void | SetCellPopulation (boost::shared_ptr< AbstractCellPopulation< DIM > > pCellPopulation) |
Static Public Member Functions | |
static boost::shared_ptr< AbstractMigrationRule< DIM > > | Create () |
Protected Attributes | |
boost::shared_ptr< AbstractDiscreteContinuumSolver< DIM > > | mpSolver |
boost::shared_ptr< VesselNetwork< DIM > > | mpVesselNetwork |
bool | mIsSprouting |
boost::shared_ptr< AbstractCellPopulation< DIM > > | mpCellPopulation |
boost::shared_ptr< RegularGrid< DIM > > | mpGrid |
boost::shared_ptr< Part< DIM > > | mpBoundingDomain |
Abstract class for implementing a vessel tip cell migration rule. On and off-lattice specializations are implemented in subclasses.
Definition at line 54 of file AbstractMigrationRule.hpp.
AbstractMigrationRule< DIM >::AbstractMigrationRule | ( | ) |
Constructor.
Definition at line 39 of file AbstractMigrationRule.cpp.
|
virtual |
Destructor.
Definition at line 51 of file AbstractMigrationRule.cpp.
|
static |
Construct a new instance of the class and return a shared pointer to it.
Definition at line 57 of file AbstractMigrationRule.cpp.
|
virtual |
Get the sprout directions
rNodes | candidate sprout nodes |
Reimplemented in OffLatticeMigrationRule< DIM >.
Definition at line 64 of file AbstractMigrationRule.cpp.
|
virtual |
Get the sprout indices
rNodes | candidate sprout nodes |
Reimplemented in Owen2011MigrationRule< DIM >, CellPopulationMigrationRule< DIM >, and LatticeBasedMigrationRule< DIM >.
Definition at line 70 of file AbstractMigrationRule.cpp.
void AbstractMigrationRule< DIM >::SetBoundingDomain | ( | boost::shared_ptr< Part< DIM > > | pPart | ) |
Set the bounding domain
pPart | the bounding domain |
Definition at line 76 of file AbstractMigrationRule.cpp.
References AbstractMigrationRule< DIM >::mpBoundingDomain.
void AbstractMigrationRule< DIM >::SetCellPopulation | ( | boost::shared_ptr< AbstractCellPopulation< DIM > > | pCellPopulation | ) |
Set the cell population
pCellPopulation | the cell population |
Definition at line 106 of file AbstractMigrationRule.cpp.
References AbstractMigrationRule< DIM >::mpCellPopulation.
void AbstractMigrationRule< DIM >::SetDiscreteContinuumSolver | ( | boost::shared_ptr< AbstractDiscreteContinuumSolver< DIM > > | pSolver | ) |
Set the DiscreteContinuum solver containing the stimulus field
pSolver | the DiscreteContinuum solver containing the stimulus field |
Definition at line 94 of file AbstractMigrationRule.cpp.
References AbstractMigrationRule< DIM >::mpSolver.
void AbstractMigrationRule< DIM >::SetGrid | ( | boost::shared_ptr< RegularGrid< DIM > > | pGrid | ) |
Set the lattice/grid for the vessel network
pGrid | the grid for the vessel network |
Definition at line 88 of file AbstractMigrationRule.cpp.
References AbstractMigrationRule< DIM >::mpGrid.
void AbstractMigrationRule< DIM >::SetIsSprouting | ( | bool | isSprouting = true | ) |
Set whether this is a sprouting event
isSprouting | is this a sprouting event |
Definition at line 82 of file AbstractMigrationRule.cpp.
References AbstractMigrationRule< DIM >::mIsSprouting.
void AbstractMigrationRule< DIM >::SetNetwork | ( | boost::shared_ptr< VesselNetwork< DIM > > | pNetwork | ) |
Set the vessel network
pNetwork | the vessel network |
Definition at line 100 of file AbstractMigrationRule.cpp.
References AbstractMigrationRule< DIM >::mpVesselNetwork.
|
protected |
Distinguish between sprouting and migrating events
Definition at line 72 of file AbstractMigrationRule.hpp.
Referenced by OffLatticeMigrationRule< DIM >::GetDirections(), and AbstractMigrationRule< DIM >::SetIsSprouting().
|
protected |
The bounding domain, optional
Definition at line 87 of file AbstractMigrationRule.hpp.
Referenced by OffLatticeMigrationRule< DIM >::GetDirections(), OffLatticeMigrationRule< DIM >::GetDirectionsForSprouts(), and AbstractMigrationRule< DIM >::SetBoundingDomain().
|
protected |
The cell population, only used in certain child classes
Definition at line 77 of file AbstractMigrationRule.hpp.
Referenced by CellPopulationMigrationRule< DIM >::GetIndices(), and AbstractMigrationRule< DIM >::SetCellPopulation().
|
protected |
A regular grid, used in some lattice based simulations
Definition at line 82 of file AbstractMigrationRule.hpp.
Referenced by LatticeBasedMigrationRule< DIM >::GetIndices(), CellPopulationMigrationRule< DIM >::GetIndices(), Owen2011MigrationRule< DIM >::GetIndices(), LatticeBasedMigrationRule< DIM >::GetNeighbourMovementProbabilities(), CellPopulationMigrationRule< DIM >::GetNeighbourMovementProbabilities(), Owen2011MigrationRule< DIM >::GetNeighbourMovementProbabilities(), and AbstractMigrationRule< DIM >::SetGrid().
|
protected |
A DiscreteContinuum solver containing a solution field of interest
Definition at line 62 of file AbstractMigrationRule.hpp.
Referenced by OffLatticeMigrationRule< DIM >::GetDirections(), OffLatticeMigrationRule< DIM >::GetDirectionsForSprouts(), Owen2011MigrationRule< DIM >::GetIndices(), and AbstractMigrationRule< DIM >::SetDiscreteContinuumSolver().
|
protected |
The vessel network
Definition at line 67 of file AbstractMigrationRule.hpp.
Referenced by OffLatticeMigrationRule< DIM >::GetDirections(), LatticeBasedMigrationRule< DIM >::GetIndices(), CellPopulationMigrationRule< DIM >::GetIndices(), and AbstractMigrationRule< DIM >::SetNetwork().