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 M > mat, KV_S &nzvals, KV_GO &indices, KV_GS &pointers, typename KV_GS::value_type &nnz, const Teuchos::Ptr< const Tpetra::Map< typename M::local_ordinal_t, typename M::global_ordinal_t, typename M::node_t > > map, EDistribution distribution, EStorage_Ordering ordering) |
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.