Tpetra map get min global index
Created by: lucbv
Change in the behavior of Tpetra map when a process holds no GID. The goal is to provide more logical returns from getMinAllGlobalIndex()
@trilinos/tpetra
Description
Change minMyGID_
value to Teuchos::OrdinalTraits<GlobalOrdinal>::max()
when a rank holds no GIDs.
Motivation and Context
The current behavior is not logical and block repartitioning algorithm for Xpetra::BlockedMatrix
Related Issues
- Closes #2250 (closed)
Checklist
-
My commit messages mention the appropriate GitHub issue numbers. -
My code follows the code style of the affected package(s). -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the code contribution guidelines for this project. -
I have added tests to cover my changes. -
All new and existing tests passed. -
No new compiler warnings were introduced. -
These changes break backwards compatibility.