Go to the documentation of this file.
51 allNotBelow_(allNotBelow)
73 inBelow[allBelow[belowI]] =
true;
79 if ((procI != myProcID) && !inBelow[procI])
81 allNotBelow_[notI++] = procI;
84 if (notI != allNotBelow_.size())
97 (above_ == comm.
above())
98 && (below_ == comm.
below())
99 && (allBelow_ == allBelow())
100 && (allNotBelow_ == allNotBelow())
122 "Ostream& operator<<(Ostream&, const commsStruct&)"
commsStruct()
Construct null.
#define forAll(list, i)
Loop across all elements in list.
static label nProcs(const label communicator=0)
Number of processes in parallel run.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
label above_
procID of above processor
bool operator==(const commsStruct &) const
labelList below_
procIDs of processors directly below me
labelList allBelow_
procIDs of all processors below (so not just directly below)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelList allNotBelow_
procIDs of all processors not below. (inverse set of
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
errorManip< error > abort(error &err)
Structure for communicating between processors.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool operator!=(const commsStruct &) const
const labelList & below() const