Amesos2 - Direct Sparse Solver Interfaces  Version of the Day
Static Public Member Functions | List of all members
Amesos2::Util::get_crs_helper< Matrix, S, GO, GS > Struct Template Reference

Similar to get_ccs_helper , but used to get a CRS representation of the given matrix. More...

#include <Amesos2_Util.hpp>

Inheritance diagram for Amesos2::Util::get_crs_helper< Matrix, S, GO, GS >:
Inheritance graph
[legend]
Collaboration diagram for Amesos2::Util::get_crs_helper< Matrix, S, GO, GS >:
Collaboration graph
[legend]

Static Public Member Functions

static void do_get (const Teuchos::Ptr< const Matrix > mat, const ArrayView< S > nzvals, const ArrayView< GO > indices, const ArrayView< GS > pointers, GS &nnz, EDistribution distribution, EStorage_Ordering ordering=ARBITRARY, GO indexBase=0)
 
static void do_get (const Teuchos::Ptr< const Matrix > mat, const ArrayView< S > nzvals, const ArrayView< GO > indices, const ArrayView< GS > pointers, GS &nnz, EDistribution distribution, EStorage_Ordering ordering=ARBITRARY)
 
static void do_get (const Teuchos::Ptr< const Matrix > mat, const ArrayView< S > nzvals, const ArrayView< GO > indices, const ArrayView< GS > pointers, GS &nnz, const Teuchos::Ptr< const Tpetra::Map< typename Matrix::local_ordinal_t, typename Matrix::global_ordinal_t, typename Matrix::node_t > > map, EDistribution distribution, EStorage_Ordering ordering=ARBITRARY)
 

Detailed Description

template<class Matrix, typename S, typename GO, typename GS>
struct Amesos2::Util::get_crs_helper< Matrix, S, GO, GS >

Similar to get_ccs_helper , but used to get a CRS representation of the given matrix.

See Also
get_ccs_helper

Member Function Documentation

static void Amesos2::Util::get_cxs_helper< Matrix, S, GO, GS, get_crs_func< Matrix > >::do_get ( const Teuchos::Ptr< const Matrix >  mat,
const ArrayView< S >  nzvals,
const ArrayView< GO >  indices,
const ArrayView< GS >  pointers,
GS &  nnz,
EDistribution  distribution,
EStorage_Ordering  ordering = ARBITRARY 
)
inlinestaticinherited

Basic function overload that uses the matrix's row/col map as returned by Op::getMap().

static void Amesos2::Util::get_cxs_helper< Matrix, S, GO, GS, get_crs_func< Matrix > >::do_get ( const Teuchos::Ptr< const Matrix >  mat,
const ArrayView< S >  nzvals,
const ArrayView< GO >  indices,
const ArrayView< GS >  pointers,
GS &  nnz,
const Teuchos::Ptr< const Tpetra::Map< typename Matrix::local_ordinal_t, typename Matrix::global_ordinal_t, typename Matrix::node_t > >  map,
EDistribution  distribution,
EStorage_Ordering  ordering = ARBITRARY 
)
inlinestaticinherited

Function overload that takes an explicit map to use for the representation's distribution.


The documentation for this struct was generated from the following file: