![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <VertexBasedPopulationSrn.hpp>
Public Member Functions | |
VertexBasedPopulationSrn () | |
~VertexBasedPopulationSrn () | |
void | SetVertexCellPopulation (VertexBasedCellPopulation< DIM > *pCellPopulation) |
void | UpdateSrnAfterBirthOrDeath (VertexElementMap &rElementMap) |
void | RemapCellSrn (std::vector< AbstractSrnModelPtr > parentSrnEdges, CellSrnModel *pCellSrn, const EdgeRemapInfo &rEdgeChange) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
VertexBasedCellPopulation< DIM > * | mpCellPopulation |
Friends | |
class | boost::serialization::access |
After topological rearrangments, e.g. T1-3, node merges, or edge splits due to mitosis, junctional SRNs must be updated accordingly. For example, after edge split due to mitosis a new SRN must be created that inherits modified model variables. This class deals with Cell SRN update after a topological change occurs to the cell.
Definition at line 59 of file VertexBasedPopulationSrn.hpp.
VertexBasedPopulationSrn< DIM >::VertexBasedPopulationSrn | ( | ) |
Default constructor.
Definition at line 40 of file VertexBasedPopulationSrn.cpp.
VertexBasedPopulationSrn< DIM >::~VertexBasedPopulationSrn | ( | ) |
Destructor.
Definition at line 46 of file VertexBasedPopulationSrn.cpp.
void VertexBasedPopulationSrn< DIM >::RemapCellSrn | ( | std::vector< AbstractSrnModelPtr > | parentSrnEdges, |
CellSrnModel * | pCellSrn, | ||
const EdgeRemapInfo & | rEdgeChange | ||
) |
Remaps cell SRN. If an edge has not been modified, the old edge SRN is mapped to its junction. Otherwise, edge SRNs are updated according to the operation performed.
parentSrnEdges | Edge SRNs before topology is changed |
pCellSrn | pointer to CellSrnModel |
rEdgeChange | Contains information about which edge changes occurred |
Definition at line 133 of file VertexBasedPopulationSrn.cpp.
References CellSrnModel::AddEdgeSrn(), AbstractSrnModel::GetCell(), EdgeRemapInfo::GetEdgesMapping(), EdgeRemapInfo::GetEdgesStatus(), CellSrnModel::GetInteriorSrn(), CellSrnModel::GetNumEdgeSrn(), and EdgeRemapInfo::GetSplitProportions().
|
inlineprivate |
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 |
Definition at line 79 of file VertexBasedPopulationSrn.hpp.
void VertexBasedPopulationSrn< DIM >::SetVertexCellPopulation | ( | VertexBasedCellPopulation< DIM > * | pCellPopulation | ) |
Set the cell population.
pCellPopulation | pointer to a VertexBasedCellPopulation |
Definition at line 51 of file VertexBasedPopulationSrn.cpp.
void VertexBasedPopulationSrn< DIM >::UpdateSrnAfterBirthOrDeath | ( | VertexElementMap & | rElementMap | ) |
This method iterates over edge operations performed on the mesh and calls on RemapCellSrn() with appropriate arguments
rElementMap | the element map to take into account that some elements are deleted after an edge operation is recorded |
Definition at line 57 of file VertexBasedPopulationSrn.cpp.
References CellSrnModel::GetEdges(), VertexElementMap::GetNewIndex(), MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::GetOperationRecorder(), VertexElementMap::IsDeleted(), and VertexBasedCellPopulation< DIM >::rGetMesh().
|
friend |
Definition at line 66 of file VertexBasedPopulationSrn.hpp.
|
private |
Pointer to a VertexBasedCellPopulation.
Definition at line 64 of file VertexBasedPopulationSrn.hpp.