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

Concrete Thyra::LinearOpBase subclass for Tpetra::Operator. More...

#include <Thyra_TpetraLinearOp_decl.hpp>

List of all members.

Private Member Functions

template<class TpetraOperator_t >
void initializeImpl (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< TpetraOperator_t > &tpetraOperator)

Private Attributes

RCP< const VectorSpaceBase
< Scalar > > 
rangeSpace_
RCP< const VectorSpaceBase
< Scalar > > 
domainSpace_
Teuchos::ConstNonconstObjectContainer
< Tpetra::Operator< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
tpetraOperator_

Related Functions

(Note that these are not member functions.)

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< TpetraLinearOp< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
tpetraLinearOp (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator)
 Nonmmeber constructor for TpetraLinearOp.
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const TpetraLinearOp
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
constTpetraLinearOp (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator)
 Nonmmeber constructor for TpetraLinearOp.

Constructors/initializers.

 TpetraLinearOp ()
 Construct to uninitialized.
void initialize (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator)
 Initialize.
void constInitialize (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator)
 Initialize.
RCP< Tpetra::Operator< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
getTpetraOperator ()
 Get embedded non-const Tpetra::Operator.
RCP< const Tpetra::Operator
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
getConstTpetraOperator () const
 Get embedded const Tpetra::Operator.

Public Overridden functions from LinearOpBase.

RCP< const
Thyra::VectorSpaceBase< Scalar > > 
range () const
 
RCP< const
Thyra::VectorSpaceBase< Scalar > > 
domain () const
 

Protected Overridden functions from LinearOpBase.

bool opSupportedImpl (Thyra::EOpTransp M_trans) const
 
void applyImpl (const Thyra::EOpTransp M_trans, const Thyra::MultiVectorBase< Scalar > &X_in, const Teuchos::Ptr< Thyra::MultiVectorBase< Scalar > > &Y_inout, const Scalar alpha, const Scalar beta) const
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal = LocalOrdinal, class Node = Kokkos::DefaultNode::DefaultNodeType>
class Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Concrete Thyra::LinearOpBase subclass for Tpetra::Operator.

Todo:
Finish Documentation

Definition at line 71 of file Thyra_TpetraLinearOp_decl.hpp.


Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::TpetraLinearOp ( )

Construct to uninitialized.

Definition at line 102 of file Thyra_TpetraLinearOp_def.hpp.


Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraOperator 
)

Initialize.

Definition at line 107 of file Thyra_TpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::constInitialize ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraOperator 
)

Initialize.

Definition at line 118 of file Thyra_TpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraOperator ( )

Get embedded non-const Tpetra::Operator.

Definition at line 130 of file Thyra_TpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraOperator ( ) const

Get embedded const Tpetra::Operator.

Definition at line 138 of file Thyra_TpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Thyra::VectorSpaceBase< Scalar > > Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::range ( ) const

Definition at line 149 of file Thyra_TpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Thyra::VectorSpaceBase< Scalar > > Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::domain ( ) const

Definition at line 157 of file Thyra_TpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
bool Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::opSupportedImpl ( Thyra::EOpTransp  M_trans) const [protected]

Definition at line 215 of file Thyra_TpetraLinearOp_def.hpp.

References is_null(), and NOTRANS.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::applyImpl ( const Thyra::EOpTransp  M_trans,
const Thyra::MultiVectorBase< Scalar > &  X_in,
const Teuchos::Ptr< Thyra::MultiVectorBase< Scalar > > &  Y_inout,
const Scalar  alpha,
const Scalar  beta 
) const [protected]

Definition at line 227 of file Thyra_TpetraLinearOp_def.hpp.

References Teuchos::CONJ_TRANS, Teuchos::NO_TRANS, and NOTRANS.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
template<class TpetraOperator_t >
void Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initializeImpl ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< TpetraOperator_t > &  tpetraOperator 
) [private]

Definition at line 265 of file Thyra_TpetraLinearOp_def.hpp.

References nonnull(), and TEUCHOS_ASSERT.


Friends And Related Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node > > tpetraLinearOp ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraOperator 
) [related]

Nonmmeber constructor for TpetraLinearOp.

Definition at line 194 of file Thyra_TpetraLinearOp_decl.hpp.

References Teuchos::rcp().

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node > > constTpetraLinearOp ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraOperator 
) [related]

Nonmmeber constructor for TpetraLinearOp.

Definition at line 213 of file Thyra_TpetraLinearOp_decl.hpp.

References Teuchos::rcp().


Member Data Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal = LocalOrdinal, class Node = Kokkos::DefaultNode::DefaultNodeType>
RCP<const VectorSpaceBase<Scalar> > Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::rangeSpace_ [private]

Definition at line 166 of file Thyra_TpetraLinearOp_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal = LocalOrdinal, class Node = Kokkos::DefaultNode::DefaultNodeType>
RCP<const VectorSpaceBase<Scalar> > Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::domainSpace_ [private]

Definition at line 169 of file Thyra_TpetraLinearOp_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal = LocalOrdinal, class Node = Kokkos::DefaultNode::DefaultNodeType>
Teuchos::ConstNonconstObjectContainer<Tpetra::Operator<Scalar,LocalOrdinal,GlobalOrdinal,Node> > Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tpetraOperator_ [private]

Definition at line 172 of file Thyra_TpetraLinearOp_decl.hpp.


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