ENH: Pstream: added maxCommsSize setting to do (unstructured) parallel transfers in blocks.
This is controlled by the setting maxCommsSize in etc/controlDict which specifies the max number of bytes per exchange. If set to <= 0 it is ignored. This max size of messages is important when doing e.g. load balancing which can send over whole meshes.
Showing
- src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H 33 additions, 1 deletionsrc/OpenFOAM/db/IOstreams/Pstreams/Pstream.H
- src/OpenFOAM/db/IOstreams/Pstreams/PstreamReduceOps.H 1 addition, 2 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/PstreamReduceOps.H
- src/OpenFOAM/db/IOstreams/Pstreams/UPstream.C 12 additions, 0 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/UPstream.C
- src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H 3 additions, 0 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
- src/OpenFOAM/db/IOstreams/Pstreams/exchange.C 254 additions, 46 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/exchange.C
- src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.C 1 addition, 0 deletionssrc/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.C
- src/Pstream/dummy/UPstream.C 2 additions, 2 deletionssrc/Pstream/dummy/UPstream.C
- src/Pstream/mpi/UPstream.C 2 additions, 2 deletionssrc/Pstream/mpi/UPstream.C
Please register or sign in to comment