Go to the documentation of this file.
73 #ifndef PstreamBuffers_H
74 #define PstreamBuffers_H
118 bool finishedSendsCalled_;
142 int tag() const noexcept
148 label
comm() const noexcept
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
Output inter-processor communications stream operating on external buffer.
~PstreamBuffers()
Destructor - checks that all data have been consumed.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void clear()
Reset (clear) individual buffers and reset state.
void finishedSends(const bool block=true)
Mark all sends as having been done.
streamFormat
Data format (ascii | binary)
int tag() const noexcept
The transfer message type.
commsTypes
Types of communications.
PstreamBuffers(const UPstream::commsTypes commsType, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct given comms type, communication options, IO format.
static int & msgType() noexcept
Message tag of standard messages.
static label worldComm
Default communicator (all processors)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label comm() const noexcept
Communicator.
Input inter-processor communications stream operating on external buffer.