Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <ImmersedBoundaryMesh.hpp>
Public Member Functions | |
ImmersedBoundaryElement< ELEMENT_DIM, SPACE_DIM > & | operator* () |
ImmersedBoundaryElement< ELEMENT_DIM, SPACE_DIM > * | operator-> () |
bool | operator!= (const typename ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator &rOther) |
ImmersedBoundaryElementIterator & | operator++ () |
ImmersedBoundaryElementIterator (ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM > &rMesh, typename std::vector< ImmersedBoundaryElement< ELEMENT_DIM, SPACE_DIM > * >::iterator elementIter, bool skipDeletedElements=true) | |
Private Member Functions | |
bool | IsAtEnd () |
bool | IsAllowedElement () |
Private Attributes | |
ImmersedBoundaryMesh & | mrMesh |
std::vector< ImmersedBoundaryElement< ELEMENT_DIM, SPACE_DIM > * >::iterator | mElementIter |
bool | mSkipDeletedElements |
A smart iterator over the elements in the mesh.
Definition at line 779 of file ImmersedBoundaryMesh.hpp.
ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::ImmersedBoundaryElementIterator | ( | ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM > & | rMesh, |
typename std::vector< ImmersedBoundaryElement< ELEMENT_DIM, SPACE_DIM > * >::iterator | elementIter, | ||
bool | skipDeletedElements = true |
||
) |
Constructor for a new iterator.
This should not be called directly by user code; use the mesh methods ImmersedBoundaryMesh::GetElementIteratorBegin and ImmersedBoundaryMesh::GetElementIteratorEnd instead.
rMesh | the mesh to iterator over |
elementIter | where to start iterating |
skipDeletedElements | whether to include deleted elements |
Definition at line 967 of file ImmersedBoundaryMesh.hpp.
References ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::IsAllowedElement(), ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::mElementIter, ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::mElements, and ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::mrMesh.
|
inlineprivate |
Helper method to say if we're allowed to point at this element.
Definition at line 997 of file ImmersedBoundaryMesh.hpp.
Referenced by ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::ImmersedBoundaryElementIterator().
|
inlineprivate |
Helper method to say when we're at the end.
Definition at line 991 of file ImmersedBoundaryMesh.hpp.
Referenced by ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::operator*().
|
inline |
Comparison not-equal-to.
rOther | iterator with which comparison is made |
Definition at line 950 of file ImmersedBoundaryMesh.hpp.
References ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::mElementIter.
|
inline |
Dereference the iterator giving you a *reference* to the current element.
Definition at line 936 of file ImmersedBoundaryMesh.hpp.
References ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::IsAtEnd(), and ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::mElementIter.
|
inline |
Prefix increment operator.
Definition at line 956 of file ImmersedBoundaryMesh.hpp.
|
inline |
Member access from a pointer.
Definition at line 943 of file ImmersedBoundaryMesh.hpp.
|
private |
The actual element iterator.
Definition at line 827 of file ImmersedBoundaryMesh.hpp.
Referenced by ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::ImmersedBoundaryElementIterator(), ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::operator!=(), and ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::operator*().
|
private |
The mesh we're iterating over.
Definition at line 824 of file ImmersedBoundaryMesh.hpp.
Referenced by ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::ImmersedBoundaryElementIterator::ImmersedBoundaryElementIterator().
|
private |
Whether to skip deleted elements.
Definition at line 830 of file ImmersedBoundaryMesh.hpp.