Thyra/Tpetra Operator/Vector Adapter Code
[Thyra adapters]

Collaboration diagram for Thyra/Tpetra Operator/Vector Adapter Code:

Classes

class  Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >
 Concrete Thyra::LinearOpBase subclass for Tpetra::Operator. More...
class  Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >
 Concrete implementation of Thyra::MultiVector in terms of Tpetra::MultiVector. More...
class  Thyra::TpetraOperatorVectorExtraction< Scalar, LocalOrdinal, GlobalOrdinal, Node >
 Traits class that enables the extraction of Tpetra operator/vector objects wrapped in Thyra operator/vector objects. More...
class  Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >
 Concrete Thyra::SpmdVectorBase using Tpetra::Vector. More...
class  Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >
 Concrete implementation of an SPMD vector space for Tpetra. More...

Functions

RCP< const Teuchos::Comm
< Ordinal > > 
Thyra::convertTpetraToThyraComm (const RCP< const Teuchos::Comm< int > > &tpetraComm)
 Given an Tpetra Teuchos::Comm<int> object, return an equivalent Teuchos::Comm<Ordinal> object.
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const VectorSpaceBase
< Scalar > > 
Thyra::createVectorSpace (const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &tpetraMap)
 Create a Thyra::VectorSpaceBase object given a Tpetra::Map.
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< VectorBase< Scalar > > Thyra::createVector (const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector, const RCP< const VectorSpaceBase< Scalar > > space=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const VectorBase< Scalar > > Thyra::createConstVector (const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector, const RCP< const VectorSpaceBase< Scalar > > space=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< MultiVectorBase< Scalar > > Thyra::createMultiVector (const RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const MultiVectorBase
< Scalar > > 
Thyra::createConstMultiVector (const RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< LinearOpBase< Scalar > > Thyra::createLinearOp (const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const LinearOpBase< Scalar > > Thyra::createConstLinearOp (const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
 

Function Documentation

Teuchos::RCP< const Teuchos::Comm< Thyra::Ordinal > > Thyra::convertTpetraToThyraComm ( const RCP< const Teuchos::Comm< int > > &  tpetraComm  ) 

Given an Tpetra Teuchos::Comm<int> object, return an equivalent Teuchos::Comm<Ordinal> object.

Will throw if conversion is not successful.

Definition at line 12 of file Thyra_TpetraThyraWrappers.cpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Thyra::createVectorSpace ( const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &  tpetraMap  )  [inline]

Create a Thyra::VectorSpaceBase object given a Tpetra::Map.

Definition at line 94 of file Thyra_TpetraThyraWrappers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< Thyra::VectorBase< Scalar > > Thyra::createVector ( const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVector,
const RCP< const VectorSpaceBase< Scalar > >  space = Teuchos::null 
) [inline]

Definition at line 104 of file Thyra_TpetraThyraWrappers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Thyra::VectorBase< Scalar > > Thyra::createConstVector ( const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVector,
const RCP< const VectorSpaceBase< Scalar > >  space = Teuchos::null 
) [inline]

Definition at line 118 of file Thyra_TpetraThyraWrappers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > Thyra::createMultiVector ( const RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraMultiVector,
const RCP< const VectorSpaceBase< Scalar > >  rangeSpace = Teuchos::null,
const RCP< const VectorSpaceBase< Scalar > >  domainSpace = Teuchos::null 
) [inline]

Definition at line 132 of file Thyra_TpetraThyraWrappers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Thyra::MultiVectorBase< Scalar > > Thyra::createConstMultiVector ( const RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraMultiVector,
const RCP< const VectorSpaceBase< Scalar > >  rangeSpace = Teuchos::null,
const RCP< const VectorSpaceBase< Scalar > >  domainSpace = Teuchos::null 
) [inline]

Definition at line 152 of file Thyra_TpetraThyraWrappers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > Thyra::createLinearOp ( const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraOperator,
const RCP< const VectorSpaceBase< Scalar > >  rangeSpace = Teuchos::null,
const RCP< const VectorSpaceBase< Scalar > >  domainSpace = Teuchos::null 
) [inline]

Definition at line 172 of file Thyra_TpetraThyraWrappers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Thyra::LinearOpBase< Scalar > > Thyra::createConstLinearOp ( const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraOperator,
const RCP< const VectorSpaceBase< Scalar > >  rangeSpace = Teuchos::null,
const RCP< const VectorSpaceBase< Scalar > >  domainSpace = Teuchos::null 
) [inline]

Definition at line 188 of file Thyra_TpetraThyraWrappers_def.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:00:32 2011 for Thyra by  doxygen 1.6.3