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:
@ -93,8 +93,8 @@ void Foam::ensightOutput::Detail::writeFieldContent
|
||||
const globalIndex procAddr
|
||||
(
|
||||
parallel
|
||||
? globalIndex(fld.size(), globalIndex::gatherOnly{})
|
||||
: globalIndex(fld.size(), globalIndex::gatherNone{})
|
||||
? globalIndex(globalIndex::gatherOnly{}, fld.size())
|
||||
: globalIndex(globalIndex::gatherNone{}, fld.size())
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -567,8 +567,8 @@ bool Foam::vtk::fileWriter::writeProcIDs(const label nValues)
|
||||
const globalIndex procAddr
|
||||
(
|
||||
parallel_
|
||||
? globalIndex(nValues, globalIndex::gatherOnly{})
|
||||
: globalIndex(nValues, globalIndex::gatherNone{})
|
||||
? globalIndex(globalIndex::gatherOnly{}, nValues)
|
||||
: globalIndex(globalIndex::gatherNone{}, nValues)
|
||||
);
|
||||
|
||||
const label totalCount = procAddr.totalSize();
|
||||
|
||||
Reference in New Issue
Block a user