MueLu  Version of the Day
Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode > Class Template Reference

#include <BelosXpetraAdapterOperator.hpp>

Inheritance diagram for Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >:
Belos::OperatorT< Xpetra::MultiVector< double, int, long long, Xpetra::EpetraNode > >

Public Member Functions

 XpetraOp (const RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &Op)
 
virtual ~XpetraOp ()
 
void Apply (const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &x, Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &y, ETrans trans=NOTRANS) const
 This routine takes the Belos::MultiVec x and applies the operator to it resulting in the Belos::MultiVec y, which is returned. More...
 
RCP< const Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > getOperator () const
 
- Public Member Functions inherited from Belos::OperatorT< Xpetra::MultiVector< double, int, long long, Xpetra::EpetraNode > >
 OperatorT ()
 Default constructor. More...
 
virtual ~OperatorT ()
 Destructor. More...
 

Private Types

typedef double Scalar
 
typedef int LocalOrdinal
 
typedef long long GlobalOrdinal
 
typedef Xpetra::EpetraNode Node
 

Private Attributes

RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Op_
 

Detailed Description

template<>
class Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >

Definition at line 273 of file BelosXpetraAdapterOperator.hpp.

Member Typedef Documentation

◆ Scalar

typedef double Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >::Scalar
private

Definition at line 286 of file BelosXpetraAdapterOperator.hpp.

◆ LocalOrdinal

typedef int Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >::LocalOrdinal
private

Definition at line 287 of file BelosXpetraAdapterOperator.hpp.

◆ GlobalOrdinal

typedef long long Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >::GlobalOrdinal
private

Definition at line 288 of file BelosXpetraAdapterOperator.hpp.

◆ Node

typedef Xpetra::EpetraNode Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >::Node
private

Definition at line 289 of file BelosXpetraAdapterOperator.hpp.

Constructor & Destructor Documentation

◆ XpetraOp()

Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >::XpetraOp ( const RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  Op)
inline

Definition at line 293 of file BelosXpetraAdapterOperator.hpp.

◆ ~XpetraOp()

virtual Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >::~XpetraOp ( )
inlinevirtual

Definition at line 295 of file BelosXpetraAdapterOperator.hpp.

Member Function Documentation

◆ Apply()

void Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >::Apply ( const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  x,
Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  y,
ETrans  trans = NOTRANS 
) const
inlinevirtual

This routine takes the Belos::MultiVec x and applies the operator to it resulting in the Belos::MultiVec y, which is returned.

Note
It is expected that any problem with applying this operator to x will be indicated by an std::exception being thrown.

Implements Belos::OperatorT< Xpetra::MultiVector< double, int, long long, Xpetra::EpetraNode > >.

Definition at line 297 of file BelosXpetraAdapterOperator.hpp.

◆ getOperator()

RCP<const Xpetra::Matrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Belos::XpetraOp< double, int, long long, Xpetra::EpetraNode >::getOperator ( ) const
inline

Definition at line 350 of file BelosXpetraAdapterOperator.hpp.

Member Data Documentation

◆ Op_

Definition at line 354 of file BelosXpetraAdapterOperator.hpp.


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