43 #ifndef TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
44 #define TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
45 #include <Teuchos_RCP.hpp>
46 #include <Kokkos_DefaultKernels.hpp>
47 #include <Kokkos_DefaultNode.hpp>
48 #include "Tpetra_CrsMatrix.hpp"
49 #include "Tpetra_ConfigDefs.hpp"
55 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
68 template <
class Scalar,
69 class LocalOrdinal=int,
70 class GlobalOrdinal=LocalOrdinal,
71 class Node=Kokkos::DefaultNode::DefaultNodeType,
72 class SpMatOps=
typename Kokkos::DefaultKernels<Scalar,LocalOrdinal,Node>::SparseOps>
77 typedef Scalar scalar_type;
78 typedef LocalOrdinal local_ordinal_type;
79 typedef GlobalOrdinal global_ordinal_type;
80 typedef Node node_type;
82 typedef SpMatOps mat_vec_type;
83 typedef SpMatOps mat_solve_type;
114 Teuchos::RCP<const crs_matrix_type> origMatrix_;
Teuchos::RCP< crs_matrix_type > createTranspose()
RowMatrixTransposer(const Teuchos::RCP< const crs_matrix_type > &origMatrix)
Constructor that takes the matrix to transpose.
Construct and (optionally) redistribute the transpose of a CrsMatrix.
Describes a parallel distribution of objects over processes.