Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Tpetra_Details_makeColMap_decl.hpp
Go to the documentation of this file.
1#ifndef TPETRA_DETAILS_MAKECOLMAP_DECL_HPP
2#define TPETRA_DETAILS_MAKECOLMAP_DECL_HPP
3
4// @HEADER
5// *****************************************************************************
6// Tpetra: Templated Linear Algebra Services Package
7//
8// Copyright 2008 NTESS and the Tpetra contributors.
9// SPDX-License-Identifier: BSD-3-Clause
10// *****************************************************************************
11// @HEADER
12
23
24#include "TpetraCore_config.h"
25#include "Tpetra_Map_fwd.hpp"
27#include "Kokkos_Core.hpp"
28#include <ostream>
29
30#ifndef DOXYGEN_SHOULD_SKIP_THIS
31namespace Teuchos {
32 // forward declaration of Array
33 template<class T> class Array;
34
35 // forward declaration of RCP
36 template<class T> class RCP;
37} // namespace Teuchos
38#endif // DOXYGEN_SHOULD_SKIP_THIS
39
40namespace Tpetra {
41
42namespace Details {
43
95template <class LO, class GO, class NT>
96int
97makeColMap (Teuchos::RCP<const Tpetra::Map<LO, GO, NT> >& colMap,
98 Teuchos::Array<int>& remotePIDs,
99 const Teuchos::RCP<const Tpetra::Map<LO, GO, NT> >& domMap,
100 const RowGraph<LO, GO, NT>& graph,
101 const bool sortEachProcsGids = true,
102 std::ostream* errStrm = NULL);
103
107template <class LO, class GO, class NT>
108int
109makeColMap (Teuchos::RCP<const Tpetra::Map<LO, GO, NT>>& colMap,
110 const Teuchos::RCP<const Tpetra::Map<LO, GO, NT>>& domMap,
111 Kokkos::View<GO*, typename NT::memory_space> gids,
112 std::ostream* errStrm = NULL);
113
114} // namespace Details
115} // namespace Tpetra
116
117#endif // TPETRA_DETAILS_MAKECOLMAP_DECL_HPP
Forward declaration of Tpetra::Map.
Forward declaration of Tpetra::RowGraph.
Nonmember function that computes a residual Computes R = B - A * X.
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.
Namespace Tpetra contains the class and methods constituting the Tpetra library.