mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: provide MPI native minOp, maxOp reduce multiple values
- consistent with sumOp ENH: globalIndex with gatherNonLocal tag, and use leading dispatch tags - useful for gather/write where the master data can be written separately. Leading vs trailing dispatch tags for more similarity to other C++ conventions.
This commit is contained in:
@ -108,7 +108,7 @@ void Foam::functionObjects::externalCoupled::readColumns
|
||||
) const
|
||||
{
|
||||
// Get sizes for all processors
|
||||
const globalIndex globalFaces(nRows, globalIndex::gatherOnly{});
|
||||
const globalIndex globalFaces(globalIndex::gatherOnly{}, nRows);
|
||||
|
||||
PstreamBuffers pBufs(Pstream::commsTypes::nonBlocking);
|
||||
|
||||
@ -179,7 +179,7 @@ void Foam::functionObjects::externalCoupled::readLines
|
||||
) const
|
||||
{
|
||||
// Get sizes for all processors
|
||||
const globalIndex globalFaces(nRows, globalIndex::gatherOnly{});
|
||||
const globalIndex globalFaces(globalIndex::gatherOnly{}, nRows);
|
||||
|
||||
PstreamBuffers pBufs(Pstream::commsTypes::nonBlocking);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user