Tpetra::Map: Constructor taking Kokkos::View sets up GID->LID table incorrectly
Created by: mhoemmen
@trilinos/tpetra
The Tpetra::Map constructor that takes a Kokkos::View sets up the global index -> local index table (FixedHashTable) incorrectly. This is because it uses the wrong range when taking the subview of the input View, in order to give the table the noncontiguous part of the input indices. It uses the Teuchos::ArrayView subview arguments (offset, length), rather than the Kokkos::subview arguments (start, end+1).
I found this when what appeared to be a quick fix for #673 (closed) showed some weird errors (subview length was super long).