Tpetra parallel linear algebra  Version of the Day
Classes | Namespaces | Functions
Tpetra_CrsMatrix_decl.hpp File Reference

Declaration of the Tpetra::CrsMatrix class. More...

#include "Tpetra_ConfigDefs.hpp"
#include "Tpetra_RowMatrix_decl.hpp"
#include "Tpetra_Exceptions.hpp"
#include "Tpetra_DistObject.hpp"
#include "Tpetra_CrsGraph.hpp"
#include "Tpetra_Vector.hpp"
#include "KokkosCompat_ClassicNodeAPI_Wrapper.hpp"
#include "Kokkos_Sparse.hpp"
#include "Kokkos_Sparse_impl_sor.hpp"

Go to the source code of this file.

Classes

class  Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, classic >
 Sparse matrix that presents a row-oriented interface that lets users read or modify entries. More...
 

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 

Functions

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , const bool classic = Node::classic>
Teuchos::RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, classic > > Tpetra::createCrsMatrix (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, size_t maxNumEntriesPerRow=0, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Non-member function to create an empty CrsMatrix given a row map and a non-zero profile. More...
 
template<class CrsMatrixType >
Teuchos::RCP< CrsMatrixType > Tpetra::importAndFillCompleteCrsMatrix (const Teuchos::RCP< const CrsMatrixType > &sourceMatrix, const Import< typename CrsMatrixType::local_ordinal_type, typename CrsMatrixType::global_ordinal_type, typename CrsMatrixType::node_type > &importer, const Teuchos::RCP< const Map< typename CrsMatrixType::local_ordinal_type, typename CrsMatrixType::global_ordinal_type, typename CrsMatrixType::node_type > > &domainMap=Teuchos::null, const Teuchos::RCP< const Map< typename CrsMatrixType::local_ordinal_type, typename CrsMatrixType::global_ordinal_type, typename CrsMatrixType::node_type > > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Nonmember CrsMatrix constructor that fuses Import and fillComplete(). More...
 
template<class CrsMatrixType >
Teuchos::RCP< CrsMatrixType > Tpetra::exportAndFillCompleteCrsMatrix (const Teuchos::RCP< const CrsMatrixType > &sourceMatrix, const Export< typename CrsMatrixType::local_ordinal_type, typename CrsMatrixType::global_ordinal_type, typename CrsMatrixType::node_type > &exporter, const Teuchos::RCP< const Map< typename CrsMatrixType::local_ordinal_type, typename CrsMatrixType::global_ordinal_type, typename CrsMatrixType::node_type > > &domainMap=Teuchos::null, const Teuchos::RCP< const Map< typename CrsMatrixType::local_ordinal_type, typename CrsMatrixType::global_ordinal_type, typename CrsMatrixType::node_type > > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Nonmember CrsMatrix constructor that fuses Export and fillComplete(). More...
 

Detailed Description

Declaration of the Tpetra::CrsMatrix class.

If you want to use Tpetra::CrsMatrix, include "Tpetra_CrsMatrix.hpp" (a file which CMake generates and installs for you). If you only want the declaration of Tpetra::CrsMatrix, include this file (Tpetra_CrsMatrix_decl.hpp).

Definition in file Tpetra_CrsMatrix_decl.hpp.