MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

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

#include <Thyra_XpetraLinearOp_decl.hpp>

Inheritance diagram for Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >:

Private Member Functions

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

Private Attributes

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

Related Functions

(Note that these are not member functions.)

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< XpetraLinearOp< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
xpetraLinearOp (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &xpetraOperator)
 Nonmmeber constructor for XpetraLinearOp. More...
 
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const XpetraLinearOp
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
constXpetraLinearOp (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< const Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &xpetraOperator)
 Nonmmeber constructor for XpetraLinearOp. More...
 

Constructors/initializers.

 XpetraLinearOp ()
 Construct to uninitialized. More...
 
void initialize (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &xpetraOperator)
 Initialize. More...
 
void constInitialize (const RCP< const VectorSpaceBase< Scalar > > &rangeSpace, const RCP< const VectorSpaceBase< Scalar > > &domainSpace, const RCP< const Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &xpetraOperator)
 Initialize. More...
 
RCP< Xpetra::Operator< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
getXpetraOperator ()
 Get embedded non-const Xpetra::Operator. More...
 
RCP< const Xpetra::Operator
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
getConstXpetraOperator () const
 Get embedded const Xpetra::Operator. More...
 

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 = KokkosClassic::DefaultNode::DefaultNodeType>
class Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >

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

Todo:
Move this to Thyra??

Definition at line 66 of file Thyra_XpetraLinearOp_decl.hpp.

Constructor & Destructor Documentation

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

Construct to uninitialized.

Definition at line 64 of file Thyra_XpetraLinearOp_def.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  xpetraOperator 
)

Initialize.

Definition at line 69 of file Thyra_XpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::constInitialize ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< const Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  xpetraOperator 
)

Initialize.

Definition at line 80 of file Thyra_XpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getXpetraOperator ( )

Get embedded non-const Xpetra::Operator.

Definition at line 92 of file Thyra_XpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstXpetraOperator ( ) const

Get embedded const Xpetra::Operator.

Definition at line 100 of file Thyra_XpetraLinearOp_def.hpp.

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

Definition at line 111 of file Thyra_XpetraLinearOp_def.hpp.

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

Definition at line 119 of file Thyra_XpetraLinearOp_def.hpp.

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

Definition at line 127 of file Thyra_XpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::XpetraLinearOp< 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 147 of file Thyra_XpetraLinearOp_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
template<class XpetraOperator_t >
void Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initializeImpl ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< XpetraOperator_t > &  xpetraOperator 
)
private

Definition at line 208 of file Thyra_XpetraLinearOp_def.hpp.

Friends And Related Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node > > xpetraLinearOp ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  xpetraOperator 
)
related

Nonmmeber constructor for XpetraLinearOp.

Definition at line 158 of file Thyra_XpetraLinearOp_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node > > constXpetraLinearOp ( const RCP< const VectorSpaceBase< Scalar > > &  rangeSpace,
const RCP< const VectorSpaceBase< Scalar > > &  domainSpace,
const RCP< const Xpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  xpetraOperator 
)
related

Nonmmeber constructor for XpetraLinearOp.

Definition at line 177 of file Thyra_XpetraLinearOp_decl.hpp.

Member Data Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
RCP<const VectorSpaceBase<Scalar> > Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::rangeSpace_
private

Definition at line 134 of file Thyra_XpetraLinearOp_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
RCP<const VectorSpaceBase<Scalar> > Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::domainSpace_
private

Definition at line 137 of file Thyra_XpetraLinearOp_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
Teuchos::ConstNonconstObjectContainer<Xpetra::Operator<Scalar,LocalOrdinal,GlobalOrdinal,Node> > Thyra::XpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::xpetraOperator_
private

Definition at line 140 of file Thyra_XpetraLinearOp_decl.hpp.


The documentation for this class was generated from the following files: