#include <BelosGmresPolyOp.hpp>
Operator application method | |
| void | Apply (const MV &x, MV &y, ETrans trans=NOTRANS) |
This routine takes the MV x and applies the polynomial operator \c phi(OP) to it resulting in the MV y, which is returned. | |
Public Member Functions | |
Constructor/Destructor | |
| GmresPolyOp () | |
| Default constructor. | |
| GmresPolyOp (const Teuchos::RCP< LinearProblem< ScalarType, MV, OP > > &problem_in, const Teuchos::RCP< Teuchos::SerialDenseMatrix< int, ScalarType > > &hess, const Teuchos::RCP< Teuchos::SerialDenseMatrix< int, ScalarType > > &comb, const Teuchos::RCP< Teuchos::SerialDenseVector< int, ScalarType > > &scal) | |
| Basic contstructor. | |
| virtual | ~GmresPolyOp () |
| Destructor. | |
This operator is used as the interface to the matrix polynomial (phi(A)), solution (X), and right-hand side (B) of the linear system phi(A)X = B. Furthermore, it is also the interface to left/right preconditioning of the linear system.
Definition at line 58 of file BelosGmresPolyOp.hpp.
| Belos::GmresPolyOp< ScalarType, MV, OP >::GmresPolyOp | ( | ) | [inline] |
| Belos::GmresPolyOp< ScalarType, MV, OP >::GmresPolyOp | ( | const Teuchos::RCP< LinearProblem< ScalarType, MV, OP > > & | problem_in, | |
| const Teuchos::RCP< Teuchos::SerialDenseMatrix< int, ScalarType > > & | hess, | |||
| const Teuchos::RCP< Teuchos::SerialDenseMatrix< int, ScalarType > > & | comb, | |||
| const Teuchos::RCP< Teuchos::SerialDenseVector< int, ScalarType > > & | scal | |||
| ) | [inline] |
| virtual Belos::GmresPolyOp< ScalarType, MV, OP >::~GmresPolyOp | ( | ) | [inline, virtual] |
| void Belos::GmresPolyOp< ScalarType, MV, OP >::Apply | ( | const MV & | x, | |
| MV & | y, | |||
| ETrans | trans = NOTRANS | |||
| ) |
This routine takes the MV x and applies the polynomial operator \c phi(OP) to it resulting in the MV y, which is returned.
x will be indicated by an std::exception being thrown. Definition at line 106 of file BelosGmresPolyOp.hpp.
1.4.7