dune-grid 2.9.0
|
#include <dune/grid/yaspgrid/torus.hh>
Public Member Functions | |
ProcListIterator (typename std::deque< CommPartner >::const_iterator iter) | |
make an iterator More... | |
int | rank () const |
return rank of neighboring process More... | |
iTupel | delta () const |
return distance vector More... | |
int | index () const |
return index in proclist More... | |
int | distance () const |
return 1-norm of distance vector More... | |
bool | operator== (const ProcListIterator &iter) const |
Return true when two iterators point to same member. More... | |
bool | operator!= (const ProcListIterator &iter) const |
Return true when two iterators do not point to same member. More... | |
ProcListIterator & | operator++ () |
Increment iterator to next cell. More... | |
ProcListIterator provides access to a list of neighboring processes. There are always entries in such a list. Two lists are maintained, one for sending and one for receiving. The lists are sorted in such a way that in sequence message delivery ensures that e.g. a message send to the left neighbor is received as a message from the right neighbor.
|
inline |
make an iterator
|
inline |
return distance vector
|
inline |
return 1-norm of distance vector
|
inline |
return index in proclist
|
inline |
Return true when two iterators do not point to same member.
|
inline |
Increment iterator to next cell.
|
inline |
Return true when two iterators point to same member.
|
inline |
return rank of neighboring process