35bool Foam::UOPBstream::bufferIPCsend()
52 reinterpret_cast<char*
>(&bufSize),
60 <<
"MPI_Bcast failure sending buffer size:" << bufSize <<
nl
81 <<
"MPI_Bcast failure sending buffer data:" << bufSize <<
nl
95 const commsTypes commsType,
98 const std::streamsize bufSize,
109 <<
"MPI_Bcast failure sending buffer data:" << label(bufSize) <<
nl
T * data() noexcept
Return pointer to the underlying array serving as data storage.
void size(const label n)
Older name for setAddressableSize.
DynamicList< char > & sendBuf_
static bool broadcast(char *buf, const std::streamsize bufSize, const label communicator=worldComm, const int rootProcNo=masterNo())
virtual bool write()
Write the output fields.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void checkCommunicator(const label comm, const label toProcNo)
errorManip< error > abort(error &err)
constexpr char nl
The newline '\n' character (0x0a)