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,
streamFormat
Enumeration for the format of data in the stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Buffers for inter-processor communications streams (UOPstream, UIPstream).
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,.
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.
Helper class for allocating/freeing communicators.
Inter-processor communications stream.
commsTypes
Types of communications.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word format(conversionProperties.lookup("format"))