Go to the documentation of this file.
40 label& externalBufPosition,
43 const bool clearAtEnd,
50 fromProcNo_(fromProcNo),
51 externalBuf_(externalBuf),
52 externalBufPosition_(externalBufPosition),
55 clearAtEnd_(clearAtEnd),
65 Istream(buffers.format_, buffers.version_),
66 fromProcNo_(fromProcNo),
67 externalBuf_(buffers.recvBuf_[fromProcNo]),
68 externalBufPosition_(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=0)
Read into given buffer from given processor and return the.
word format(conversionProperties.get< word >("format"))
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Inter-processor communications stream.
Representation of a major/minor version number.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
streamFormat
Data format (ascii | binary)
const std::string version
OpenFOAM version (name or stringified number) as a std::string.
commsTypes
Types of communications.
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,.
Helper class for allocating/freeing communicators.