38 label& externalBufPosition,
41 const bool clearAtEnd,
48 fromProcNo_(fromProcNo),
49 externalBuf_(externalBuf),
50 externalBufPosition_(externalBufPosition),
53 clearAtEnd_(clearAtEnd),
63 Istream(buffers.format_, buffers.version_),
64 fromProcNo_(fromProcNo),
65 externalBuf_(buffers.recvBuf_[fromProcNo]),
66 externalBufPosition_(buffers.recvBufPos_[fromProcNo]),
83 const std::streamsize bufSize,
85 const label communicator
UIPstream(const commsTypes commsType, const int fromProcNo, DynamicList< char > &externalBuf, label &externalBufPosition, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool clearAtEnd=false, streamFormat format=BINARY, versionNumber version=currentVersion)
Construct given process index to read from and optional buffer size,.
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.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
streamFormat
Enumeration for the format of data in the stream.
static label read(const commsTypes commsType, const int fromProcNo, char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label communicator=0)
Read into given buffer from given processor and return the.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Inter-processor communications stream.