40 #ifndef Foam_OPstream_H 41 #define Foam_OPstream_H 69 const label bufSize = 0,
97 const label bufSize = 0,
107 const int rootProcNo,
commsTypes
Types of communications.
OPBstream(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, write 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...
Inter-processor communications stream.
Output inter-processor communications stream using MPI broadcast - operating on external buffer...
OPstream(const commsTypes commsType, const int toProcNo, const label bufSize=0, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct for given process index to send to and optional buffer size, write format.
commsTypes commsType() const noexcept
Get the communications type of the stream.
Output inter-processor communications stream using MPI send/recv etc. - operating on external buffer...
Output inter-processor communications stream.
Output inter-processor communications stream using MPI broadcast.
streamFormat
Data format (ascii | binary)