Amesos2 - Direct Sparse Solver Interfaces  Version of the Day
Static Public Member Functions | List of all members
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>

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