Structure for communicating between processors. More...
#include <src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H>
Structure for communicating between processors.
Definition at line 71 of file Pstream.H.
Public Member Functions | |
commsStruct () | |
Construct null.
| |
commsStruct (const label, const labelList &, const labelList &, const labelList &) | |
Construct from components.
| |
commsStruct (const label nProcs, const label myProcID, const label, const labelList &, const labelList &) | |
Construct from components; construct allNotBelow_.
| |
label | above () const |
const labelList & | below () const |
const labelList & | allBelow () const |
const labelList & | allNotBelow () const |
bool | operator== (const commsStruct &) const |
bool | operator!= (const commsStruct &) const |
Friends | |
Ostream & | operator<< (Ostream &, const commsStruct &) |
commsStruct | ( | ) |
Construct null.
Definition at line 31 of file PstreamCommsStruct.C.
commsStruct | ( | const label | above, |
const labelList & | below, | ||
const labelList & | allBelow, | ||
const labelList & | allNotBelow | ||
) |
Construct from components.
Definition at line 41 of file PstreamCommsStruct.C.
commsStruct | ( | const label | nProcs, |
const label | myProcID, | ||
const label | above, | ||
const labelList & | below, | ||
const labelList & | allBelow | ||
) |
Construct from components; construct allNotBelow_.
Definition at line 56 of file PstreamCommsStruct.C.
References Pstream::abort(), Foam::FatalError, FatalErrorIn, and forAll.
label above | ( | ) | const [inline]
|
Definition at line 120 of file Pstream.H.
Referenced by Pstream::combineGather(), Pstream::combineScatter(), Pstream::gather(), Pstream::gatherList(), Pstream::listCombineGather(), Pstream::listCombineScatter(), Pstream::mapCombineGather(), Pstream::mapCombineScatter(), Pstream::commsStruct::operator==(), Pstream::scatter(), and Pstream::scatterList().
const labelList& below | ( | ) | const [inline]
|
Definition at line 125 of file Pstream.H.
Referenced by Pstream::combineGather(), Pstream::combineScatter(), Pstream::gather(), Pstream::gatherList(), Pstream::listCombineGather(), Pstream::listCombineScatter(), Pstream::mapCombineGather(), Pstream::mapCombineScatter(), Pstream::commsStruct::operator==(), Pstream::scatter(), and Pstream::scatterList().
const labelList& allBelow | ( | ) | const [inline]
|
Definition at line 130 of file Pstream.H.
Referenced by Pstream::gatherList().
const labelList& allNotBelow | ( | ) | const [inline]
|
Definition at line 135 of file Pstream.H.
Referenced by Pstream::scatterList().
bool operator== | ( | const commsStruct & | comm ) | const |
Definition at line 93 of file PstreamCommsStruct.C.
References Pstream::commsStruct::above(), and Pstream::commsStruct::below().
bool operator!= | ( | const commsStruct & | comm ) | const |
Definition at line 105 of file PstreamCommsStruct.C.
References Foam::operator==().
Ostream& operator<< | ( | Ostream & | , |
const commsStruct & | |||
) | [friend]
|