TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator Class Reference

#include <TetrahedralMesh.hpp>

Collaboration diagram for TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Node< SPACE_DIM > * GetNodeA ()
Node< SPACE_DIM > * GetNodeB ()
bool operator!= (const TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator &rOther)
EdgeIteratoroperator++ ()
 EdgeIterator (TetrahedralMesh &rMesh, unsigned elemIndex)

Private Attributes

std::set< std::set< unsigned > > mEdgesVisited
TetrahedralMeshmrMesh
unsigned mElemIndex
unsigned mNodeALocalIndex
unsigned mNodeBLocalIndex
unsigned mCellIndex
unsigned mNodeIndex


Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
class TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator

Iterator over edges in the mesh.

This class takes care of the logic to make sure that you consider each edge exactly once.

Definition at line 395 of file TetrahedralMesh.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::EdgeIterator ( TetrahedralMesh rMesh,
unsigned  elemIndex 
) [inline]


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
Node< SPACE_DIM > * TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::GetNodeA (  )  [inline]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
Node< SPACE_DIM > * TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::GetNodeB (  )  [inline]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
bool TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::operator!= ( const TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator rOther  )  [inline]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator & TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::operator++ (  )  [inline]


Member Data Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
std::set<std::set<unsigned> > TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::mEdgesVisited [private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
TetrahedralMesh& TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::mrMesh [private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
unsigned TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::mElemIndex [private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
unsigned TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::mNodeALocalIndex [private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
unsigned TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::mNodeBLocalIndex [private]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
unsigned TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::mCellIndex [private]

Cell index.

Todo:
This doesn't appear to be used anywhere - remove it?

Definition at line 436 of file TetrahedralMesh.hpp.

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
unsigned TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::EdgeIterator::mNodeIndex [private]

Node index.

Todo:
This doesn't appear to be used anywhere - remove it?

Definition at line 437 of file TetrahedralMesh.hpp.


The documentation for this class was generated from the following files:

Generated on Tue Aug 4 16:11:48 2009 for Chaste by  doxygen 1.5.5