Structure for communicating between processors. More...
Public Member Functions | |
commsStruct () | |
Construct null. More... | |
commsStruct (const label above, const labelList &below, const labelList &allBelow, const labelList &allNotBelow) | |
Construct from components. More... | |
commsStruct (const label nProcs, const label myProcID, const label above, const labelList &below, const labelList &allBelow) | |
Construct from components; construct allNotBelow_. More... | |
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 &) |
Structure for communicating between processors.
Definition at line 80 of file UPstream.H.
commsStruct | ( | ) |
Construct null.
Definition at line 33 of file UPstreamCommsStruct.C.
commsStruct | ( | const label | above, |
const labelList & | below, | ||
const labelList & | allBelow, | ||
const labelList & | allNotBelow | ||
) |
Construct from components.
Definition at line 43 of file UPstreamCommsStruct.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 58 of file UPstreamCommsStruct.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, and UPstream::nProcs().
|
inline |
Definition at line 129 of file UPstream.H.
Referenced by Pstream::combineGather(), Pstream::combineScatter(), Pstream::gather(), Pstream::gatherList(), Pstream::listCombineGather(), Pstream::listCombineScatter(), Pstream::mapCombineGather(), Pstream::mapCombineScatter(), UPstream::commsStruct::operator==(), uncollatedFileOperation::read(), masterUncollatedFileOperation::read(), lumpedPointState::readData(), Pstream::scatter(), and Pstream::scatterList().
|
inline |
Definition at line 134 of file UPstream.H.
Referenced by Pstream::combineGather(), Pstream::combineScatter(), Pstream::gather(), Pstream::gatherList(), Pstream::listCombineGather(), Pstream::listCombineScatter(), Pstream::mapCombineGather(), Pstream::mapCombineScatter(), UPstream::commsStruct::operator==(), uncollatedFileOperation::read(), masterUncollatedFileOperation::read(), lumpedPointState::readData(), Pstream::scatter(), and Pstream::scatterList().
|
inline |
Definition at line 139 of file UPstream.H.
Referenced by Pstream::gatherList(), and UList< Foam::wordRe >::operator[]().
|
inline |
Definition at line 144 of file UPstream.H.
Referenced by UList< Foam::wordRe >::operator[](), and Pstream::scatterList().
bool operator== | ( | const commsStruct & | comm | ) | const |
Definition at line 95 of file UPstreamCommsStruct.C.
References UPstream::commsStruct::above(), and UPstream::commsStruct::below().
bool operator!= | ( | const commsStruct & | comm | ) | const |
Definition at line 107 of file UPstreamCommsStruct.C.
References Foam::operator==().
|
friend |