58 label externalBufPosition_;
70 const label bufSize = 0,
streamFormat format() const
Return current stream format.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
commsTypes
Types of communications.
static int & msgType()
Message tag of standard messages.
static label worldComm
Default communicator (all processors)
Input inter-processor communications stream.
Input inter-processor communications stream operating on external buffer.
Inter-processor communications stream.
streamFormat
Enumeration for the format of data in the stream.
IPstream(const commsTypes commsType, const int fromProcNo, const label bufSize=0, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, streamFormat format=BINARY, versionNumber version=currentVersion)
Construct given process index to read from and optional buffer size,.
versionNumber version() const
Return the stream version.
commsTypes commsType() const
Get the communications type of the stream.
static const versionNumber currentVersion
Current version number.