1 #ifndef TPETRA_DETAILS_MAKECOLMAP_DECL_HPP
2 #define TPETRA_DETAILS_MAKECOLMAP_DECL_HPP
56 #include "TpetraCore_config.h"
59 #include "Kokkos_Core.hpp"
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65 template<
class T>
class Array;
68 template<
class T>
class RCP;
70 #endif // DOXYGEN_SHOULD_SKIP_THIS
127 template <
class LO,
class GO,
class NT>
130 Teuchos::Array<int>& remotePIDs,
132 const RowGraph<LO, GO, NT>& graph,
133 const bool sortEachProcsGids =
true,
134 std::ostream* errStrm = NULL);
139 template <
class LO,
class GO,
class NT>
143 Kokkos::View<GO*, typename NT::memory_space> gids,
144 std::ostream* errStrm = NULL);
149 #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.