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
33 template<
class T>
class Array;
36 template<
class T>
class RCP;
38 #endif // DOXYGEN_SHOULD_SKIP_THIS
95 template <
class LO,
class GO,
class NT>
98 Teuchos::Array<int>& remotePIDs,
100 const RowGraph<LO, GO, NT>& graph,
101 const bool sortEachProcsGids =
true,
102 std::ostream* errStrm = NULL);
107 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
Forward declaration of Tpetra::RowGraph.
A parallel distribution of indices over processes.
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::Map.