40 #ifndef Foam_IPstream_H 41 #define Foam_IPstream_H 62 label transferBufPosition_;
74 const label bufSize = 0,
96 label transferBufPosition_;
106 const int rootProcNo,
107 const label bufSize = 0,
117 const int rootProcNo,
commsTypes
Types of communications.
IPstream(const commsTypes commsType, const int fromProcNo, const label bufSize=0, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct given process index to read from and optional buffer size, read format. ...
static int & msgType() noexcept
Message tag of standard messages.
static label worldComm
Default world communicator (all processors). May differ from globalComm if local worlds are in use...
Input inter-processor communications stream.
Input inter-processor communications stream using MPI send/recv etc. - operating on external buffer...
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.
commsTypes commsType() const noexcept
Get the communications type of the stream.
Input inter-processor communications stream using MPI broadcast.
streamFormat
Data format (ascii | binary)