Go to the documentation of this file.
70 #ifndef PstreamBuffers_H
71 #define PstreamBuffers_H
const IOstream::streamFormat format_
word format(conversionProperties.lookup("format"))
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.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void clear()
Clear storage and reset.
static const versionNumber currentVersion
Current version number.
const IOstream::versionNumber version_
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void finishedSends(const bool block=true)
Mark all sends as having been done. This will start receives.
bool finishedSendsCalled_
PstreamBuffers(const UPstream::commsTypes commsType, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, IOstream::streamFormat format=IOstream::BINARY, IOstream::versionNumber version=IOstream::currentVersion)
Construct given comms type,.
const UPstream::commsTypes commsType_
Communications type of this stream.
List< DynamicList< char > > recvBuf_
Receive buffer.
static int & msgType()
Message tag of standard messages.
commsTypes
Types of communications.
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...
List< DynamicList< char > > sendBuf_
Send buffer.
Input inter-processor communications stream operating on external buffer.
labelList recvBufPos_
Read position in recvBuf_.
static DynamicList< char > nullBuf
streamFormat
Enumeration for the format of data in the stream.