ENH: use List containers for Pstream read/write calls

- using the List containers, and not their low-level data_bytes(),
  size_bytes() methods is more convenient and allows future
  adjustments to be centralized

ENH: trivial intptr_t wrapper for MPI_Win

STYLE: minor adjustments to mpirunDebug
This commit is contained in:
Mark Olesen
2025-01-30 09:27:06 +01:00
parent 0adc745b50
commit 0ba4f36c60
32 changed files with 461 additions and 190 deletions

View File

@ -259,8 +259,7 @@ void Foam::globalIndex::gather
(
commsType,
procIDs[i],
procSlot.data_bytes(),
procSlot.size_bytes(),
procSlot,
tag,
comm
);
@ -283,8 +282,7 @@ void Foam::globalIndex::gather
(
commsType,
masterProci,
fld.cdata_bytes(),
fld.size_bytes(),
fld,
tag,
comm
);
@ -948,8 +946,7 @@ void Foam::globalIndex::scatter
(
commsType,
procIDs[i],
procSlot.cdata_bytes(),
procSlot.size_bytes(),
procSlot,
tag,
comm
);
@ -984,8 +981,7 @@ void Foam::globalIndex::scatter
(
commsType,
masterProci,
fld.data_bytes(),
fld.size_bytes(),
fld,
tag,
comm
);