DUNE PDELab (2.8)
Dune::Torus< CollectiveCommunication, d >::ProcListIterator Class Reference
#include <dune/grid/yaspgrid/torus.hh>
Public Member Functions | |
ProcListIterator (typename std::deque< CommPartner >::const_iterator iter) | |
make an iterator | |
int | rank () const |
return rank of neighboring process | |
iTupel | delta () const |
return distance vector | |
int | index () const |
return index in proclist | |
int | distance () const |
return 1-norm of distance vector | |
bool | operator== (const ProcListIterator &iter) const |
Return true when two iterators point to same member. | |
bool | operator!= (const ProcListIterator &iter) const |
Return true when two iterators do not point to same member. | |
ProcListIterator & | operator++ () |
Increment iterator to next cell. | |
Detailed Description
template<class CollectiveCommunication, int d>
class Dune::Torus< CollectiveCommunication, d >::ProcListIterator
class Dune::Torus< CollectiveCommunication, d >::ProcListIterator
ProcListIterator provides access to a list of neighboring processes. There are always \( 3^d-1 \) 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.
The documentation for this class was generated from the following file:
- dune/grid/yaspgrid/torus.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)