Amesos2 - Direct Sparse Solver Interfaces  Version of the Day
Static Public Member Functions | List of all members
Amesos2::Util::get_crs_helper_kokkos_view< Matrix, KV_S, KV_GO, KV_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>

Inherits Amesos2::Util::get_cxs_helper_kokkos_view< Matrix, KV_S, KV_GO, KV_GS, Op >.

Static Public Member Functions

static void do_get (const Teuchos::Ptr< const Matrix > mat, KV_S &nzvals, KV_GO &indices, KV_GS &pointers, typename KV_GS::value_type &nnz, EDistribution distribution, EStorage_Ordering ordering=ARBITRARY, typename KV_GO::value_type indexBase=0)
 
static void do_get (const Teuchos::Ptr< const Matrix > mat, KV_S &nzvals, KV_GO &indices, KV_GS &pointers, typename KV_GS::value_type &nnz, EDistribution distribution, EStorage_Ordering ordering=ARBITRARY)
 
static void do_get (const Teuchos::Ptr< const Matrix > mat, KV_S &nzvals, KV_GO &indices, KV_GS &pointers, typename KV_GS::value_type &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 KV_S, typename KV_GO, typename KV_GS>
struct Amesos2::Util::get_crs_helper_kokkos_view< Matrix, KV_S, KV_GO, KV_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

template<class Matrix, typename KV_S, typename KV_GO, typename KV_GS, class Op>
static void Amesos2::Util::get_cxs_helper_kokkos_view< Matrix, KV_S, KV_GO, KV_GS, Op >::do_get ( const Teuchos::Ptr< const Matrix >  mat,
KV_S &  nzvals,
KV_GO &  indices,
KV_GS &  pointers,
typename KV_GS::value_type &  nnz,
EDistribution  distribution,
EStorage_Ordering  ordering = ARBITRARY 
)
inlinestaticinherited

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

template<class Matrix, typename KV_S, typename KV_GO, typename KV_GS, class Op>
static void Amesos2::Util::get_cxs_helper_kokkos_view< Matrix, KV_S, KV_GO, KV_GS, Op >::do_get ( const Teuchos::Ptr< const Matrix >  mat,
KV_S &  nzvals,
KV_GO &  indices,
KV_GS &  pointers,
typename KV_GS::value_type &  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: