![]() |
Chaste Commit::6e4f5fe395bca70eb7641cf6e0e87f450383ca5a
|
#include <MeshBasedCellPopulation.hpp>
Collaboration diagram for MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator: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 471 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 | ||
| ) |
Constructor for a new iterator.
| rCellPopulation | the cell population |
| edgeIter | iterator over edges in the mesh |
Definition at line 1031 of file MeshBasedCellPopulation.cpp.
References TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgesEnd(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter, and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mrCellPopulation.
| CellPtr MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellA | ( | ) |
Definition at line 990 of file MeshBasedCellPopulation.cpp.
| CellPtr MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetCellB | ( | ) |
Definition at line 997 of file MeshBasedCellPopulation.cpp.
| Node< SPACE_DIM > * MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetNodeA | ( | ) |
Definition at line 978 of file MeshBasedCellPopulation.cpp.
References MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::mEdgeIter.
| Node< SPACE_DIM > * MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetNodeB | ( | ) |
Definition at line 984 of file MeshBasedCellPopulation.cpp.
| bool MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::operator!= | ( | const typename MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator & | rOther | ) |
Comparison not-equal-to.
| rOther | SpringIterator with which comparison is made |
Definition at line 1004 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++ | ( | ) |
Prefix increment operator.
Definition at line 1010 of file MeshBasedCellPopulation.cpp.
|
private |
The edge iterator member.
Definition at line 526 of file MeshBasedCellPopulation.hpp.
Referenced by MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::SpringIterator(), MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::GetNodeA(), and MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::operator!=().
|
private |
The cell population member.
Definition at line 523 of file MeshBasedCellPopulation.hpp.
Referenced by MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM >::SpringIterator::SpringIterator().
|
private |
Keep track of what edges have been visited.
Definition at line 520 of file MeshBasedCellPopulation.hpp.