Go to the documentation of this file.
41 label& receiveBufPosition,
44 const bool clearAtEnd,
49 Istream(fmt, IOstreamOption::currentVersion),
50 fromProcNo_(fromProcNo),
52 recvBufPos_(receiveBufPosition),
55 clearAtEnd_(clearAtEnd),
66 fromProcNo_(fromProcNo),
67 recvBuf_(buffers.recvBuf_[fromProcNo]),
68 recvBufPos_(buffers.recvBufPos_[fromProcNo]),
85 const std::streamsize bufSize,
Buffers for inter-processor communications streams (UOPstream, UIPstream).
static label read(const commsTypes commsType, const int fromProcNo, char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label communicator=UPstream::worldComm)
Read into given buffer from given processor.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
UIPstream(const commsTypes commsType, const int fromProcNo, DynamicList< char > &receiveBuf, label &receiveBufPosition, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool clearAtEnd=false, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Inter-processor communications stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
The IOstreamOption is a simple container for options an IOstream can normally have.
streamFormat
Data format (ascii | binary)
commsTypes
Types of communications.
Helper class for allocating/freeing communicators.