#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 |
This class takes care of the logic to make sure that you consider each edge exactly once.
Definition at line 374 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 618 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 565 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 571 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter.
TissueCell & MeshBasedTissue< DIM >::SpringIterator::rGetCellA | ( | ) | [inline] |
Get a *reference* to the cell at end A of the spring.
Definition at line 577 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 584 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter, and MeshBasedTissue< DIM >::SpringIterator::mrTissue.
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 591 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter.
MeshBasedTissue< DIM >::SpringIterator & MeshBasedTissue< DIM >::SpringIterator::operator++ | ( | ) | [inline] |
Prefix increment operator.
Definition at line 597 of file MeshBasedTissue.cpp.
References MeshBasedTissue< DIM >::SpringIterator::mEdgeIter, and MeshBasedTissue< DIM >::SpringIterator::mrTissue.
std::set<std::set<unsigned> > MeshBasedTissue< DIM >::SpringIterator::mSpringsVisited [private] |
Keep track of what edges have been visited.
Definition at line 421 of file MeshBasedTissue.hpp.
MeshBasedTissue<DIM>& MeshBasedTissue< DIM >::SpringIterator::mrTissue [private] |
The tissue member.
Definition at line 424 of file MeshBasedTissue.hpp.
Referenced by MeshBasedTissue< DIM >::SpringIterator::operator++(), MeshBasedTissue< DIM >::SpringIterator::rGetCellA(), MeshBasedTissue< DIM >::SpringIterator::rGetCellB(), and MeshBasedTissue< DIM >::SpringIterator::SpringIterator().
MutableMesh<DIM, DIM>::EdgeIterator MeshBasedTissue< DIM >::SpringIterator::mEdgeIter [private] |
The edge iterator member.
Definition at line 427 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().