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

Helper class for getting 1-D copies of multivectors. More...

#include <Amesos2_MultiVecAdapter_decl.hpp>

Static Public Member Functions

static void do_get (const Teuchos::Ptr< const MV > &mv, const Teuchos::ArrayView< S > &vals, const size_t ldx, Teuchos::Ptr< const Tpetra::Map< typename MV::local_ordinal_t, typename MV::global_ordinal_t, typename MV::node_t > > distribution_map, EDistribution distribution=ROOTED)
 Helper class for getting 1-D copies of multivectors. More...
 
static void do_get (const Teuchos::Ptr< const MV > &mv, const Teuchos::ArrayView< S > &vals, const size_t ldx, EDistribution distribution, typename MV::global_ordinal_t indexBase=0)
 
static void do_get (const Teuchos::Ptr< const MV > &mv, const Teuchos::ArrayView< S > &vals, const size_t ldx)
 

Detailed Description

template<class MV, typename S>
struct Amesos2::Util::get_1d_copy_helper< MV, S >

Helper class for getting 1-D copies of multivectors.

Handles datatype conversion when appropriate.

Member Function Documentation

template<class MV , typename S >
void Amesos2::Util::get_1d_copy_helper< MV, S >::do_get ( const Teuchos::Ptr< const MV > &  mv,
const Teuchos::ArrayView< S > &  vals,
const size_t  ldx,
Teuchos::Ptr< const Tpetra::Map< typename MV::local_ordinal_t, typename MV::global_ordinal_t, typename MV::node_t > >  distribution_map,
EDistribution  distribution = ROOTED 
)
static

Helper class for getting 1-D copies of multivectors.

Handles datatype conversion when appropriate.


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