Mark Olesen
473e14418a
ENH: more consistent use of broadcast, combineReduce etc.
...
- broadcast : (replaces scatter)
- combineReduce == combineGather + broadcast
- listCombineReduce == listCombineGather + broadcast
- mapCombineReduce == mapCombineGather + broadcast
- allGatherList == gatherList + scatterList
Before settling on a more consistent naming convention,
some intermediate namings were used in OpenFOAM-v2206:
- combineReduce (2206: combineAllGather)
- listCombineReduce (2206: listCombineAllGather)
- mapCombineReduce (2206: mapCombineAllGather)
2022-11-08 16:48:08 +00:00
Mark Olesen
de8ef5332d
ENH: additional gather/scatter modes for PstreamBuffers
...
- gather/scatter types of operations can avoid AllToAll communication
and use simple MPI gather (or scatter) to establish the receive sizes.
New methods: finishedGathers() / finishedScatters()
2022-03-12 21:16:30 +01:00
Mark Olesen
5dc5ea928a
ENH: add UPstream::subProcs() static method
...
- returns a range of `int` values that can be iterated across.
For example,
for (const int proci : Pstream::subProcs()) { ... }
instead of
for
(
int proci = Pstream::firstSlave();
proci <= Pstream::lastSlave();
++proci
)
{
...
}
2020-09-28 14:26:07 +02:00
Mark Olesen
e18ff114a6
ENH: add UPstream::allProcs() method
...
- returns a range of `int` values that can be iterated across.
For example,
for (const int proci : Pstream::allProcs()) { ... }
instead of
for (label proci = 0; proci < Pstream::nProcs(); ++proci) { ... }
2020-09-28 14:25:59 +02:00
Mark Olesen
48cb2de4eb
STYLE: adjust send/receive in tests
2020-09-23 09:25:07 +02:00
OpenFOAM bot
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
OpenFOAM bot
154029ddd0
BOT: Cleaned up header files
2019-02-06 12:28:23 +00:00
Mark Olesen
1883a872a1
STYLE: adds comments in empty Make/options files
...
- easier when making modifications
STYLE: spelling in topoSetSource comments
2018-11-13 15:21:13 +01:00
Henry Weller
96ad725a0b
Updated UPstream::commsTypes to use the C++11 enum class
2017-03-10 19:54:55 +00:00
Henry Weller
450728ea84
Standardized cell, patch, face and processor loop index names
2016-04-25 12:00:53 +01:00
Henry Weller
e2ef006b91
applications: Update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
Henry
c778346c96
Formatting: Rationalized the indentation of #include
2015-02-10 20:35:50 +00:00
mattijs
3febf2314b
ENH: non-blocking reduce with sumOp<scalar>
2012-02-22 12:34:01 +00:00