53 allNotBelow_(allNotBelow)
69 allNotBelow_(nProcs - allBelow.size() - 1)
81 if ((proci != myProcID) && !inBelow[proci])
83 allNotBelow_[notI++] = proci;
86 if (notI != allNotBelow_.
size())
100 allNotBelow_.clear();
110 (above_ == comm.
above())
112 && (allBelow_ == allBelow())
113 && (allNotBelow_ == allNotBelow())
131 << comm.allNotBelow_;
const labelList & below() const noexcept
The procIDs of all processors directly below.
commsStruct() noexcept
Default construct. Above == -1.
void size(const label n)
Older name for setAddressableSize.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void clear()
Reset to default constructed state.
label above() const noexcept
The procID of the processor directly above.
#define forAll(list, i)
Loop across all elements in list.
static label nProcs(const label communicator=worldComm)
Number of ranks in parallel run (for given communicator) is 1 for serial run.
errorManip< error > abort(error &err)
Structure for communicating between processors.
const labelList & allBelow() const noexcept
The procIDs of all processors below (so not just directly below)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool operator==(const commsStruct &) const
OBJstream os(runTime.globalPath()/outputName)
bool operator!=(const commsStruct &) const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)