-
- Downloads
ENH: extend Pstream gather templates to support combine or assign operation
- eliminates nearly identical code between 'gather' and 'combineGather' * Normal gather updates by assigning the result of the binary operation. * Combine gather updates by using a binary operator that modifies its first parameter in-place By-product of this refactoring are these new variants: listGather(), listGatherReduce() mapGather(), mapGatherReduce() that mirror the previously existing ones listCombineGather(), listCombineReduce() mapCombineGather(), mapCombineReduce() except that they use the 'regular' binary operator
parent
0ce5053c
Branches
No related tags found
Showing
- applications/test/Tuple2/Make/files 1 addition, 1 deletionapplications/test/Tuple2/Make/files
- applications/test/Tuple2/Test-Tuple2.cxx 7 additions, 2 deletionsapplications/test/Tuple2/Test-Tuple2.cxx
- src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H 83 additions, 34 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/Pstream.H
- src/OpenFOAM/db/IOstreams/Pstreams/PstreamCombineGather.C 0 additions, 365 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/PstreamCombineGather.C
- src/OpenFOAM/db/IOstreams/Pstreams/PstreamGather.C 472 additions, 91 deletionssrc/OpenFOAM/db/IOstreams/Pstreams/PstreamGather.C
- src/OpenFOAM/db/IOstreams/Pstreams/compat/PstreamCombineGather.C 1 addition, 0 deletions...nFOAM/db/IOstreams/Pstreams/compat/PstreamCombineGather.C
- src/OpenFOAM/db/IOstreams/Pstreams/compat/PstreamCombineReduceOps.H 3 additions, 0 deletions...AM/db/IOstreams/Pstreams/compat/PstreamCombineReduceOps.H
- src/dynamicMesh/motionSolvers/displacement/pointSmoothing/hexMeshSmootherMotionSolver.C 3 additions, 3 deletions...displacement/pointSmoothing/hexMeshSmootherMotionSolver.C
Loading