ENH: direct support for broadcast of bitSet

- the internal data are contiguous so can broadcast size and internals
  directly without an intermediate stream.

ENH: split out broadcast time for profilingPstream information

STYLE: minor Pstream cleanup

- UPstream::commsType_ from protected to private, since it already has
  inlined noexcept getters/setters that should be used.

- don't pass unused/unneed tag into low-level MPI reduction templates.
  Document where tags are not needed

- had Pstream::broadcast instead of UPstream::broadcast in internals
This commit is contained in:
Mark Olesen
2022-03-03 14:21:31 +01:00
committed by Andrew Heather
parent 341d9c402d
commit e11fde900c
21 changed files with 214 additions and 165 deletions

View File

@ -77,7 +77,7 @@ void Foam::UIPstream::bufferIPCrecv()
messageSize_ = UIPstream::read
(
commsType_,
commsType(),
fromProcNo_,
recvBuf_.data(),
recvBuf_.capacity(),