Chaste Release::3.1
|
#include <AbstractCellPopulation.hpp>
Classes | |
class | Iterator |
Public Member Functions | |
AbstractCellPopulation (AbstractMesh< ELEMENT_DIM, SPACE_DIM > &rMesh, std::vector< CellPtr > &rCells, const std::vector< unsigned > locationIndices=std::vector< unsigned >()) | |
virtual | ~AbstractCellPopulation () |
void | InitialiseCells () |
void | SetDataOnAllCells (const std::string &dataName, double dataValue) |
AbstractMesh< ELEMENT_DIM, SPACE_DIM > & | rGetMesh () |
std::list< CellPtr > & | rGetCells () |
virtual unsigned | GetNumNodes ()=0 |
virtual c_vector< double, SPACE_DIM > | GetLocationOfCellCentre (CellPtr pCell)=0 |
virtual Node< SPACE_DIM > * | GetNode (unsigned index)=0 |
virtual void | SetNode (unsigned nodeIndex, ChastePoint< SPACE_DIM > &rNewLocation)=0 |
virtual bool | IsCellAssociatedWithADeletedLocation (CellPtr pCell)=0 |
virtual CellPtr | AddCell (CellPtr pNewCell, const c_vector< double, SPACE_DIM > &rCellDivisionVector, CellPtr pParentCell=CellPtr())=0 |
virtual unsigned | RemoveDeadCells ()=0 |
virtual void | Update (bool hasHadBirthsOrDeaths=true)=0 |
std::vector< unsigned > | GetCellMutationStateCount () |
const std::vector< unsigned > & | rGetCellProliferativeTypeCount () const |
const std::vector< unsigned > & | rGetCellCyclePhaseCount () const |
unsigned | GetNumRealCells () |
void | SetCellAncestorsToLocationIndices () |
void | WriteCellIdDataToFile () |
std::set< unsigned > | GetCellAncestors () |
CellPtr | GetCellUsingLocationIndex (unsigned index) |
std::set< CellPtr > | GetCellsUsingLocationIndex (unsigned index) |
bool | IsCellAttachedToLocationIndex (unsigned index) |
void | SetCellUsingLocationIndex (unsigned index, CellPtr pCell) |
virtual void | AddCellUsingLocationIndex (unsigned index, CellPtr pCell) |
virtual void | RemoveCellUsingLocationIndex (unsigned index, CellPtr pCell) |
void | MoveCellInLocationMap (CellPtr pCell, unsigned old_index, unsigned new_index) |
unsigned | GetLocationIndexUsingCell (CellPtr pCell) |
boost::shared_ptr < CellPropertyRegistry > | GetCellPropertyRegistry () |
void | SetDefaultMutationStateOrdering () |
virtual double | GetWidth (const unsigned &rDimension)=0 |
virtual double | GetVolumeOfCell (CellPtr pCell)=0 |
virtual std::set< unsigned > | GetNeighbouringNodeIndices (unsigned index)=0 |
c_vector< double, SPACE_DIM > | GetCentroidOfCellPopulation () |
virtual void | CreateOutputFiles (const std::string &rDirectory, bool cleanOutputDirectory) |
virtual void | WriteResultsToFiles () |
virtual void | WriteTimeAndNodeResultsToFiles () |
virtual void | GenerateCellResultsAndWriteToFiles ()=0 |
virtual void | GenerateCellResults (CellPtr pCell, std::vector< unsigned > &rCellProliferativeTypeCounter, std::vector< unsigned > &rCellCyclePhaseCounter) |
virtual void | WriteCellVolumeResultsToFile ()=0 |
void | WriteCellResultsToFiles (std::vector< unsigned > &rCellProliferativeTypeCounter, std::vector< unsigned > &rCellCyclePhaseCounter) |
virtual void | CloseOutputFiles () |
void | OutputCellPopulationInfo (out_stream &rParamsFile) |
virtual void | OutputCellPopulationParameters (out_stream &rParamsFile)=0 |
bool | GetOutputCellIdData () |
bool | GetOutputCellMutationStates () |
bool | GetOutputCellAncestors () |
bool | GetOutputCellProliferativeTypes () |
bool | GetOutputCellVariables () |
bool | GetOutputCellCyclePhases () |
bool | GetOutputCellAges () |
bool | GetOutputCellVolumes () |
void | SetOutputCellIdData (bool outputCellIdData) |
void | SetOutputCellMutationStates (bool outputCellMutationStates) |
void | SetOutputCellAncestors (bool outputCellAncestors) |
void | SetOutputCellProliferativeTypes (bool outputCellProliferativeTypes) |
void | SetOutputCellVariables (bool outputCellVariables) |
void | SetOutputCellCyclePhases (bool outputCellCyclePhases) |
void | SetOutputCellAges (bool outputCellAges) |
void | SetOutputCellVolumes (bool outputCellVolumes) |
c_vector< double, SPACE_DIM > | GetSizeOfCellPopulation () |
Iterator | Begin () |
Iterator | End () |
Protected Member Functions | |
virtual void | Validate ()=0 |
virtual void | WriteVtkResultsToFile ()=0 |
AbstractCellPopulation (AbstractMesh< ELEMENT_DIM, SPACE_DIM > &rMesh) | |
Protected Attributes | |
std::map< unsigned, std::set < CellPtr > > | mLocationCellMap |
std::map< Cell *, unsigned > | mCellLocationMap |
AbstractMesh< ELEMENT_DIM, SPACE_DIM > & | mrMesh |
std::list< CellPtr > | mCells |
std::vector< unsigned > | mCellProliferativeTypeCount |
std::vector< unsigned > | mCellCyclePhaseCount |
c_vector< double, SPACE_DIM > | mCentroid |
out_stream | mpVizNodesFile |
out_stream | mpVizCellProliferativeTypesFile |
out_stream | mpVizCellProliferativePhasesFile |
out_stream | mpCellMutationStatesFile |
out_stream | mpVizCellAncestorsFile |
out_stream | mpCellProliferativeTypesFile |
out_stream | mpCellCyclePhasesFile |
out_stream | mpCellVariablesFile |
out_stream | mpCellAgesFile |
out_stream | mpCellIdFile |
out_stream | mpCellVolumesFile |
out_stream | mpVizBoundaryNodesFile |
std::string | mDirPath |
out_stream | mpVtkMetaFile |
boost::shared_ptr < CellPropertyRegistry > | mpCellPropertyRegistry |
bool | mOutputCellIdData |
bool | mOutputCellMutationStates |
bool | mOutputCellAncestors |
bool | mOutputCellProliferativeTypes |
bool | mOutputCellVariables |
bool | mOutputCellCyclePhases |
bool | mOutputCellAges |
bool | mOutputCellVolumes |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
An abstract facade class encapsulating a cell population.
Contains a group of cells and associated methods.
Definition at line 75 of file AbstractCellPopulation.hpp.
AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation | ( | AbstractMesh< ELEMENT_DIM, SPACE_DIM > & | rMesh | ) | [protected] |
Constructor that just takes in a mesh.
rMesh | the mesh for the population. |
Definition at line 111 of file AbstractCellPopulation.cpp.
AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation | ( | AbstractMesh< ELEMENT_DIM, SPACE_DIM > & | rMesh, |
std::vector< CellPtr > & | rCells, | ||
const std::vector< unsigned > | locationIndices = std::vector<unsigned>() |
||
) |
AbstractCellPopulation Constructor.
rMesh | a refernce to the mesh underlying the cell population |
rCells | a vector of cells. Copies of the cells will be stored in the cell population, and the passed-in vector cleared. |
locationIndices | an optional vector of location indices that correspond to real cells |
Definition at line 42 of file AbstractCellPopulation.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AddCellUsingLocationIndex(), EXCEPTION, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCellCyclePhaseCount, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCellLocationMap, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCellProliferativeTypeCount, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCells, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mLocationCellMap, and AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellPropertyRegistry.
AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::~AbstractCellPopulation | ( | ) | [virtual] |
Base class with virtual methods needs a virtual destructor.
Definition at line 117 of file AbstractCellPopulation.cpp.
virtual CellPtr AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AddCell | ( | CellPtr | pNewCell, |
const c_vector< double, SPACE_DIM > & | rCellDivisionVector, | ||
CellPtr | pParentCell = CellPtr() |
||
) | [pure virtual] |
Add a new cell to the cell population.
As this method is pure virtual, it must be overridden in subclasses.
pNewCell | the cell to add |
rCellDivisionVector | a vector providing information regarding how the cell division should occur (for cell-centre cell populations, this vector is the position of the daughter cell; for vertex cell populations it can be used by any subclass of CellBasedSimulation to as a means of dictating the axis along which the parent cell divides) |
pParentCell | pointer to a parent cell (if required) |
Implemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, and AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AddCellUsingLocationIndex | ( | unsigned | index, |
CellPtr | pCell | ||
) | [virtual] |
Adds a cell to a given location index.
index | the location index |
pCell | the cell. |
Reimplemented in MultipleCaBasedCellPopulation< DIM >.
Definition at line 291 of file AbstractCellPopulation.cpp.
Referenced by AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation(), and MultipleCaBasedCellPopulation< DIM >::AddCellUsingLocationIndex().
AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Iterator AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin | ( | ) |
Definition at line 878 of file AbstractCellPopulation.hpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCells.
Referenced by CryptProjectionForce::AddForceContribution(), DiffusionForce< DIM >::AddForceContribution(), ChemotacticForce< DIM >::AddForceContribution(), BuskeCompressionForce< DIM >::AddForceContribution(), SloughingCellKiller< DIM >::CheckAndLabelCellsForApoptosisOrDeath(), RadialSloughingCellKiller::CheckAndLabelCellsForApoptosisOrDeath(), RandomCellKiller< DIM >::CheckAndLabelCellsForApoptosisOrDeath(), PlaneBasedCellKiller< DIM >::CheckAndLabelCellsForApoptosisOrDeath(), ApoptoticCellKiller< SPACE_DIM >::CheckAndLabelCellsForApoptosisOrDeath(), CryptStatistics::GetCryptSection(), CryptProjectionStatistics::GetCryptSection(), CryptSimulationBoundaryCondition< DIM >::ImposeBoundaryCondition(), SphereGeometryBoundaryCondition< DIM >::ImposeBoundaryCondition(), PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition(), CellBasedPdeHandler< DIM >::InitialiseCellPdeElementMap(), AbstractCryptStatistics::LabelAllCellsAsHealthy(), AbstractCryptStatistics::LabelSPhaseCells(), CellwiseDataGradient< DIM >::SetupGradients(), VolumeDependentAveragedSourcePde< DIM >::SetupSourceTerms(), AveragedSourcePde< DIM >::SetupSourceTerms(), CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile(), VolumeTrackedOffLatticeSimulation< DIM >::UpdateCellData(), DeltaNotchOffLatticeSimulation< DIM >::UpdateCellData(), OnLatticeSimulation< DIM >::UpdateCellLocationsAndTopology(), CellBasedPdeHandler< DIM >::UpdateCellPdeElementMap(), CryptProjectionForce::UpdateNode3dLocationMap(), CryptSimulationBoundaryCondition< DIM >::VerifyBoundaryCondition(), SphereGeometryBoundaryCondition< DIM >::VerifyBoundaryCondition(), PlaneBoundaryCondition< DIM >::VerifyBoundaryCondition(), CellBasedPdeHandler< DIM >::WriteAverageRadialPdeSolution(), and CellBasedPdeHandler< DIM >::WritePdeSolution().
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::CloseOutputFiles | ( | ) | [virtual] |
Close any output files.
Reimplemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
Definition at line 447 of file AbstractCellPopulation.cpp.
References PetscTools::IsSequential().
Referenced by VertexBasedCellPopulation< DIM >::CloseOutputFiles(), PottsBasedCellPopulation< DIM >::CloseOutputFiles(), MultipleCaBasedCellPopulation< DIM >::CloseOutputFiles(), and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::CloseOutputFiles().
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::CreateOutputFiles | ( | const std::string & | rDirectory, |
bool | cleanOutputDirectory | ||
) | [virtual] |
Use an output file handler to create output files for visualizer and post-processing.
rDirectory | pathname of the output directory, relative to where Chaste output is stored |
cleanOutputDirectory | whether to delete the contents of the output directory prior to output file creation |
Reimplemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
Definition at line 374 of file AbstractCellPopulation.cpp.
References PetscTools::AmMaster(), and OutputFileHandler::OpenOutputFile().
Referenced by VertexBasedCellPopulation< DIM >::CreateOutputFiles(), PottsBasedCellPopulation< DIM >::CreateOutputFiles(), MultipleCaBasedCellPopulation< DIM >::CreateOutputFiles(), and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::CreateOutputFiles().
AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Iterator AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End | ( | ) |
Definition at line 884 of file AbstractCellPopulation.hpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCells.
Referenced by CryptProjectionForce::AddForceContribution(), DiffusionForce< DIM >::AddForceContribution(), ChemotacticForce< DIM >::AddForceContribution(), BuskeCompressionForce< DIM >::AddForceContribution(), RadialSloughingCellKiller::CheckAndLabelCellsForApoptosisOrDeath(), CryptStatistics::GetCryptSection(), CryptProjectionStatistics::GetCryptSection(), AbstractCryptStatistics::LabelAllCellsAsHealthy(), AbstractCryptStatistics::LabelSPhaseCells(), CellwiseDataGradient< DIM >::SetupGradients(), and CryptProjectionForce::UpdateNode3dLocationMap().
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GenerateCellResults | ( | CellPtr | pCell, |
std::vector< unsigned > & | rCellProliferativeTypeCounter, | ||
std::vector< unsigned > & | rCellCyclePhaseCounter | ||
) | [virtual] |
Generate results for a given cell in the current cell population state to output files.
pCell | pointer to the cell |
rCellProliferativeTypeCounter | cell type counter |
rCellCyclePhaseCounter | cell cycle phase counter |
Definition at line 499 of file AbstractCellPopulation.cpp.
References CellPropertyCollection::GetProperties(), CellPropertyCollection::GetProperty(), NEVER_REACHED, and UNSIGNED_UNSET.
virtual void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GenerateCellResultsAndWriteToFiles | ( | ) | [pure virtual] |
Calls GenerateCellResults() on each cell then calls WriteCellResultsToFiles().
Implemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< DIM >, and AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >.
std::set< unsigned > AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellAncestors | ( | ) |
Loops over cells and makes a list of the ancestors that are part of the cell population.
Definition at line 175 of file AbstractCellPopulation.cpp.
std::vector< unsigned > AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellMutationStateCount | ( | ) |
Find out how many cells of each mutation state there are
Definition at line 186 of file AbstractCellPopulation.cpp.
References EXCEPTION.
boost::shared_ptr< CellPropertyRegistry > AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellPropertyRegistry | ( | ) |
Definition at line 333 of file AbstractCellPopulation.cpp.
std::set< CellPtr > AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellsUsingLocationIndex | ( | unsigned | index | ) |
Get the set of cells corresponding to a given location index.
Note the set may be empty.
index | the location index |
Definition at line 253 of file AbstractCellPopulation.cpp.
CellPtr AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellUsingLocationIndex | ( | unsigned | index | ) |
Get the cell corresponding to a given location index.
his method assumes that there is at most one cell attached to a location index and an assertion fails if not.
index | the location index |
Definition at line 232 of file AbstractCellPopulation.cpp.
References EXCEPTION.
Referenced by CryptProjectionForce::CalculateForceBetweenNodes(), GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::CalculateForceBetweenNodes(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::CheckCellPointers(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellA(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellB(), CellwiseDataGradient< DIM >::SetupGradients(), and LinearSpringWithVariableSpringConstantsForce< DIM >::VariableSpringConstantMultiplicationFactor().
c_vector< double, SPACE_DIM > AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCentroidOfCellPopulation | ( | ) |
Returns the centroid of the cell population.
Definition at line 354 of file AbstractCellPopulation.cpp.
unsigned AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationIndexUsingCell | ( | CellPtr | pCell | ) |
Get the location index corresponding to a given cell.
Assumes there is one location index for each cell and an assertion fails if not.
pCell | the cell |
Definition at line 324 of file AbstractCellPopulation.cpp.
Referenced by CryptProjectionForce::AddForceContribution(), DiffusionForce< DIM >::AddForceContribution(), ChemotacticForce< DIM >::AddForceContribution(), BuskeCompressionForce< DIM >::AddForceContribution(), CryptSimulation1d::CalculateCellDivisionVector(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::CheckCellPointers(), CellwiseDataGradient< DIM >::SetupGradients(), and CryptProjectionForce::UpdateNode3dLocationMap().
virtual c_vector<double, SPACE_DIM> AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre | ( | CellPtr | pCell | ) | [pure virtual] |
Find where a given cell is in space.
As this method is pure virtual, it must be overridden in subclasses.
pCell | the cell |
Implemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< DIM >, and AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >.
Referenced by RadialSloughingCellKiller::CheckAndLabelCellsForApoptosisOrDeath(), and CryptProjectionForce::UpdateNode3dLocationMap().
virtual std::set<unsigned> AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNeighbouringNodeIndices | ( | unsigned | index | ) | [pure virtual] |
Given a node index, returns the set of neighbouring node indices.
As this method is pure virtual, it must be overridden in subclasses.
index | the node index |
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
virtual Node<SPACE_DIM>* AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNode | ( | unsigned | index | ) | [pure virtual] |
Get a pointer to the node with a given index.
As this method is pure virtual, it must be overridden in subclasses.
index | global index of the specified node |
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
Referenced by RepulsionForce< DIM >::AddForceContribution(), BuskeCompressionForce< DIM >::AddForceContribution(), CryptProjectionForce::CalculateForceBetweenNodes(), GeneralisedLinearSpringForce< ELEMENT_DIM, SPACE_DIM >::CalculateForceBetweenNodes(), BuskeElasticForce< DIM >::CalculateForceBetweenNodes(), and BuskeAdhesiveForce< DIM >::CalculateForceBetweenNodes().
virtual unsigned AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNumNodes | ( | ) | [pure virtual] |
As this method is pure virtual, it must be overridden in subclasses.
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
unsigned AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNumRealCells | ( | ) |
Get the number of real cells.
Definition at line 154 of file AbstractCellPopulation.cpp.
Referenced by CellBasedPdeHandler< DIM >::CellBasedPdeHandler().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetOutputCellAges | ( | ) |
Definition at line 908 of file AbstractCellPopulation.cpp.
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetOutputCellAncestors | ( | ) |
Definition at line 884 of file AbstractCellPopulation.cpp.
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetOutputCellCyclePhases | ( | ) |
Definition at line 902 of file AbstractCellPopulation.cpp.
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetOutputCellIdData | ( | ) |
Definition at line 872 of file AbstractCellPopulation.cpp.
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetOutputCellMutationStates | ( | ) |
Definition at line 878 of file AbstractCellPopulation.cpp.
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetOutputCellProliferativeTypes | ( | ) |
Definition at line 890 of file AbstractCellPopulation.cpp.
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetOutputCellVariables | ( | ) |
Definition at line 896 of file AbstractCellPopulation.cpp.
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetOutputCellVolumes | ( | ) |
Definition at line 914 of file AbstractCellPopulation.cpp.
c_vector< double, SPACE_DIM > AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetSizeOfCellPopulation | ( | ) |
Definition at line 972 of file AbstractCellPopulation.cpp.
virtual double AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfCell | ( | CellPtr | pCell | ) | [pure virtual] |
Get the volume (or area in 2D, or length in 1D) of a given cell.
As this method is pure virtual, it must be overridden in subclasses.
pCell | boost shared pointer to a cell |
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
virtual double AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetWidth | ( | const unsigned & | rDimension | ) | [pure virtual] |
Calculate the 'width' of any dimension of the cell population.
As this method is pure virtual, it must be overridden in subclasses.
rDimension | a dimension (0,1 or 2) |
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::InitialiseCells | ( | ) |
Initialise each cell's cell-cycle model.
Definition at line 122 of file AbstractCellPopulation.cpp.
virtual bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::IsCellAssociatedWithADeletedLocation | ( | CellPtr | pCell | ) | [pure virtual] |
Helper method for establishing if a cell is real.
As this method is pure virtual, it must be overridden in subclasses.
pCell | the cell |
Implemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< DIM >, and AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >.
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::IsCellAttachedToLocationIndex | ( | unsigned | index | ) |
Returns whether or not a cell is associated with a location index
index | the location index |
Definition at line 260 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::MoveCellInLocationMap | ( | CellPtr | pCell, |
unsigned | old_index, | ||
unsigned | new_index | ||
) |
Change the location index of a cell in mLocationCellMap and mCellLocationMap
pCell | the cell to move |
old_index | the old location index |
new_index | the new location index |
Definition at line 314 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::OutputCellPopulationInfo | ( | out_stream & | rParamsFile | ) |
Outputs CellPopulation used in the simulation to file and then calls OutputCellPopulationParameters to output all relevant parameters.
rParamsFile | the file stream to which the parameters are output |
Definition at line 814 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::OutputCellPopulationParameters | ( | out_stream & | rParamsFile | ) | [pure virtual] |
Outputs CellPopulation parameters to file
As this method is pure virtual, it must be overridden in subclasses.
rParamsFile | the file stream to which the parameters are output |
Implemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, AbstractOffLatticeCellPopulation< ELEMENT_DIM, SPACE_DIM >, AbstractOnLatticeCellPopulation< DIM >, MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MeshBasedCellPopulationWithGhostNodes< DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, NodeBasedCellPopulationWithBuskeUpdate< DIM >, NodeBasedCellPopulationWithParticles< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >, AbstractOffLatticeCellPopulation< ELEMENT_DIM, ELEMENT_DIM >, AbstractOffLatticeCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
Definition at line 855 of file AbstractCellPopulation.cpp.
Referenced by AbstractOnLatticeCellPopulation< DIM >::OutputCellPopulationParameters(), and AbstractOffLatticeCellPopulation< ELEMENT_DIM, SPACE_DIM >::OutputCellPopulationParameters().
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::RemoveCellUsingLocationIndex | ( | unsigned | index, |
CellPtr | pCell | ||
) | [virtual] |
Removes a cell from a given location index.
index | the location index |
pCell | the cell. |
Reimplemented in MultipleCaBasedCellPopulation< DIM >.
Definition at line 298 of file AbstractCellPopulation.cpp.
References EXCEPTION.
Referenced by MultipleCaBasedCellPopulation< DIM >::RemoveCellUsingLocationIndex().
virtual unsigned AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::RemoveDeadCells | ( | ) | [pure virtual] |
Remove all cells labelled as dead.
As this method is pure virtual, it must be overridden in subclasses.
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
const std::vector< unsigned > & AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::rGetCellCyclePhaseCount | ( | ) | const |
Find out how many cells in each cell cycle phase there are
Definition at line 222 of file AbstractCellPopulation.cpp.
References EXCEPTION.
const std::vector< unsigned > & AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::rGetCellProliferativeTypeCount | ( | ) | const |
Find out how many cells of each type there are
Definition at line 212 of file AbstractCellPopulation.cpp.
References EXCEPTION.
std::list< CellPtr > & AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::rGetCells | ( | ) |
Definition at line 148 of file AbstractCellPopulation.cpp.
Referenced by AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Iterator::IsAtEnd(), and AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Iterator::Iterator().
AbstractMesh< ELEMENT_DIM, SPACE_DIM > & AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::rGetMesh | ( | ) |
Reimplemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
Definition at line 142 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Reimplemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, AbstractOffLatticeCellPopulation< ELEMENT_DIM, SPACE_DIM >, AbstractOnLatticeCellPopulation< DIM >, MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MeshBasedCellPopulationWithGhostNodes< DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, NodeBasedCellPopulationWithBuskeUpdate< DIM >, NodeBasedCellPopulationWithParticles< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >, AbstractOffLatticeCellPopulation< ELEMENT_DIM, ELEMENT_DIM >, AbstractOffLatticeCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
Definition at line 89 of file AbstractCellPopulation.hpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetCellAncestorsToLocationIndices | ( | ) |
Sets the Ancestor index of all the cells at this time to be the same as their location index, can be used to trace clonal populations.
Definition at line 165 of file AbstractCellPopulation.cpp.
References MAKE_PTR_ARGS.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetCellUsingLocationIndex | ( | unsigned | index, |
CellPtr | pCell | ||
) |
Set the cell corresponding to a given location index.
Assumes there is one cell for each location index and replaces any existing cell attached to the location index. If you wish to attach an additional cell to a location index use AddCellUsingLocaitonIndex as SetCellUsingLocation Index will overwrite cells attached to this index.
index | the location index |
pCell | the cell. |
Definition at line 277 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetDataOnAllCells | ( | const std::string & | dataName, |
double | dataValue | ||
) |
Add an item of cell data to every cell in the population
dataName | is the name associated with the data |
dataValue | is the value of the data, initially the same for each cell |
Definition at line 131 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetDefaultMutationStateOrdering | ( | ) |
Set a default ordering on mutation states, so that existing tests don't need to specify the old ordering explicitly.
Definition at line 339 of file AbstractCellPopulation.cpp.
virtual void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetNode | ( | unsigned | nodeIndex, |
ChastePoint< SPACE_DIM > & | rNewLocation | ||
) | [pure virtual] |
Move the node with a given index to a new point in space.
As this method is pure virtual, it must be overridden in subclasses.
nodeIndex | the index of the node to be moved |
rNewLocation | the new target location of the node |
Implemented in AbstractOffLatticeCellPopulation< ELEMENT_DIM, SPACE_DIM >, MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, and AbstractOffLatticeCellPopulation< ELEMENT_DIM, ELEMENT_DIM >.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetOutputCellAges | ( | bool | outputCellAges | ) |
Set mOutputCellAges.
outputCellAges | the new value of mOutputCellAges |
Definition at line 960 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetOutputCellAncestors | ( | bool | outputCellAncestors | ) |
Set mOutputCellAncestors.
outputCellAncestors | the new value of mOutputCellAncestors |
Definition at line 936 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetOutputCellCyclePhases | ( | bool | outputCellCyclePhases | ) |
Set mOutputCellCyclePhases.
outputCellCyclePhases | the new value of mOutputCellCyclePhases |
Definition at line 954 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetOutputCellIdData | ( | bool | outputCellIdData | ) |
Set mOutputCellIdData.
outputCellIdData | the new value of mOutputCellIdData |
Definition at line 924 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetOutputCellMutationStates | ( | bool | outputCellMutationStates | ) |
Set mOutputCellMutationStates.
outputCellMutationStates | the new value of mOutputCellMutationStates |
Definition at line 930 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetOutputCellProliferativeTypes | ( | bool | outputCellProliferativeTypes | ) |
Set mOutputCellProliferativeTypes.
outputCellProliferativeTypes | the new value of mOutputCellProliferativeTypes |
Definition at line 942 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetOutputCellVariables | ( | bool | outputCellVariables | ) |
Set mOutputCellVariables.
outputCellVariables | the new value of mOutputCellVariables |
Definition at line 948 of file AbstractCellPopulation.cpp.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::SetOutputCellVolumes | ( | bool | outputCellVolumes | ) |
Set mOutputCellVolumes.
outputCellVolumes | the new value of mOutputCellVolumes |
Definition at line 966 of file AbstractCellPopulation.cpp.
virtual void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Update | ( | bool | hasHadBirthsOrDeaths = true | ) | [pure virtual] |
Remove the Nodes (for cell-centre) or VertexElements (for cell-vertex) which have been marked as deleted and update the correspondence with Cells.
hasHadBirthsOrDeaths | - a bool saying whether cell population has had Births Or Deaths |
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
virtual void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Validate | ( | ) | [protected, pure virtual] |
Check consistency of our internal data structures.
As this method is pure virtual, it must be overridden in subclasses.
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MeshBasedCellPopulationWithGhostNodes< DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, NodeBasedCellPopulationWithParticles< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::WriteCellIdDataToFile | ( | ) |
Write cell ID data to mpCellIdFile.
Definition at line 791 of file AbstractCellPopulation.cpp.
References SimulationTime::GetTime(), and SimulationTime::Instance().
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::WriteCellResultsToFiles | ( | std::vector< unsigned > & | rCellProliferativeTypeCounter, |
std::vector< unsigned > & | rCellCyclePhaseCounter | ||
) |
Write the current state of each cell to output files.
rCellProliferativeTypeCounter | cell type counter |
rCellCyclePhaseCounter | cell cycle phase counter |
Definition at line 632 of file AbstractCellPopulation.cpp.
virtual void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::WriteCellVolumeResultsToFile | ( | ) | [pure virtual] |
Write the current volume of each cell to file. As this method is pure virtual, it must be overridden in subclasses.
Implemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::WriteResultsToFiles | ( | ) | [virtual] |
Write results from the current cell population state to output files.
Reimplemented in MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MultipleCaBasedCellPopulation< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
Definition at line 738 of file AbstractCellPopulation.cpp.
References SimulationTime::GetTime(), and SimulationTime::Instance().
Referenced by VertexBasedCellPopulation< DIM >::WriteResultsToFiles(), PottsBasedCellPopulation< DIM >::WriteResultsToFiles(), MultipleCaBasedCellPopulation< DIM >::WriteResultsToFiles(), and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::WriteResultsToFiles().
void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::WriteTimeAndNodeResultsToFiles | ( | ) | [virtual] |
Write the current time and node results to output files.
Reimplemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, AbstractCentreBasedCellPopulation< DIM >, and AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >.
Definition at line 692 of file AbstractCellPopulation.cpp.
References PetscTools::AmMaster(), PetscTools::AmTopMost(), PetscTools::BeginRoundRobin(), SimulationTime::GetTime(), SimulationTime::Instance(), and OutputFileHandler::OpenOutputFile().
virtual void AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::WriteVtkResultsToFile | ( | ) | [protected, pure virtual] |
Write the current results to mpVtkMetaFile.
As this method is pure virtual, it must be overridden in subclasses.
Implemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MeshBasedCellPopulationWithGhostNodes< DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, NodeBasedCellPopulationWithParticles< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented in AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, AbstractOffLatticeCellPopulation< ELEMENT_DIM, SPACE_DIM >, AbstractOnLatticeCellPopulation< DIM >, MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >, MeshBasedCellPopulationWithGhostNodes< DIM >, MultipleCaBasedCellPopulation< DIM >, NodeBasedCellPopulation< DIM >, NodeBasedCellPopulationWithBuskeUpdate< DIM >, NodeBasedCellPopulationWithParticles< DIM >, PottsBasedCellPopulation< DIM >, VertexBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< DIM >, AbstractCentreBasedCellPopulation< ELEMENT_DIM, ELEMENT_DIM >, AbstractOffLatticeCellPopulation< ELEMENT_DIM, ELEMENT_DIM >, AbstractOffLatticeCellPopulation< DIM >, MeshBasedCellPopulation< DIM >, MeshBasedCellPopulation< 1 >, and MeshBasedCellPopulation< 2 >.
Definition at line 80 of file AbstractCellPopulation.hpp.
std::vector<unsigned> AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCellCyclePhaseCount [protected] |
Current cell cycle phase counts
Definition at line 125 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation(), and AbstractCellPopulation< SPACE_DIM >::serialize().
std::map<Cell*, unsigned> AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCellLocationMap [protected] |
Map cells to location (node or VertexElement) indices
Definition at line 113 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation(), and AbstractCellPopulation< SPACE_DIM >::serialize().
std::vector<unsigned> AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCellProliferativeTypeCount [protected] |
Current cell type counts
Definition at line 122 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation(), and AbstractCellPopulation< SPACE_DIM >::serialize().
std::list<CellPtr> AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCells [protected] |
List of cells
Definition at line 119 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::CheckCellPointers(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::MeshBasedCellPopulation(), and AbstractCellPopulation< SPACE_DIM >::serialize().
c_vector<double, SPACE_DIM> AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mCentroid [protected] |
Population centroid
Definition at line 128 of file AbstractCellPopulation.hpp.
std::string AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mDirPath [protected] |
A cache of where the results are going (used for VTK writer).
Definition at line 167 of file AbstractCellPopulation.hpp.
std::map<unsigned, std::set<CellPtr> > AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mLocationCellMap [protected] |
Map location (node or VertexElement) indices back to cells
Definition at line 110 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation(), and AbstractCellPopulation< SPACE_DIM >::serialize().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mOutputCellAges [protected] |
Whether to write the cell ages to a file.
Definition at line 194 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< SPACE_DIM >::serialize().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mOutputCellAncestors [protected] |
Whether to output the ancestor of each cell to a visualizer file.
Definition at line 182 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< SPACE_DIM >::serialize().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mOutputCellCyclePhases [protected] |
Whether to write the cell cycle phases to a file.
Definition at line 191 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< SPACE_DIM >::serialize().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mOutputCellIdData [protected] |
Whether to write cell ID data to file.
Definition at line 176 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< SPACE_DIM >::serialize().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mOutputCellMutationStates [protected] |
Whether to count the number of each cell mutation state and output to file.
Definition at line 179 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< SPACE_DIM >::serialize().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mOutputCellProliferativeTypes [protected] |
Whether to count the number of each cell type and output to file.
Definition at line 185 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< SPACE_DIM >::serialize().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mOutputCellVariables [protected] |
Whether to write the cell variables to a file.
Definition at line 188 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< SPACE_DIM >::serialize().
bool AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mOutputCellVolumes [protected] |
Whether to write the cell volumes (in 3D) or areas (in 2D) to a file.
Definition at line 197 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< SPACE_DIM >::serialize().
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellAgesFile [protected] |
Results file for cell ages
Definition at line 155 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellCyclePhasesFile [protected] |
Results file for cell cycle phases
Definition at line 149 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellIdFile [protected] |
Results file for logged cell data.
Definition at line 158 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellMutationStatesFile [protected] |
Results file for cell mutation states
Definition at line 140 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellProliferativeTypesFile [protected] |
Results file for cell types
Definition at line 146 of file AbstractCellPopulation.hpp.
boost::shared_ptr<CellPropertyRegistry> AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellPropertyRegistry [protected] |
Cell property registry.
Definition at line 173 of file AbstractCellPopulation.hpp.
Referenced by AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulation(), and AbstractCellPopulation< SPACE_DIM >::serialize().
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellVariablesFile [protected] |
Results file for cell variables
Definition at line 152 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpCellVolumesFile [protected] |
Results file for cell volume (in 3D) or area (in 2D) data.
Definition at line 161 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpVizBoundaryNodesFile [protected] |
Results file for boundary nodes.
Definition at line 164 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpVizCellAncestorsFile [protected] |
Results file for cell ancestors
Definition at line 143 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpVizCellProliferativePhasesFile [protected] |
Results file for cell visualization
Definition at line 137 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpVizCellProliferativeTypesFile [protected] |
Results file for cell visualization
Definition at line 134 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpVizNodesFile [protected] |
Results file for node visualization
Definition at line 131 of file AbstractCellPopulation.hpp.
out_stream AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mpVtkMetaFile [protected] |
Meta results file for VTK.
Definition at line 170 of file AbstractCellPopulation.hpp.
AbstractMesh<ELEMENT_DIM, SPACE_DIM>& AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::mrMesh [protected] |
Reference to the mesh
Definition at line 116 of file AbstractCellPopulation.hpp.
Referenced by MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::CreateVoronoiTessellation(), MeshBasedCellPopulation< 2 >::CreateVoronoiTessellation(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNeighbouringNodeIndices(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetWidth(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::MeshBasedCellPopulation(), NodeBasedCellPopulation< DIM >::NodeBasedCellPopulation(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringsBegin(), and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringsEnd().