#include <MeshBasedTissue.hpp>
Public Member Functions | |
Node< DIM > * | GetNodeA () |
Node< DIM > * | GetNodeB () |
TissueCell & | rGetCellA () |
TissueCell & | rGetCellB () |
bool | operator!= (const MeshBasedTissue< DIM >::SpringIterator &rOther) |
SpringIterator & | operator++ () |
SpringIterator (MeshBasedTissue< DIM > &rTissue, typename MutableMesh< DIM, DIM >::EdgeIterator edgeIter) | |
Private Attributes | |
std::set< std::set< unsigned > > | mSpringsVisited |
MeshBasedTissue< DIM > & | mrTissue |
MutableMesh< DIM, 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 351 of file MeshBasedTissue.hpp.
MeshBasedTissue< DIM >::SpringIterator::SpringIterator | ( | MeshBasedTissue< DIM > & | rTissue, | |
typename MutableMesh< DIM, DIM >::EdgeIterator | edgeIter | |||
) | [inline] |
Constructor for a new iterator.
rTissue | the tissue | |
edgeIter | iterator over edges in the mesh |
Definition at line 641 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter, and MeshBasedTissue< DIM >::SpringIterator::mrTissue.
Node< DIM > * MeshBasedTissue< DIM >::SpringIterator::GetNodeA | ( | ) | [inline] |
Get a pointer to the node in the mesh at end A of the spring.
Definition at line 588 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter.
Node< DIM > * MeshBasedTissue< DIM >::SpringIterator::GetNodeB | ( | ) | [inline] |
Get a pointer to the node in the mesh at end B of the spring.
Definition at line 594 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter.
bool MeshBasedTissue< DIM >::SpringIterator::operator!= | ( | const MeshBasedTissue< DIM >::SpringIterator & | rOther | ) | [inline] |
Comparison not-equal-to.
rOther | SpringIterator with which comparison is made |
Definition at line 614 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter.
MeshBasedTissue< DIM >::SpringIterator & MeshBasedTissue< DIM >::SpringIterator::operator++ | ( | ) | [inline] |
Prefix increment operator.
Definition at line 620 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter, and MeshBasedTissue< DIM >::SpringIterator::mrTissue.
TissueCell & MeshBasedTissue< DIM >::SpringIterator::rGetCellA | ( | ) | [inline] |
Get a *reference* to the cell at end A of the spring.
Definition at line 600 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter, and MeshBasedTissue< DIM >::SpringIterator::mrTissue.
TissueCell & MeshBasedTissue< DIM >::SpringIterator::rGetCellB | ( | ) | [inline] |
Get a *reference* to the cell at end B of the spring.
Definition at line 607 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter, and MeshBasedTissue< DIM >::SpringIterator::mrTissue.
MutableMesh<DIM, DIM>::EdgeIterator MeshBasedTissue< DIM >::SpringIterator::mEdgeIter [private] |
The edge iterator member.
Definition at line 404 of file MeshBasedTissue.hpp.
Referenced by MeshBasedTissue< DIM >::SpringIterator::GetNodeA(), MeshBasedTissue< DIM >::SpringIterator::GetNodeB(), MeshBasedTissue< DIM >::SpringIterator::operator!=(), MeshBasedTissue< DIM >::SpringIterator::operator++(), MeshBasedTissue< DIM >::SpringIterator::rGetCellA(), MeshBasedTissue< DIM >::SpringIterator::rGetCellB(), and MeshBasedTissue< DIM >::SpringIterator::SpringIterator().
MeshBasedTissue<DIM>& MeshBasedTissue< DIM >::SpringIterator::mrTissue [private] |
The tissue member.
Definition at line 401 of file MeshBasedTissue.hpp.
Referenced by MeshBasedTissue< DIM >::SpringIterator::operator++(), MeshBasedTissue< DIM >::SpringIterator::rGetCellA(), MeshBasedTissue< DIM >::SpringIterator::rGetCellB(), and MeshBasedTissue< DIM >::SpringIterator::SpringIterator().
std::set<std::set<unsigned> > MeshBasedTissue< DIM >::SpringIterator::mSpringsVisited [private] |
Keep track of what edges have been visited.
Definition at line 398 of file MeshBasedTissue.hpp.