#include <VertexBasedCellPopulation.hpp>
Inherits AbstractOffLatticeCellPopulation< DIM >.
Public Member Functions | |
VertexBasedCellPopulation (MutableVertexMesh< DIM, DIM > &rMesh, std::vector< CellPtr > &rCells, bool deleteMesh=false, bool validate=true, const std::vector< unsigned > locationIndices=std::vector< unsigned >()) | |
VertexBasedCellPopulation (MutableVertexMesh< DIM, DIM > &rMesh) | |
virtual | ~VertexBasedCellPopulation () |
double | GetDampingConstant (unsigned nodeIndex) |
MutableVertexMesh< DIM, DIM > & | rGetMesh () |
const MutableVertexMesh< DIM, DIM > & | rGetMesh () const |
VertexElement< DIM, DIM > * | GetElement (unsigned elementIndex) |
unsigned | GetNumElements () |
unsigned | GetNumNodes () |
c_vector< double, DIM > | GetLocationOfCellCentre (CellPtr pCell) |
Node< DIM > * | GetNode (unsigned index) |
unsigned | AddNode (Node< DIM > *pNewNode) |
void | UpdateNodeLocations (const std::vector< c_vector< double, DIM > > &rNodeForces, double dt) |
void | SetNode (unsigned index, ChastePoint< DIM > &rNewLocation) |
VertexElement< DIM, DIM > * | GetElementCorrespondingToCell (CellPtr pCell) |
CellPtr | AddCell (CellPtr pNewCell, const c_vector< double, DIM > &rCellDivisionVector, CellPtr pParentCell=CellPtr()) |
unsigned | RemoveDeadCells () |
bool | IsCellAssociatedWithADeletedLocation (CellPtr pCell) |
void | Update (bool hasHadBirthsOrDeaths=true) |
void | CreateOutputFiles (const std::string &rDirectory, bool cleanOutputDirectory) |
void | CloseOutputFiles () |
void | WriteResultsToFiles () |
void | WriteCellVolumeResultsToFile () |
virtual void | GenerateCellResultsAndWriteToFiles () |
void | OutputCellPopulationParameters (out_stream &rParamsFile) |
double | GetWidth (const unsigned &rDimension) |
std::set< unsigned > | GetNeighbouringNodeIndices (unsigned index) |
Private Member Functions | |
void | WriteVtkResultsToFile () |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
void | Validate () |
Private Attributes | |
MutableVertexMesh< DIM, DIM > & | mrMesh |
bool | mDeleteMesh |
out_stream | mpVizElementsFile |
out_stream | mpT1SwapLocationsFile |
out_stream | mpT3SwapLocationsFile |
Friends | |
class | boost::serialization::access |
A facade class encapsulating a vertex-based cell population.
Contains a group of cells and maintains the associations between CellPtrs and elements in the MutableVertexMesh.
Definition at line 51 of file VertexBasedCellPopulation.hpp.
VertexBasedCellPopulation< DIM >::VertexBasedCellPopulation | ( | MutableVertexMesh< DIM, DIM > & | rMesh, | |
std::vector< CellPtr > & | rCells, | |||
bool | deleteMesh = false , |
|||
bool | validate = true , |
|||
const std::vector< unsigned > | locationIndices = std::vector<unsigned>() | |||
) | [inline] |
Create a new cell population facade from a mesh and collection of cells.
There must be precisely one CellPtr for each VertexElement in the mesh.
rMesh | reference to a | |
rCells | reference to a vector of CellPtrs | |
deleteMesh | set to true if you want the cell population to free the mesh memory on destruction | |
validate | whether to validate the cell population when it is created (defaults to true) | |
locationIndices | an optional vector of location indices that correspond to real cells |
Definition at line 35 of file VertexBasedCellPopulation.cpp.
References EXCEPTION, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNodeIteratorBegin(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNodeIteratorEnd(), VertexBasedCellPopulation< DIM >::mrMesh, and VertexBasedCellPopulation< DIM >::Validate().
VertexBasedCellPopulation< DIM >::VertexBasedCellPopulation | ( | MutableVertexMesh< DIM, DIM > & | rMesh | ) | [inline] |
Constructor for use by the de-serializer.
rMesh | a vertex mesh. |
Definition at line 70 of file VertexBasedCellPopulation.cpp.
VertexBasedCellPopulation< DIM >::~VertexBasedCellPopulation | ( | ) | [inline, virtual] |
Destructor, which frees any memory allocated by the constructor.
Definition at line 78 of file VertexBasedCellPopulation.cpp.
References VertexBasedCellPopulation< DIM >::mDeleteMesh, and VertexBasedCellPopulation< DIM >::mrMesh.
CellPtr VertexBasedCellPopulation< DIM >::AddCell | ( | CellPtr | pNewCell, | |
const c_vector< double, DIM > & | rCellDivisionVector, | |||
CellPtr | pParentCell = CellPtr() | |||
) | [inline, virtual] |
Overridden AddCell() method.
Add a new cell to the cell population.
pNewCell | the cell to add | |
rCellDivisionVector | if this vector has any non-zero component, then it is used as the axis along which the parent cell divides | |
pParentCell | pointer to a parent cell (if required) |
Implements AbstractCellPopulation< DIM >.
Definition at line 177 of file VertexBasedCellPopulation.cpp.
References MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideElementAlongGivenAxis(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DivideElementAlongShortAxis(), VertexBasedCellPopulation< DIM >::GetElementCorrespondingToCell(), AbstractCellPopulation< DIM >::mCellLocationMap, AbstractCellPopulation< DIM >::mCells, AbstractCellPopulation< DIM >::mLocationCellMap, and VertexBasedCellPopulation< DIM >::mrMesh.
unsigned VertexBasedCellPopulation< DIM >::AddNode | ( | Node< DIM > * | pNewNode | ) | [inline, virtual] |
Overridden AddNode() method.
Add a new node to the cell population.
pNewNode | pointer to the new node |
Implements AbstractOffLatticeCellPopulation< DIM >.
Definition at line 153 of file VertexBasedCellPopulation.cpp.
References MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), and VertexBasedCellPopulation< DIM >::mrMesh.
void VertexBasedCellPopulation< DIM >::CloseOutputFiles | ( | ) | [inline, virtual] |
Overridden CloseOutputFiles() method.
Reimplemented from AbstractCellPopulation< DIM >.
Definition at line 610 of file VertexBasedCellPopulation.cpp.
References VertexBasedCellPopulation< DIM >::mpT1SwapLocationsFile, VertexBasedCellPopulation< DIM >::mpT3SwapLocationsFile, and VertexBasedCellPopulation< DIM >::mpVizElementsFile.
void VertexBasedCellPopulation< DIM >::CreateOutputFiles | ( | const std::string & | rDirectory, | |
bool | cleanOutputDirectory | |||
) | [inline, virtual] |
Overridden CreateOutputFiles() method.
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 from AbstractCellPopulation< DIM >.
Definition at line 599 of file VertexBasedCellPopulation.cpp.
References VertexBasedCellPopulation< DIM >::mpT1SwapLocationsFile, VertexBasedCellPopulation< DIM >::mpT3SwapLocationsFile, VertexBasedCellPopulation< DIM >::mpVizElementsFile, and OutputFileHandler::OpenOutputFile().
void VertexBasedCellPopulation< DIM >::GenerateCellResultsAndWriteToFiles | ( | ) | [inline, virtual] |
Overridden GenerateCellResultsAndWriteToFiles() method.
Implements AbstractCellPopulation< DIM >.
Definition at line 619 of file VertexBasedCellPopulation.cpp.
References AbstractCellPopulation< DIM >::Begin(), AbstractCellPopulation< DIM >::End(), AbstractCellPopulation< DIM >::GenerateCellResults(), AbstractCellPopulation< DIM >::GetLocationIndexUsingCell(), AbstractCellPopulation< DIM >::mCellCyclePhaseCount, AbstractCellPopulation< DIM >::mCellProliferativeTypeCount, and AbstractCellPopulation< DIM >::WriteCellResultsToFiles().
double VertexBasedCellPopulation< DIM >::GetDampingConstant | ( | unsigned | nodeIndex | ) | [inline, virtual] |
Overridden GetDampingConstant() method.
nodeIndex | the global index of this node |
Implements AbstractOffLatticeCellPopulation< DIM >.
Definition at line 87 of file VertexBasedCellPopulation.cpp.
References AbstractCellPopulation< DIM >::GetCellUsingLocationIndex(), AbstractOffLatticeCellPopulation< DIM >::GetDampingConstantMutant(), AbstractOffLatticeCellPopulation< DIM >::GetDampingConstantNormal(), and VertexBasedCellPopulation< DIM >::GetNode().
Referenced by VertexBasedCellPopulation< DIM >::UpdateNodeLocations().
VertexElement< DIM, DIM > * VertexBasedCellPopulation< DIM >::GetElement | ( | unsigned | elementIndex | ) | [inline] |
Get a particular VertexElement.
elementIndex | the global index of the VertexElement |
Definition at line 129 of file VertexBasedCellPopulation.cpp.
References VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), and VertexBasedCellPopulation< DIM >::mrMesh.
Referenced by NagaiHondaForce< DIM >::AddForceContribution(), VertexBasedCellPopulation< DIM >::WriteCellVolumeResultsToFile(), and VertexBasedCellPopulation< DIM >::WriteResultsToFiles().
VertexElement< DIM, DIM > * VertexBasedCellPopulation< DIM >::GetElementCorrespondingToCell | ( | CellPtr | pCell | ) | [inline] |
Get a pointer to the element corresponding to a given CellPtr.
pCell | the cell |
Definition at line 165 of file VertexBasedCellPopulation.cpp.
References VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), AbstractCellPopulation< DIM >::mCellLocationMap, and VertexBasedCellPopulation< DIM >::mrMesh.
Referenced by VertexBasedCellPopulation< DIM >::AddCell(), and VertexBasedCellPopulation< DIM >::IsCellAssociatedWithADeletedLocation().
c_vector< double, DIM > VertexBasedCellPopulation< DIM >::GetLocationOfCellCentre | ( | CellPtr | pCell | ) | [inline, virtual] |
Overridden GetLocationOfCellCentre() method.
Find the centre of mass of a given cell (assuming uniform density). Note that, as there is no guarantee of convexity, this may lie outside the VertexElement corresponding to the cell.
pCell | a cell in the population |
Implements AbstractCellPopulation< DIM >.
Definition at line 141 of file VertexBasedCellPopulation.cpp.
References VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetCentroidOfElement(), AbstractCellPopulation< DIM >::mCellLocationMap, and VertexBasedCellPopulation< DIM >::mrMesh.
Referenced by VertexBasedCellPopulation< DIM >::WriteCellVolumeResultsToFile().
std::set< unsigned > VertexBasedCellPopulation< DIM >::GetNeighbouringNodeIndices | ( | unsigned | index | ) | [inline, virtual] |
Overridden GetNeighbouringNodeIndices() method.
index | the node index |
Implements AbstractCellPopulation< DIM >.
Definition at line 668 of file VertexBasedCellPopulation.cpp.
References VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNeighbouringNodeIndices(), and VertexBasedCellPopulation< DIM >::mrMesh.
Node< DIM > * VertexBasedCellPopulation< DIM >::GetNode | ( | unsigned | index | ) | [inline, virtual] |
Overridden GetNode() method.
index | global index of the specified node |
Implements AbstractCellPopulation< DIM >.
Definition at line 147 of file VertexBasedCellPopulation.cpp.
References AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNode(), and VertexBasedCellPopulation< DIM >::mrMesh.
Referenced by NagaiHondaForce< DIM >::AddForceContribution(), VertexBasedCellPopulation< DIM >::GetDampingConstant(), PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition(), and VertexBasedCellPopulation< DIM >::UpdateNodeLocations().
unsigned VertexBasedCellPopulation< DIM >::GetNumElements | ( | ) | [inline] |
Definition at line 171 of file VertexBasedCellPopulation.cpp.
References MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNumElements(), and VertexBasedCellPopulation< DIM >::mrMesh.
Referenced by VertexBasedCellPopulation< DIM >::Validate().
unsigned VertexBasedCellPopulation< DIM >::GetNumNodes | ( | ) | [inline, virtual] |
Overridden GetNumNodes() method.
Implements AbstractCellPopulation< DIM >.
Definition at line 135 of file VertexBasedCellPopulation.cpp.
References MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), and VertexBasedCellPopulation< DIM >::mrMesh.
Referenced by NagaiHondaForce< DIM >::AddForceContribution(), PlaneBoundaryCondition< DIM >::ImposeBoundaryCondition(), and VertexBasedCellPopulation< DIM >::UpdateNodeLocations().
double VertexBasedCellPopulation< DIM >::GetWidth | ( | const unsigned & | rDimension | ) | [inline, virtual] |
Overridden GetWidth() method.
Calculate the 'width' of any dimension of the cell population by calling GetWidth() on the mesh.
rDimension | a dimension (0,1 or 2) |
Implements AbstractCellPopulation< DIM >.
Definition at line 659 of file VertexBasedCellPopulation.cpp.
References AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetWidth(), and VertexBasedCellPopulation< DIM >::mrMesh.
bool VertexBasedCellPopulation< DIM >::IsCellAssociatedWithADeletedLocation | ( | CellPtr | pCell | ) | [inline, virtual] |
Overridden IsCellAssociatedWithADeletedLocation() method.
pCell | the cell |
Implements AbstractCellPopulation< DIM >.
Definition at line 268 of file VertexBasedCellPopulation.cpp.
References VertexBasedCellPopulation< DIM >::GetElementCorrespondingToCell().
void VertexBasedCellPopulation< DIM >::OutputCellPopulationParameters | ( | out_stream & | rParamsFile | ) | [inline, 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 |
Reimplemented from AbstractOffLatticeCellPopulation< DIM >.
Definition at line 648 of file VertexBasedCellPopulation.cpp.
References MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetCellRearrangementRatio(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetCellRearrangementThreshold(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetT2Threshold(), and VertexBasedCellPopulation< DIM >::mrMesh.
unsigned VertexBasedCellPopulation< DIM >::RemoveDeadCells | ( | ) | [inline, virtual] |
Remove all cells labelled as dead.
Note that after calling this method the cell population will be in an inconsistent state until the equivalent of a 'remesh' is performed! So don't try iterating over cells or anything like that.
Implements AbstractCellPopulation< DIM >.
Definition at line 206 of file VertexBasedCellPopulation.cpp.
References MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::DeleteElementPriorToReMesh(), AbstractCellPopulation< DIM >::mCellLocationMap, AbstractCellPopulation< DIM >::mCells, and VertexBasedCellPopulation< DIM >::mrMesh.
const MutableVertexMesh< DIM, DIM > & VertexBasedCellPopulation< DIM >::rGetMesh | ( | ) | const [inline] |
Definition at line 123 of file VertexBasedCellPopulation.cpp.
References VertexBasedCellPopulation< DIM >::mrMesh.
MutableVertexMesh< DIM, DIM > & VertexBasedCellPopulation< DIM >::rGetMesh | ( | ) | [inline] |
Definition at line 117 of file VertexBasedCellPopulation.cpp.
References VertexBasedCellPopulation< DIM >::mrMesh.
Referenced by VertexCryptBoundaryForce< DIM >::AddForceContribution(), WelikyOsterForce< DIM >::AddForceContribution(), NagaiHondaForce< DIM >::AddForceContribution(), and VolumeTrackedOffLatticeSimulation< DIM >::PostSolve().
void VertexBasedCellPopulation< DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Serialize the object and its member variables.
Note that serialization of the mesh and cells is handled by load/save_construct_data.
Note also that member data related to writers is not saved - output must be set up again by the caller after a restart.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractOffLatticeCellPopulation< DIM >.
Definition at line 91 of file VertexBasedCellPopulation.hpp.
void VertexBasedCellPopulation< DIM >::SetNode | ( | unsigned | index, | |
ChastePoint< DIM > & | rNewLocation | |||
) | [inline, virtual] |
Overridden SetNode() method.
Move the node with a given index to a new point in space.
index | the index of the node to be moved | |
rNewLocation | the new target location of the node |
Implements AbstractOffLatticeCellPopulation< DIM >.
Definition at line 159 of file VertexBasedCellPopulation.cpp.
References VertexBasedCellPopulation< DIM >::mrMesh, and MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::SetNode().
Referenced by VertexBasedCellPopulation< DIM >::UpdateNodeLocations().
void VertexBasedCellPopulation< DIM >::Update | ( | bool | hasHadBirthsOrDeaths = true |
) | [inline, virtual] |
Remove the VertexElements which have been marked as deleted, perform any cell rearrangements if required, and update the correspondence with CellPtrs.
hasHadBirthsOrDeaths | - a bool saying whether cell population has had Births Or Deaths not needed in this cell population class |
Implements AbstractCellPopulation< DIM >.
Definition at line 274 of file VertexBasedCellPopulation.cpp.
References VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNumAllElements(), AbstractCellPopulation< DIM >::mCellLocationMap, AbstractCellPopulation< DIM >::mCells, AbstractCellPopulation< DIM >::mLocationCellMap, VertexBasedCellPopulation< DIM >::mrMesh, MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh(), and VertexBasedCellPopulation< DIM >::Validate().
void VertexBasedCellPopulation< DIM >::UpdateNodeLocations | ( | const std::vector< c_vector< double, DIM > > & | rNodeForces, | |
double | dt | |||
) | [inline, virtual] |
Overridden UpdateNodeLocations() method.
rNodeForces | a vector containing the force on each node in the cell population | |
dt | the time step |
Implements AbstractOffLatticeCellPopulation< DIM >.
Definition at line 227 of file VertexBasedCellPopulation.cpp.
References MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetCellRearrangementThreshold(), VertexBasedCellPopulation< DIM >::GetDampingConstant(), VertexBasedCellPopulation< DIM >::GetNode(), VertexBasedCellPopulation< DIM >::GetNumNodes(), VertexBasedCellPopulation< DIM >::mrMesh, and VertexBasedCellPopulation< DIM >::SetNode().
void VertexBasedCellPopulation< DIM >::Validate | ( | ) | [inline, private, virtual] |
Check the consistency of internal data structures. Each VertexElement must have a CellPtr associated with it.
Implements AbstractCellPopulation< DIM >.
Definition at line 322 of file VertexBasedCellPopulation.cpp.
References AbstractCellPopulation< DIM >::Begin(), AbstractCellPopulation< DIM >::End(), EXCEPTION, AbstractCellPopulation< DIM >::GetLocationIndexUsingCell(), and VertexBasedCellPopulation< DIM >::GetNumElements().
Referenced by VertexBasedCellPopulation< DIM >::Update(), and VertexBasedCellPopulation< DIM >::VertexBasedCellPopulation().
void VertexBasedCellPopulation< DIM >::WriteCellVolumeResultsToFile | ( | ) | [inline, virtual] |
Write the current index and location (of the centre) of each element in mrMesh, as well as the ID and the area (in 2D) or volume (in 3D) of its corresponding cell, to mpCellVolumesFile.
Implements AbstractCellPopulation< DIM >.
Definition at line 423 of file VertexBasedCellPopulation.cpp.
References AbstractCellPopulation< DIM >::Begin(), AbstractCellPopulation< DIM >::End(), VertexBasedCellPopulation< DIM >::GetElement(), AbstractCellPopulation< DIM >::GetLocationIndexUsingCell(), VertexBasedCellPopulation< DIM >::GetLocationOfCellCentre(), SimulationTime::GetTime(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfElement(), SimulationTime::Instance(), AbstractCellPopulation< DIM >::mLocationCellMap, AbstractCellPopulation< DIM >::mpCellVolumesFile, and VertexBasedCellPopulation< DIM >::mrMesh.
void VertexBasedCellPopulation< DIM >::WriteResultsToFiles | ( | ) | [inline, virtual] |
Overridden WriteResultsToFiles() method.
Reimplemented from AbstractCellPopulation< DIM >.
Definition at line 350 of file VertexBasedCellPopulation.cpp.
References MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::ClearLocationsOfT1Swaps(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::ClearLocationsOfT3Swaps(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), VertexBasedCellPopulation< DIM >::GetElement(), AbstractCellPopulation< DIM >::GetLocationIndexUsingCell(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetLocationsOfT1Swaps(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetLocationsOfT3Swaps(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNodeGlobalIndex(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), SimulationTime::GetTime(), SimulationTime::Instance(), AbstractCellPopulation< DIM >::mCells, AbstractCellPopulation< DIM >::mLocationCellMap, VertexBasedCellPopulation< DIM >::mpT1SwapLocationsFile, VertexBasedCellPopulation< DIM >::mpT3SwapLocationsFile, VertexBasedCellPopulation< DIM >::mpVizElementsFile, and VertexBasedCellPopulation< DIM >::mrMesh.
void VertexBasedCellPopulation< DIM >::WriteVtkResultsToFile | ( | ) | [inline, private, virtual] |
Overridden WriteVtkResultsToFile() method.
Implements AbstractCellPopulation< DIM >.
Definition at line 471 of file VertexBasedCellPopulation.cpp.
References VertexMeshWriter< ELEMENT_DIM, SPACE_DIM >::AddCellData(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElementIteratorBegin(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetElementIteratorEnd(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNumElements(), CellwiseData< DIM >::GetNumVariables(), SimulationTime::GetTimeStepsElapsed(), CellwiseData< DIM >::GetValue(), VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetVolumeOfElement(), SimulationTime::Instance(), AbstractCellPopulation< DIM >::mDirPath, AbstractCellPopulation< DIM >::mLocationCellMap, AbstractCellPopulation< DIM >::mOutputCellAges, AbstractCellPopulation< DIM >::mOutputCellAncestors, AbstractCellPopulation< DIM >::mOutputCellCyclePhases, AbstractCellPopulation< DIM >::mOutputCellMutationStates, AbstractCellPopulation< DIM >::mOutputCellProliferativeTypes, AbstractCellPopulation< DIM >::mOutputCellVolumes, AbstractCellPopulation< DIM >::mpVtkMetaFile, VertexBasedCellPopulation< DIM >::mrMesh, UNSIGNED_UNSET, and VertexMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteVtkUsingMesh().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractOffLatticeCellPopulation< DIM >.
Definition at line 78 of file VertexBasedCellPopulation.hpp.
bool VertexBasedCellPopulation< DIM >::mDeleteMesh [private] |
Whether to delete the mesh when we are destroyed. Needed if this cell population has been de-serialized.
Definition at line 62 of file VertexBasedCellPopulation.hpp.
Referenced by VertexBasedCellPopulation< DIM >::~VertexBasedCellPopulation().
out_stream VertexBasedCellPopulation< DIM >::mpT1SwapLocationsFile [private] |
Results file for locations of T1Swaps.
Definition at line 68 of file VertexBasedCellPopulation.hpp.
Referenced by VertexBasedCellPopulation< DIM >::CloseOutputFiles(), VertexBasedCellPopulation< DIM >::CreateOutputFiles(), and VertexBasedCellPopulation< DIM >::WriteResultsToFiles().
out_stream VertexBasedCellPopulation< DIM >::mpT3SwapLocationsFile [private] |
Results file for locations of T3Swaps.
Definition at line 71 of file VertexBasedCellPopulation.hpp.
Referenced by VertexBasedCellPopulation< DIM >::CloseOutputFiles(), VertexBasedCellPopulation< DIM >::CreateOutputFiles(), and VertexBasedCellPopulation< DIM >::WriteResultsToFiles().
out_stream VertexBasedCellPopulation< DIM >::mpVizElementsFile [private] |
Results file for elements.
Definition at line 65 of file VertexBasedCellPopulation.hpp.
Referenced by VertexBasedCellPopulation< DIM >::CloseOutputFiles(), VertexBasedCellPopulation< DIM >::CreateOutputFiles(), and VertexBasedCellPopulation< DIM >::WriteResultsToFiles().
MutableVertexMesh<DIM, DIM>& VertexBasedCellPopulation< DIM >::mrMesh [private] |
Vertex-based mesh associated with the cell population.
Definition at line 56 of file VertexBasedCellPopulation.hpp.
Referenced by VertexBasedCellPopulation< DIM >::AddCell(), VertexBasedCellPopulation< DIM >::AddNode(), VertexBasedCellPopulation< DIM >::GetElement(), VertexBasedCellPopulation< DIM >::GetElementCorrespondingToCell(), VertexBasedCellPopulation< DIM >::GetLocationOfCellCentre(), VertexBasedCellPopulation< DIM >::GetNeighbouringNodeIndices(), VertexBasedCellPopulation< DIM >::GetNode(), VertexBasedCellPopulation< DIM >::GetNumElements(), VertexBasedCellPopulation< DIM >::GetNumNodes(), VertexBasedCellPopulation< DIM >::GetWidth(), VertexBasedCellPopulation< DIM >::OutputCellPopulationParameters(), VertexBasedCellPopulation< DIM >::RemoveDeadCells(), VertexBasedCellPopulation< DIM >::rGetMesh(), VertexBasedCellPopulation< DIM >::SetNode(), VertexBasedCellPopulation< DIM >::Update(), VertexBasedCellPopulation< DIM >::UpdateNodeLocations(), VertexBasedCellPopulation< DIM >::VertexBasedCellPopulation(), VertexBasedCellPopulation< DIM >::WriteCellVolumeResultsToFile(), VertexBasedCellPopulation< DIM >::WriteResultsToFiles(), VertexBasedCellPopulation< DIM >::WriteVtkResultsToFile(), and VertexBasedCellPopulation< DIM >::~VertexBasedCellPopulation().