Anasazi Version of the Day
Anasazi::MultiVecTraitsExt< ScalarType, MultiVec< ScalarType > > Class Template Reference

An extension of the MultiVecTraits class that adds a new vector length method.This traits class provides an additional method to the multivector operations for finding the number of rows that is 64-bit compatible. The method in this traits class will replace the GetVecLength() method, which will be deprecated, and removed in the next major Trilinos release. At this time, this traits class will call the GetVecLength() method by default for any traits implementation that does not specialize this template. However, for 64-bit support this template will need to be specialized. More...

#include <AnasaziMultiVec.hpp>

List of all members.

Static Public Member Functions

New attribute methods
static ptrdiff_t GetGlobalLength (const MultiVec< ScalarType > &mv)

Detailed Description

template<class ScalarType>
class Anasazi::MultiVecTraitsExt< ScalarType, MultiVec< ScalarType > >

An extension of the MultiVecTraits class that adds a new vector length method.

This traits class provides an additional method to the multivector operations for finding the number of rows that is 64-bit compatible. The method in this traits class will replace the GetVecLength() method, which will be deprecated, and removed in the next major Trilinos release. At this time, this traits class will call the GetVecLength() method by default for any traits implementation that does not specialize this template. However, for 64-bit support this template will need to be specialized.

Note:
You do not need to write a specialization of MultiVecTraitsExt if you are using Epetra, Tpetra, or Thyra multivectors. Anasazi already provides specializations for these types. Just relax and enjoy using the solvers!

Definition at line 529 of file AnasaziMultiVec.hpp.


Member Function Documentation

template<class ScalarType >
static ptrdiff_t Anasazi::MultiVecTraitsExt< ScalarType, MultiVec< ScalarType > >::GetGlobalLength ( const MultiVec< ScalarType > &  mv) [inline, static]

Obtain the vector length of mv.

Note:
This method supersedes GetVecLength, which will be deprecated.

Definition at line 536 of file AnasaziMultiVec.hpp.


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