34void Foam::UIPBstream::bufferIPCrecv()
49 reinterpret_cast<char*
>(&bufSize),
57 <<
"MPI_Bcast failure receiving buffer size" <<
nl
63 Pout<<
"UOPBstream IPC read buffer :"
66 <<
" probed size:" << bufSize
97 <<
"MPI_Bcast failure receiving buffer data:" << bufSize <<
nl
116 const commsTypes commsType,
117 const int rootProcNo,
119 const std::streamsize bufSize,
130 <<
"MPI_Bcast failure receiving data:" << label(bufSize) <<
nl
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
label capacity() const noexcept
Size of the underlying storage.
void resize(const label len)
void setEof() noexcept
Set stream state as reached 'eof'.
virtual bool read()
Re-read model coefficients if they have changed.
DynamicList< char > & recvBuf_
T * data() noexcept
Return pointer to the underlying array serving as data storage.
static bool broadcast(char *buf, const std::streamsize bufSize, const label communicator=worldComm, const int rootProcNo=masterNo())
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
constexpr char nl
The newline '\n' character (0x0a)