39 label& receiveBufPosition,
42 const bool clearAtEnd,
64 const commsTypes commsType,
84 transferBufPosition_(0)
commsTypes
Types of communications.
Base class for input inter-processor communications stream (ie, parallel streams). Not to be used directly, thus contructors are protected.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Input inter-processor communications stream using MPI broadcast - operating on external buffer...
Inter-processor communications stream.
IPBstream(const commsTypes commsType, const int rootProcNo, const label bufSize=0, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct for broadcast root, optional buffer size, read format.
Input inter-processor communications stream using MPI broadcast.
UIPBstream(const commsTypes commsType, const int rootProcNo, DynamicList< char > &receiveBuf, label &receiveBufPosition, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool clearAtEnd=false, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct given process index to read from using the given attached receive buffer, optional communication characteristics and IO format.
streamFormat
Data format (ascii | binary)
Inter-processor communications stream.