40 #ifndef Foam_IPstream_H 41 #define Foam_IPstream_H 69 const label bufSize = 0,
97 const label bufSize = 0,
107 const int rootProcNo,
IPBstream(const UPstream::commsTypes, 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.
IPstream(const UPstream::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. ...
commsTypes
Communications types.
static int & msgType() noexcept
Message tag of standard messages.
static label worldComm
Communicator for all ranks. May differ from commGlobal() 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.
commsTypes commsType() const noexcept
Get the communications type of the stream.
Input inter-processor communications stream using MPI broadcast.
streamFormat
Data format (ascii | binary)