Do recurse in the recursive funtion computeGlobalReduction!
Somehow this was missed and only the first entry in the tuple was computed globally.
This commit is contained in:
parent
6c25e04c9f
commit
2f211f5469
@ -250,6 +250,7 @@ private:
|
|||||||
{
|
{
|
||||||
auto& val=std::get<I>(values);
|
auto& val=std::get<I>(values);
|
||||||
val = std::get<I>(operators).localOperator()(val, std::get<I>(receivedValues));
|
val = std::get<I>(operators).localOperator()(val, std::get<I>(receivedValues));
|
||||||
|
computeGlobalReduction<I+1>(receivedValues, operators, values);
|
||||||
}
|
}
|
||||||
/// \brief TMP for computing the the local reduction on the DOF that the process owns.
|
/// \brief TMP for computing the the local reduction on the DOF that the process owns.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user