Belos Version of the Day
Static Public Member Functions
Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > > Class Template Reference

Specialization of MultiVecTraits for Belos::MultiVec. More...

#include <BelosMultiVec.hpp>

List of all members.

Static Public Member Functions

static Teuchos::RCP< MultiVec
< ScalarType > > 
Clone (const MultiVec< ScalarType > &mv, const int numvecs)
static Teuchos::RCP< MultiVec
< ScalarType > > 
CloneCopy (const MultiVec< ScalarType > &mv)
static Teuchos::RCP< MultiVec
< ScalarType > > 
CloneCopy (const MultiVec< ScalarType > &mv, const std::vector< int > &index)
static Teuchos::RCP< MultiVec
< ScalarType > > 
CloneViewNonConst (MultiVec< ScalarType > &mv, const std::vector< int > &index)
static Teuchos::RCP< const
MultiVec< ScalarType > > 
CloneView (const MultiVec< ScalarType > &mv, const std::vector< int > &index)
static int GetVecLength (const MultiVec< ScalarType > &mv)
static int GetNumberVecs (const MultiVec< ScalarType > &mv)
static void MvTimesMatAddMv (ScalarType alpha, const MultiVec< ScalarType > &A, const Teuchos::SerialDenseMatrix< int, ScalarType > &B, ScalarType beta, MultiVec< ScalarType > &mv)
static void MvAddMv (ScalarType alpha, const MultiVec< ScalarType > &A, ScalarType beta, const MultiVec< ScalarType > &B, MultiVec< ScalarType > &mv)
static void MvScale (MultiVec< ScalarType > &mv, const ScalarType alpha)
static void MvScale (MultiVec< ScalarType > &mv, const std::vector< ScalarType > &alpha)
static void MvTransMv (const ScalarType alpha, const MultiVec< ScalarType > &A, const MultiVec< ScalarType > &mv, Teuchos::SerialDenseMatrix< int, ScalarType > &B)
static void MvDot (const MultiVec< ScalarType > &mv, const MultiVec< ScalarType > &A, std::vector< ScalarType > &b)
static void MvNorm (const MultiVec< ScalarType > &mv, std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > &normvec, NormType type=TwoNorm)
static void SetBlock (const MultiVec< ScalarType > &A, const std::vector< int > &index, MultiVec< ScalarType > &mv)
static void MvRandom (MultiVec< ScalarType > &mv)
static void MvInit (MultiVec< ScalarType > &mv, ScalarType alpha=Teuchos::ScalarTraits< ScalarType >::zero())
static void MvPrint (const MultiVec< ScalarType > &mv, std::ostream &os)

Detailed Description

template<class ScalarType>
class Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >

Specialization of MultiVecTraits for Belos::MultiVec.

This is a partial specialization of MultiVecTraits for Belos::MultiVec, which is a generic interface that users may implement in order to wrap their own multivector implementations.

Definition at line 223 of file BelosMultiVec.hpp.


Member Function Documentation

template<class ScalarType >
static Teuchos::RCP<MultiVec<ScalarType> > Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::Clone ( const MultiVec< ScalarType > &  mv,
const int  numvecs 
) [inline, static]

Definition at line 228 of file BelosMultiVec.hpp.

template<class ScalarType >
static Teuchos::RCP<MultiVec<ScalarType> > Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::CloneCopy ( const MultiVec< ScalarType > &  mv) [inline, static]

Definition at line 231 of file BelosMultiVec.hpp.

template<class ScalarType >
static Teuchos::RCP<MultiVec<ScalarType> > Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::CloneCopy ( const MultiVec< ScalarType > &  mv,
const std::vector< int > &  index 
) [inline, static]

Definition at line 234 of file BelosMultiVec.hpp.

template<class ScalarType >
static Teuchos::RCP<MultiVec<ScalarType> > Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::CloneViewNonConst ( MultiVec< ScalarType > &  mv,
const std::vector< int > &  index 
) [inline, static]

Definition at line 237 of file BelosMultiVec.hpp.

template<class ScalarType >
static Teuchos::RCP<const MultiVec<ScalarType> > Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::CloneView ( const MultiVec< ScalarType > &  mv,
const std::vector< int > &  index 
) [inline, static]

Definition at line 240 of file BelosMultiVec.hpp.

template<class ScalarType >
static int Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::GetVecLength ( const MultiVec< ScalarType > &  mv) [inline, static]

Definition at line 243 of file BelosMultiVec.hpp.

template<class ScalarType >
static int Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::GetNumberVecs ( const MultiVec< ScalarType > &  mv) [inline, static]

Definition at line 246 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvTimesMatAddMv ( ScalarType  alpha,
const MultiVec< ScalarType > &  A,
const Teuchos::SerialDenseMatrix< int, ScalarType > &  B,
ScalarType  beta,
MultiVec< ScalarType > &  mv 
) [inline, static]

Definition at line 249 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvAddMv ( ScalarType  alpha,
const MultiVec< ScalarType > &  A,
ScalarType  beta,
const MultiVec< ScalarType > &  B,
MultiVec< ScalarType > &  mv 
) [inline, static]

Definition at line 254 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvScale ( MultiVec< ScalarType > &  mv,
const ScalarType  alpha 
) [inline, static]

Definition at line 257 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvScale ( MultiVec< ScalarType > &  mv,
const std::vector< ScalarType > &  alpha 
) [inline, static]

Definition at line 260 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvTransMv ( const ScalarType  alpha,
const MultiVec< ScalarType > &  A,
const MultiVec< ScalarType > &  mv,
Teuchos::SerialDenseMatrix< int, ScalarType > &  B 
) [inline, static]

Definition at line 263 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvDot ( const MultiVec< ScalarType > &  mv,
const MultiVec< ScalarType > &  A,
std::vector< ScalarType > &  b 
) [inline, static]

Definition at line 266 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvNorm ( const MultiVec< ScalarType > &  mv,
std::vector< typename Teuchos::ScalarTraits< ScalarType >::magnitudeType > &  normvec,
NormType  type = TwoNorm 
) [inline, static]

Definition at line 269 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::SetBlock ( const MultiVec< ScalarType > &  A,
const std::vector< int > &  index,
MultiVec< ScalarType > &  mv 
) [inline, static]

Definition at line 272 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvRandom ( MultiVec< ScalarType > &  mv) [inline, static]

Definition at line 275 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvInit ( MultiVec< ScalarType > &  mv,
ScalarType  alpha = Teuchos::ScalarTraits<ScalarType>::zero() 
) [inline, static]

Definition at line 278 of file BelosMultiVec.hpp.

template<class ScalarType >
static void Belos::MultiVecTraits< ScalarType, MultiVec< ScalarType > >::MvPrint ( const MultiVec< ScalarType > &  mv,
std::ostream &  os 
) [inline, static]

Definition at line 281 of file BelosMultiVec.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines