Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
Thyra/Tpetra Operator/Vector Adapter Code
Collaboration diagram for Thyra/Tpetra Operator/Vector Adapter Code:

Classes

class  Thyra::TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node >
 Extends concrete implementation of a Euclidean scalar product for specifically Tpetra vectors/multivectors. More...
 
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. More...
 
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. More...
 
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)
 

Detailed Description

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 21 of file Thyra_TpetraThyraWrappers.cpp.

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 
)