#include <MutableMesh.hpp>
Inherits TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Public Member Functions | |
MutableMesh () | |
MutableMesh (std::vector< Node< SPACE_DIM > * > nodes) | |
virtual | ~MutableMesh () |
void | Clear () |
unsigned | GetNumNodes () const |
unsigned | GetNumElements () const |
unsigned | GetNumBoundaryElements () const |
void | RescaleMeshFromBoundaryNode (ChastePoint< 1 > updatedPoint, unsigned boundaryNodeIndex) |
virtual unsigned | AddNode (Node< SPACE_DIM > *pNewNode) |
virtual void | SetNode (unsigned index, ChastePoint< SPACE_DIM > point, bool concreteMove=true) |
void | MoveMergeNode (unsigned index, unsigned targetIndex, bool concreteMove=true) |
void | DeleteNode (unsigned index) |
void | DeleteNodePriorToReMesh (unsigned index) |
unsigned | RefineElement (Element< ELEMENT_DIM, SPACE_DIM > *pElement, ChastePoint< SPACE_DIM > point) |
void | DeleteBoundaryNodeAt (unsigned index) |
void | ReIndex (NodeMap &map) |
virtual void | ReMesh (NodeMap &map) |
void | ReMesh () |
bool | CheckIsVoronoi (double maxPenetration=0.0) |
template<> | |
void | RescaleMeshFromBoundaryNode (ChastePoint< 1 > updatedPoint, unsigned boundaryNodeIndex) |
Protected Attributes | |
std::vector< unsigned > | mDeletedElementIndices |
std::vector< unsigned > | mDeletedBoundaryElementIndices |
std::vector< unsigned > | mDeletedNodeIndices |
bool | mAddedNodes |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
bool | CheckIsVoronoi (Element< ELEMENT_DIM, SPACE_DIM > *pElement, double maxPenetration) |
Friends | |
class | boost::serialization::access |
A concrete mutable mesh class.
Definition at line 42 of file MutableMesh.hpp.
MutableMesh< ELEMENT_DIM, SPACE_DIM >::MutableMesh | ( | ) | [inline] |
Constructor.
Definition at line 45 of file MutableMesh.cpp.
References AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mMeshChangesDuringSimulation.
MutableMesh< ELEMENT_DIM, SPACE_DIM >::MutableMesh | ( | std::vector< Node< SPACE_DIM > * > | nodes | ) | [inline] |
Constructor which takes in a vector of nodes.
nodes | a vector of nodes |
Definition at line 52 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::Clear(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::mAddedNodes, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mMeshChangesDuringSimulation, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes, and MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh().
MutableMesh< ELEMENT_DIM, SPACE_DIM >::~MutableMesh | ( | ) | [inline, virtual] |
Destructor.
Definition at line 67 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::Clear().
unsigned MutableMesh< ELEMENT_DIM, SPACE_DIM >::AddNode | ( | Node< SPACE_DIM > * | pNewNode | ) | [inline, virtual] |
Add a node to the mesh.
NB. After calling this one or more times, you must then call ReMesh
pNewNode | pointer to the new node |
Definition at line 73 of file MutableMesh.cpp.
References Node< SPACE_DIM >::GetIndex(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::mAddedNodes, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes, and Node< SPACE_DIM >::SetIndex().
Referenced by MeshBasedTissue< DIM >::AddNode(), and MutableMesh< ELEMENT_DIM, SPACE_DIM >::RefineElement().
bool MutableMesh< ELEMENT_DIM, SPACE_DIM >::CheckIsVoronoi | ( | double | maxPenetration = 0.0 |
) | [inline] |
Checks the entire mesh element by element and checks whether any neighbouring node is inside the circumsphere of this element.
maxPenetration | is the maximum distance a node is allowed to be inside the circumsphere of an element that it is not a member of, as a proportion of the circumsphere radius. |
Definition at line 1012 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::CheckIsVoronoi(), and AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElements.
bool MutableMesh< ELEMENT_DIM, SPACE_DIM >::CheckIsVoronoi | ( | Element< ELEMENT_DIM, SPACE_DIM > * | pElement, | |
double | maxPenetration | |||
) | [inline, private] |
Check whether any neighbouring node is inside the circumsphere of this element.
pElement | pointer to an element | |
maxPenetration | is the maximum distance a node is allowed to be inside the circumsphere of the element, as a proportion of the circumsphere radius. |
Definition at line 927 of file MutableMesh.cpp.
References Element< ELEMENT_DIM, SPACE_DIM >::CalculateCircumsphere(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetIndex(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNode(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNode(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNodeGlobalIndex(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElementInverseJacobians, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElementJacobians, and Node< SPACE_DIM >::rGetContainingElementIndices().
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::CheckIsVoronoi().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::Clear | ( | ) | [inline, virtual] |
Clear all the data in the mesh.
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 93 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::mAddedNodes, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedBoundaryElementIndices, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedElementIndices, and MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices.
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::MutableMesh(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh(), and MutableMesh< ELEMENT_DIM, SPACE_DIM >::~MutableMesh().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteBoundaryNodeAt | ( | unsigned | index | ) | [inline] |
Remove a boundary node, and update all the appropriate data structures.
The deleted node is not removed from the list, merely marked as deleted, and can be reused when a new node is added to the mesh.
Any elements or boundary elements containing this node will be removed. The boundary nodes information will be updated with new boundary node(s). NB: New boundary elements WILL NOT be added.
index | The index of the node to remove. |
Definition at line 453 of file MutableMesh.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetBoundaryElement(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetIndex(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNode(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), Node< SPACE_DIM >::IsDeleted(), Element< ELEMENT_DIM, SPACE_DIM >::MarkAsDeleted(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryNodes, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedBoundaryElementIndices, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedElementIndices, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes, and Node< SPACE_DIM >::SetAsBoundaryNode().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteNode | ( | unsigned | index | ) | [inline] |
Delete a node from the mesh by finding an appropriate neighbour node to merge it with.
index | is the index of the node to be deleted |
Definition at line 200 of file MutableMesh.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNodeGlobalIndex(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes, and MutableMesh< ELEMENT_DIM, SPACE_DIM >::MoveMergeNode().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteNodePriorToReMesh | ( | unsigned | index | ) | [inline] |
Mark a node as deleted. Note that this method DOES NOT deal with the associated elements and therefore should only be called immediately prior to a ReMesh() being called. (Thus saves work compared to DeleteNode() function and does not MoveMerge the node and elements).
index | The index of the node to delete |
Definition at line 236 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices, and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes.
Referenced by HoneycombMeshGenerator::GetCircularMesh(), and MeshBasedTissue< DIM >::RemoveDeadCells().
unsigned MutableMesh< ELEMENT_DIM, SPACE_DIM >::GetNumBoundaryElements | ( | ) | const [inline, virtual] |
Get the number of boundary elements that are actually in use.
Reimplemented from AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 104 of file MutableMesh.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryElements, and MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedBoundaryElementIndices.
unsigned MutableMesh< ELEMENT_DIM, SPACE_DIM >::GetNumElements | ( | ) | const [inline, virtual] |
Get the number of elements that are actually in use.
Reimplemented from AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 110 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedElementIndices, and AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElements.
unsigned MutableMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes | ( | ) | const [inline, virtual] |
Get the number of nodes that are actually in use.
Reimplemented from AbstractMesh< ELEMENT_DIM, SPACE_DIM >.
Definition at line 116 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices, and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes.
Referenced by HoneycombMeshGenerator::GetCellLocationIndices(), HoneycombMeshGenerator::GetCircularMesh(), HoneycombMeshGenerator::HoneycombMeshGenerator(), MeshBasedTissue< DIM >::MeshBasedTissue(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh(), MutableMesh< DIM, DIM >::serialize(), and MeshBasedTissueWithGhostNodes< DIM >::SetGhostNodes().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::MoveMergeNode | ( | unsigned | index, | |
unsigned | targetIndex, | |||
bool | concreteMove = true | |||
) | [inline] |
Move one node to another (i.e. merges the nodes), refreshing/deleting elements as appropriate.
index | is the index of the node to be moved | |
targetIndex | is the index of the node to move to | |
concreteMove | can be set to false if you just want to check whether this will work (defaults to true). Set it to true if you're doing the merger for real, in order to do all the bookkeeping. |
Definition at line 243 of file MutableMesh.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetBoundaryElement(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryElementJacobianDeterminants, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryElementWeightedDirections, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedBoundaryElementIndices, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedElementIndices, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElementJacobianDeterminants, and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes.
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteNode().
unsigned MutableMesh< ELEMENT_DIM, SPACE_DIM >::RefineElement | ( | Element< ELEMENT_DIM, SPACE_DIM > * | pElement, | |
ChastePoint< SPACE_DIM > | point | |||
) | [inline] |
Refine an element at a given point.
pElement | pointer to the element | |
point | a point located in the element |
Definition at line 397 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), Element< ELEMENT_DIM, SPACE_DIM >::IncludesPoint(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedElementIndices, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElements, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes, ChastePoint< DIM >::rGetLocation(), and Element< ELEMENT_DIM, SPACE_DIM >::UpdateNode().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReIndex | ( | NodeMap & | map | ) | [inline] |
Re-index a mesh so that it has no deleted elements or nodes.
map | is a NodeMap which associates the indices of nodes in the old mesh with indices of nodes in the new mesh. This should be created with the correct size (NumAllNodes) |
Definition at line 502 of file MutableMesh.cpp.
References AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumAllNodes(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::mAddedNodes, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryElementJacobianDeterminants, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryElements, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryElementWeightedDirections, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedBoundaryElementIndices, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedElementIndices, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElementInverseJacobians, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElementJacobianDeterminants, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElementJacobians, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElements, TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElementWeightedDirections, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes, NodeMap::Resize(), NodeMap::SetDeleted(), and NodeMap::SetNewIndex().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh | ( | ) | [inline] |
Alternative version of remesh which takes no parameters does not require a NodeMap. Note: inherited classes should overload ReMesh(NodeMap&)
Definition at line 920 of file MutableMesh.cpp.
References MutableMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes().
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::MutableMesh(), and MutableMesh< DIM, DIM >::serialize().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh | ( | NodeMap & | map | ) | [inline, virtual] |
Re-mesh a mesh using triangle (via library calls) or tetgen
map | is a NodeMap which associates the indices of nodes in the old mesh with indices of nodes in the new mesh. This should be created with the correct size (NumAllNodes) |
Reimplemented in Cylindrical2dMesh.
Definition at line 611 of file MutableMesh.cpp.
References PetscTools::AmMaster(), PetscTools::Barrier(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::Clear(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumAllNodes(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), OutputFileHandler::GetOutputDirectoryFullPath(), PetscTools::IsSequential(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::mAddedNodes, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryElements, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mBoundaryNodes, MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElements, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mpDistributedVectorFactory, OutputFileHandler::OpenOutputFile(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::RefreshJacobianCachedData(), NodeMap::Resize(), NodeMap::SetDeleted(), and NodeMap::SetNewIndex().
Referenced by HoneycombMeshGenerator::GetCircularMesh(), HoneycombMeshGenerator::HoneycombMeshGenerator(), and MeshBasedTissue< DIM >::Update().
void MutableMesh< 1, 1 >::RescaleMeshFromBoundaryNode | ( | ChastePoint< 1 > | updatedPoint, | |
unsigned | boundaryNodeIndex | |||
) | [inline] |
The RescaleMeshFromBoundaryNode method is only defined for 1D meshes.
updatedPoint | point determining the scale factor | |
boundaryNodeIndex | index of the boundary node |
Definition at line 128 of file MutableMesh.cpp.
References AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNode(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes, and TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::RefreshMesh().
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::RescaleMeshFromBoundaryNode | ( | ChastePoint< 1 > | updatedPoint, | |
unsigned | boundaryNodeIndex | |||
) |
Rescale the mesh from a boundary node.
updatedPoint | point determining the scale factor | |
boundaryNodeIndex | index of the boundary node |
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Serialize the mesh.
Note that if you are calling this method (from subclasses) you should archive your member variables FIRST. So that this method can call a ReMesh (to convert from TrianglesMeshReader input format into your native format).
archive | the archive | |
version | the current version of this class |
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Reimplemented in Cylindrical2dMesh.
Definition at line 58 of file MutableMesh.hpp.
void MutableMesh< ELEMENT_DIM, SPACE_DIM >::SetNode | ( | unsigned | index, | |
ChastePoint< SPACE_DIM > | point, | |||
bool | concreteMove = true | |||
) | [inline, virtual] |
Move the node with a particular index to a new point in space and verifies that the signed areas of the supporting Elements are positive.
index | is the index of the node to be moved | |
point | is the new target location of the node | |
concreteMove | is set to false if we want to skip the signed area tests (defaults to true) |
Definition at line 143 of file MutableMesh.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetBoundaryElement(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mElementWeightedDirections, and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::mNodes.
Referenced by MeshBasedTissue< DIM >::SetNode(), and MeshBasedTissueWithGhostNodes< DIM >::UpdateGhostPositions().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >.
Reimplemented in Cylindrical2dMesh.
Definition at line 45 of file MutableMesh.hpp.
bool MutableMesh< ELEMENT_DIM, SPACE_DIM >::mAddedNodes [protected] |
Whether any nodes have been added to the mesh.
Definition at line 91 of file MutableMesh.hpp.
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::Clear(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::MutableMesh(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReIndex(), and MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh().
std::vector<unsigned> MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedBoundaryElementIndices [protected] |
Indices of boundary elements that have been marked as deleted. These indices can be reused when adding new boundary elements.
Definition at line 82 of file MutableMesh.hpp.
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::Clear(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteBoundaryNodeAt(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::GetNumBoundaryElements(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::MoveMergeNode(), and MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReIndex().
std::vector<unsigned> MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedElementIndices [protected] |
Indices of elements that have been marked as deleted. These indices can be reused when adding new elements.
Definition at line 76 of file MutableMesh.hpp.
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::Clear(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteBoundaryNodeAt(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::GetNumElements(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::MoveMergeNode(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::RefineElement(), and MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReIndex().
std::vector<unsigned> MutableMesh< ELEMENT_DIM, SPACE_DIM >::mDeletedNodeIndices [protected] |
Indices of nodes that have been marked as deleted. These indices can be reused when adding new nodes.
Definition at line 88 of file MutableMesh.hpp.
Referenced by MutableMesh< ELEMENT_DIM, SPACE_DIM >::AddNode(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::Clear(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteBoundaryNodeAt(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::DeleteNodePriorToReMesh(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::MoveMergeNode(), MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReIndex(), and MutableMesh< ELEMENT_DIM, SPACE_DIM >::ReMesh().