Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference
[Thyra/Tpetra Operator/Vector Adapter Code]

Concrete Thyra::SpmdVectorBase using Tpetra::Vector. More...

#include <Thyra_TpetraVector_decl.hpp>

Inheritance diagram for Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >:
Inheritance graph
[legend]

List of all members.

Related Functions

(Note that these are not member functions.)



template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< TpetraVector< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
tpetraVector (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector)
 Nonmember constructor for TpetraVector.
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const TpetraVector
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
constTpetraVector (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector)
 Nonmember constructor for TpetraVector.

Constructors/initializers



 TpetraVector ()
 Construct to uninitialized.
void initialize (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector)
 Initialize.
void constInitialize (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector)
 Initialize.
RCP< Tpetra::Vector< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
getTpetraVector ()
 Get the embedded non-const Tpetra::Vector.
RCP< const Tpetra::Vector
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
getConstTpetraVector () const
 Get the embedded non-const Tpetra::Vector.

Overridden from SpmdVectorBase



RCP< const SpmdVectorSpaceBase
< Scalar > > 
spmdSpace () const
 
void getNonconstLocalDataImpl (const Ptr< ArrayRCP< Scalar > > &localValues)
 
void getLocalDataImpl (const Ptr< ArrayRCP< const Scalar > > &localValues) const
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Concrete Thyra::SpmdVectorBase using Tpetra::Vector.

Definition at line 47 of file Thyra_TpetraVector_decl.hpp.


Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::TpetraVector (  )  [inline]

Construct to uninitialized.

Definition at line 43 of file Thyra_TpetraVector_def.hpp.


Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize ( const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVectorSpace,
const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVector 
) [inline]

Initialize.

Definition at line 48 of file Thyra_TpetraVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::constInitialize ( const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVectorSpace,
const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVector 
) [inline]

Initialize.

Definition at line 58 of file Thyra_TpetraVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraVector (  )  [inline]

Get the embedded non-const Tpetra::Vector.

Definition at line 69 of file Thyra_TpetraVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraVector (  )  const [inline]

Get the embedded non-const Tpetra::Vector.

Definition at line 77 of file Thyra_TpetraVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const SpmdVectorSpaceBase< Scalar > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::spmdSpace (  )  const [inline, virtual]

Implements Thyra::SpmdVectorBase< Scalar >.

Definition at line 88 of file Thyra_TpetraVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getNonconstLocalDataImpl ( const Ptr< ArrayRCP< Scalar > > &  localValues  )  [inline, virtual]

Implements Thyra::SpmdVectorBase< Scalar >.

Definition at line 95 of file Thyra_TpetraVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getLocalDataImpl ( const Ptr< ArrayRCP< const Scalar > > &  localValues  )  const [inline, virtual]

Implements Thyra::SpmdVectorBase< Scalar >.

Definition at line 103 of file Thyra_TpetraVector_def.hpp.


Friends And Related Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > tpetraVector ( const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVectorSpace,
const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVector 
) [related]

Nonmember constructor for TpetraVector.

Definition at line 122 of file Thyra_TpetraVector_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > constTpetraVector ( const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVectorSpace,
const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVector 
) [related]

Nonmember constructor for TpetraVector.

Definition at line 141 of file Thyra_TpetraVector_decl.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:00:55 2011 for Thyra by  doxygen 1.6.3