Forked from
Core Modules / dune-common
Source project has a limited visibility.
-
Markus Blatt authored
Fixed a serious bug. (At least sum was not O.K. when working with an inout array. We really have to allocate an out array and copy the results.) Made mpicollectivecommunication more generic and reduced code duplication. There are to new functions (allreduce) than can be given a binary function (e. g. std::plus) representing the calculation. [[Imported from SVN: r4778]]
Markus Blatt authoredFixed a serious bug. (At least sum was not O.K. when working with an inout array. We really have to allocate an out array and copy the results.) Made mpicollectivecommunication more generic and reduced code duplication. There are to new functions (allreduce) than can be given a binary function (e. g. std::plus) representing the calculation. [[Imported from SVN: r4778]]