// @HEADER // ***************************************************************************** // MueLu: A package for multigrid based preconditioning // // Copyright 2012 NTESS and the MueLu contributors. // SPDX-License-Identifier: BSD-3-Clause // ***************************************************************************** // @HEADER #ifndef TPETRA_BLOCKEDMAP_DECL_HPP #define TPETRA_BLOCKEDMAP_DECL_HPP #include #include #include #include namespace Tpetra { template class BlockedMap { public: using map_type = Tpetra::Map; using lo_vec_type = Tpetra::Vector; BlockedMap(const Teuchos::RCP& pointMap, const Teuchos::RCP& blockSizes); // private: Teuchos::RCP pointMap_; Teuchos::RCP blockMap_; Teuchos::RCP blockSizes_; Kokkos::View offsets_; LocalOrdinal minClusterSize_; LocalOrdinal maxClusterSize_; }; } // namespace Tpetra #endif // TPETRA_BLOCKEDMAP_DECL_HPP