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

Helper class for putting 1-D data arrays into multivectors. More...

#include <Amesos2_MultiVecAdapter_decl.hpp>

List of all members.

Static Public Member Functions

static void do_put (const Teuchos::Ptr< MV > &mv, const Teuchos::ArrayView< S > &data, 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)
 Helper class for putting 1-D data arrays into multivectors.
static void do_put (const Teuchos::Ptr< MV > &mv, const Teuchos::ArrayView< S > &data, const size_t ldx, EDistribution distribution)
static void do_put (const Teuchos::Ptr< MV > &mv, const Teuchos::ArrayView< S > &data, const size_t ldx)

Detailed Description

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

Helper class for putting 1-D data arrays into multivectors.

Handles dataype conversion when necessary before putting the data.


Member Function Documentation

template<class MV , typename S >
void Amesos2::Util::put_1d_data_helper< MV, S >::do_put ( const Teuchos::Ptr< MV > &  mv,
const Teuchos::ArrayView< S > &  data,
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 
) [static]

Helper class for putting 1-D data arrays into multivectors.

Handles dataype conversion when necessary before putting the data.


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