#include <MeshBasedCellPopulation.hpp>
Public Member Functions | |
Node< SPACE_DIM > * | GetNodeA () |
Node< SPACE_DIM > * | GetNodeB () |
CellPtr | GetCellA () |
CellPtr | GetCellB () |
bool | operator!= (const typename MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator &rOther) |
SpringIterator & | operator++ () |
SpringIterator (MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation, typename MutableMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator edgeIter) | |
Private Attributes | |
std::set< std::set< unsigned > > | mSpringsVisited |
MeshBasedCellPopulation < ELEMENT_DIM, SPACE_DIM > & | mrCellPopulation |
MutableMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator | mEdgeIter |
Iterator over edges in the mesh, which correspond to springs between cells.
This class takes care of the logic to make sure that you consider each edge exactly once.
Definition at line 433 of file MeshBasedCellPopulation.hpp.
MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::SpringIterator | ( | MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > & | rCellPopulation, | |
typename MutableMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator | edgeIter | |||
) | [inline] |
Constructor for a new iterator.
rCellPopulation | the cell population | |
edgeIter | iterator over edges in the mesh |
Definition at line 868 of file MeshBasedCellPopulation.cpp.
References MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter, and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mrCellPopulation.
CellPtr MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellA | ( | ) | [inline] |
Definition at line 827 of file MeshBasedCellPopulation.cpp.
References MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter, and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mrCellPopulation.
CellPtr MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellB | ( | ) | [inline] |
Definition at line 834 of file MeshBasedCellPopulation.cpp.
References MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter, and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mrCellPopulation.
Node< SPACE_DIM > * MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetNodeA | ( | ) | [inline] |
Definition at line 815 of file MeshBasedCellPopulation.cpp.
References MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter.
Node< SPACE_DIM > * MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetNodeB | ( | ) | [inline] |
Definition at line 821 of file MeshBasedCellPopulation.cpp.
References MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter.
bool MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::operator!= | ( | const typename MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator & | rOther | ) | [inline] |
Comparison not-equal-to.
rOther | SpringIterator with which comparison is made |
Definition at line 841 of file MeshBasedCellPopulation.cpp.
References MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter.
MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator & MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::operator++ | ( | ) | [inline] |
Prefix increment operator.
Definition at line 847 of file MeshBasedCellPopulation.cpp.
References MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter, and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mrCellPopulation.
MutableMesh<ELEMENT_DIM, SPACE_DIM>::EdgeIterator MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter [private] |
The edge iterator member.
Definition at line 488 of file MeshBasedCellPopulation.hpp.
Referenced by MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellA(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellB(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetNodeA(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetNodeB(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::operator!=(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::operator++(), and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::SpringIterator().
MeshBasedCellPopulation<ELEMENT_DIM, SPACE_DIM>& MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mrCellPopulation [private] |
The cell population member.
Definition at line 485 of file MeshBasedCellPopulation.hpp.
Referenced by MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellA(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellB(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::operator++(), and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::SpringIterator().
std::set<std::set<unsigned> > MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mSpringsVisited [private] |
Keep track of what edges have been visited.
Definition at line 482 of file MeshBasedCellPopulation.hpp.