MueLu: AlgebraicPermutationStrategy does reductions on scalar instead of a magnitude type
Created by: lucbv
MueLu_AlgebraicPermutationStrategy_def.hpp should not perform reductions on
Scalar, especially with the
REDUCE_MIN/MAX closure. Instead perform said reductions on
Teuchos::ScalarTraits<Scalar>::magnitudeType. This will alleviate issues of performing a reduction on
Currently it is unclear that the results coming out of the MPI reductions are probably not useful when
Motivation and Context
This is a bug it needs to be fixed...
Carefully adjust types in the class so that all reductions are performed on
magnitudeType if possible.
- Follows #3480 (closed)
- Related to
- Part of
- Composed of