1 #ifndef TPETRA_DETAILS_MAKECOLMAP_DECL_HPP
2 #define TPETRA_DETAILS_MAKECOLMAP_DECL_HPP
24 #include "TpetraCore_config.h"
27 #include "Kokkos_Core.hpp"
30 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 #endif // DOXYGEN_SHOULD_SKIP_THIS
97 template <
class LO,
class GO,
class NT>
99 Teuchos::Array<int>& remotePIDs,
101 const RowGraph<LO, GO, NT>& graph,
102 const bool sortEachProcsGids =
true,
103 std::ostream* errStrm = NULL);
108 template <
class LO,
class GO,
class NT>
111 Kokkos::View<GO*, typename NT::memory_space> gids,
112 std::ostream* errStrm = NULL);
117 #endif // TPETRA_DETAILS_MAKECOLMAP_DECL_HPP
int makeColMap(Teuchos::RCP< const Tpetra::Map< LO, GO, NT >> &colMap, Teuchos::Array< int > &remotePIDs, const Teuchos::RCP< const Tpetra::Map< LO, GO, NT >> &domMap, const RowGraph< LO, GO, NT > &graph, const bool sortEachProcsGids=true, std::ostream *errStrm=NULL)
Make the graph's column Map.
Forward declaration of Tpetra::RowGraph.
A parallel distribution of indices over processes.
Forward declaration of Tpetra::Map.