ENH: extend globalIndex mpiGather to use scalar/label components
- MPI_Gatherv requires contiguous data, but a byte-wise transfer can quickly exceed the 'int' limits used for MPI sizes/offsets. Thus gather label/scalar components when possible to increase the effective size limit. For non-contiguous types (or large contiguous data) now also reverts to manual handling ENH: handle contiguous data in GAMGAgglomeration gather values - delegate to globalIndex::gatherValues static method (new)
Showing
- applications/test/gatherValues1/Test-gatherValues1.C 25 additions, 2 deletionsapplications/test/gatherValues1/Test-gatherValues1.C
- src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C 22 additions, 84 deletions...erations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C
- src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H 3 additions, 15 deletions.../GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H
- src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomerationTemplates.C 8 additions, 53 deletions...omerations/GAMGAgglomeration/GAMGAgglomerationTemplates.C
- src/OpenFOAM/parallel/globalIndex/globalIndex.H 399 additions, 356 deletionssrc/OpenFOAM/parallel/globalIndex/globalIndex.H
- src/OpenFOAM/parallel/globalIndex/globalIndexTemplates.C 282 additions, 114 deletionssrc/OpenFOAM/parallel/globalIndex/globalIndexTemplates.C
Please register or sign in to comment