Thyra Package Browser (Single Doxygen Collection) Version of the Day
Private Types | Private Member Functions | Private Attributes | Related Functions
Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

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

#include <Thyra_TpetraVector_decl.hpp>

List of all members.

Private Types

typedef Tpetra::MultiVector
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > 
TpetraMultiVector_t

Private Member Functions

template<class TpetraVector_t >
void initializeImpl (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< TpetraVector_t > &tpetraVector)

Private Attributes

RCP< const TpetraVectorSpace
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
tpetraVectorSpace_
Teuchos::ConstNonconstObjectContainer
< Tpetra::Vector< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
tpetraVector_

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 60 of file Thyra_TpetraVector_decl.hpp.


Member Typedef Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef Tpetra::MultiVector<Scalar, LocalOrdinal,GlobalOrdinal,Node> Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::TpetraMultiVector_t [private]

Definition at line 114 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 ( )

Construct to uninitialized.

Definition at line 56 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 
)

Initialize.

Definition at line 61 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 
)

Initialize.

Definition at line 71 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 ( )

Get the embedded non-const Tpetra::Vector.

Definition at line 82 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

Get the embedded non-const Tpetra::Vector.

Definition at line 90 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

Definition at line 101 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)

Definition at line 108 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

Definition at line 116 of file Thyra_TpetraVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
template<class TpetraVector_t >
void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initializeImpl ( const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVectorSpace,
const RCP< TpetraVector_t > &  tpetraVector 
) [private]

Definition at line 127 of file Thyra_TpetraVector_def.hpp.

References nonnull(), and TEUCHOS_ASSERT.


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 135 of file Thyra_TpetraVector_decl.hpp.

References Teuchos::rcp().

Referenced by Thyra::createVector().

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 154 of file Thyra_TpetraVector_decl.hpp.

References Teuchos::rcp().

Referenced by Thyra::createConstVector().


Member Data Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP<const TpetraVectorSpace<Scalar,LocalOrdinal,GlobalOrdinal,Node> > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tpetraVectorSpace_ [private]

Definition at line 109 of file Thyra_TpetraVector_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::ConstNonconstObjectContainer<Tpetra::Vector<Scalar, LocalOrdinal,GlobalOrdinal,Node> > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tpetraVector_ [private]

Definition at line 112 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