Tpetra parallel linear algebra
Version of the Day
|
Construct and (optionally) redistribute the explicitly stored transpose of a CrsMatrix. More...
#include <Tpetra_RowMatrixTransposer_decl.hpp>
Public Types | |
Typedefs | |
typedef Scalar | scalar_type |
typedef LocalOrdinal | local_ordinal_type |
typedef GlobalOrdinal | global_ordinal_type |
typedef Node | node_type |
typedef Map< LocalOrdinal, GlobalOrdinal, Node > | map_type |
typedef CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > | crs_matrix_type |
Public Member Functions | |
Constructors | |
RowMatrixTransposer (const Teuchos::RCP< const crs_matrix_type > &origMatrix, const std::string &label=std::string()) | |
Constructor that takes the matrix to transpose. More... | |
Methods for computing the explicit transpose. | |
Teuchos::RCP< crs_matrix_type > | createTranspose (const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) |
Compute and return the transpose of the matrix given to the constructor. More... | |
Teuchos::RCP< crs_matrix_type > | createTransposeLocal (const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) |
Compute and return the transpose of the matrix given to the constructor. More... | |
Construct and (optionally) redistribute the explicitly stored transpose of a CrsMatrix.
This class is based on the EpetraExt version. It first transposes the matrix to an intermediate version with overlapping row map. That matrix is then converted to a final version whose row map is "unique", i.e., a row is wholly owned by one process.
This class takes the same template parameters as CrsMatrix.
Definition at line 79 of file Tpetra_RowMatrixTransposer_decl.hpp.
Tpetra::RowMatrixTransposer< Scalar, LocalOrdinal, GlobalOrdinal, Node >::RowMatrixTransposer | ( | const Teuchos::RCP< const crs_matrix_type > & | origMatrix, |
const std::string & | label = std::string() |
||
) |
Constructor that takes the matrix to transpose.
Definition at line 59 of file Tpetra_RowMatrixTransposer_def.hpp.
Teuchos::RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Tpetra::RowMatrixTransposer< Scalar, LocalOrdinal, GlobalOrdinal, Node >::createTranspose | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null | ) |
Compute and return the transpose of the matrix given to the constructor.
Definition at line 70 of file Tpetra_RowMatrixTransposer_def.hpp.
Teuchos::RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Tpetra::RowMatrixTransposer< Scalar, LocalOrdinal, GlobalOrdinal, Node >::createTransposeLocal | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null | ) |
Compute and return the transpose of the matrix given to the constructor.
In this call, we (potentially) leave the matrix with an overlapping row Map. This is a perfectly valid matrix, but won't work correctly with some routines in Ifpack or Muelu.
Definition at line 120 of file Tpetra_RowMatrixTransposer_def.hpp.