55typename Reindex_CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>::NewType
61 assert(
origMatrix->getRowMap()->getLocalNumElements() == newRowMap_->getLocalNumElements());
63 if ((
origMatrix->getDomainMap()->getGlobalNumElements() == 0) &&
64 (
origMatrix->getRowMap()->getGlobalNumElements() == 0)) {
76 Kokkos::deep_copy(Kokkos::subview(
cols.getLocalViewDevice(Tpetra::Access::OverwriteAll), Kokkos::ALL(), 0),
91 using kv_t = Kokkos::View<GlobalOrdinal*, typename Node::device_type>;
99 this->newColMap_ = Teuchos::RCP<map_t>(
new map_t(
origMatrix->getColMap()->getGlobalNumElements(),
111 return this->newObj_;