Amesos2 - Direct Sparse Solver Interfaces  Version of the Day
Public Types | Public Member Functions | Private Types | Friends | List of all members
Amesos2::ConcreteMatrixAdapter< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Class Template Reference

MatrixAdapter definitions for Tpetra::CrsMatrix objects. More...

#include <Amesos2_TpetraCrsMatrix_MatrixAdapter_decl.hpp>

Inheritance diagram for Amesos2::ConcreteMatrixAdapter< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > >:
Inheritance graph
[legend]
Collaboration diagram for Amesos2::ConcreteMatrixAdapter< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > >:
Collaboration graph
[legend]

Public Types

typedef Tpetra::CrsMatrix
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > 
matrix_t
 
typedef super_t::scalar_t scalar_t
 
typedef super_t::local_ordinal_t local_ordinal_t
 
typedef super_t::global_ordinal_t global_ordinal_t
 
typedef super_t::node_t node_t
 
typedef super_t::global_size_t global_size_t
 
typedef Tpetra::Map
< LocalOrdinal, GlobalOrdinal,
Node > 
map_t
 
typedef ConcreteMatrixAdapter
< matrix_t > 
type
 
typedef
Kokkos::DefaultHostExecutionSpace 
HostExecSpaceType
 

Public Member Functions

 ConcreteMatrixAdapter (RCP< matrix_t > m)
 
RCP< const MatrixAdapter
< matrix_t > > 
get_impl (const Teuchos::Ptr< const map_t > map, EDistribution distribution=ROOTED) const
 
RCP< const MatrixAdapter
< matrix_t > > 
reindex_impl (Teuchos::RCP< const map_t > &contigRowMap, Teuchos::RCP< const map_t > &contigColMap, const EPhase current_phase) const
 
template<typename KV_S , typename KV_GO , typename KV_GS , typename host_ordinal_type_array , typename host_scalar_type_array >
LocalOrdinal gather_impl (KV_S &nzvals, KV_GO &indices, KV_GS &pointers, host_ordinal_type_array &perm_g2l, host_ordinal_type_array &recvCountRows, host_ordinal_type_array &recvDisplRows, host_ordinal_type_array &recvCounts, host_ordinal_type_array &recvDispls, host_ordinal_type_array &transpose_map, host_scalar_type_array &nzvals_t, bool column_major, EPhase current_phase) const
 
void describe (Teuchos::FancyOStream &os, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const
 Print a description of this adapter to the given output stream.
 

Private Types

typedef
AbstractConcreteMatrixAdapter
< Tpetra::RowMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node >, matrix_t > 
super_t
 

Friends

class MatrixAdapter< Tpetra::RowMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > >
 

Detailed Description

template<typename Scalar, typename LocalOrdinal, typename GlobalOrdinal, typename Node>
class Amesos2::ConcreteMatrixAdapter< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > >

MatrixAdapter definitions for Tpetra::CrsMatrix objects.

Defines only the get_impl() method, which returns an instance of a Amesos2::MatrixAdapter whose underlying matrix has the given distribution based on the Tpetra::Map.

All other significant functionality is inherited from this class's superclass.


The documentation for this class was generated from the following files: