Amesos2 - Direct Sparse Solver Interfaces
Version of the Day
|
A generic base class for the CRS and CCS helpers. More...
#include <Amesos2_Util.hpp>
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) |
A generic base class for the CRS and CCS helpers.
S, GO, and GS are the desired types. They are also the types of the respective input parameters. Matrix is expected to be an Amesos2 MatrixAdapter type.
The Op
template parameter is a function-like class that provides a static apply()
function.
|
inlinestatic |
Basic function overload that uses the matrix's row/col map as returned by Op::getMap().
|
inlinestatic |
Function overload that takes an explicit map to use for the representation's distribution.