Amesos2 - Direct Sparse Solver Interfaces Version of the Day
Static Public Member Functions
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]

List of all members.

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)
static void do_get (const Teuchos::Ptr< const Matrix > mat, const ArrayView< S > nzvals, const ArrayView< GO > indices, const ArrayView< GS > pointers, GS &nnz, 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, 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,
EStorage_Ordering  ordering = ARBITRARY 
) [inline, static, inherited]

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,
EStorage_Ordering  ordering = ARBITRARY 
) [inline, static, inherited]

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: