38 const bool sendAtDestruct,
57 const int communicator,
81 <<
"Failed broadcast message of size " << sendBuf_.size()
UOPBstream(DynamicList< char > &sendBuf, const int communicator=UPstream::worldComm, const bool sendAtDestruct=true, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct with attached send buffer, optional communication characteristics and IO format...
commsTypes
Communications types.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
OPBstream(const int communicator=UPstream::worldComm, IOstreamOption::streamFormat fmt=IOstreamOption::BINARY)
Construct with optional communicator and write format.
Inter-processor communications stream.
virtual ~UOPBstream()
Destructor, usually sends buffer on destruct.
Output inter-processor communications stream using MPI broadcast - operating on external buffer...
errorManip< error > abort(error &err)
Wrapper for internally indexed communicator label. Always invokes UPstream::allocateCommunicatorCompo...
streamFormat
Data format (ascii | binary)
Base class for output inter-processor communications stream (ie, parallel streams). Not to be used directly, thus contructors are protected.
Inter-processor communications stream.