Belos Package Browser (Single Doxygen Collection)
Development
|
Belos's class for applying the GMRES polynomial operator that is used by the hybrid-GMRES linear solver. More...
#include <BelosGmresPolyOp.hpp>
Constructor/Destructor | |
GmresPolyOp () | |
Default constructor. More... | |
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. More... | |
virtual | ~GmresPolyOp () |
Destructor. More... | |
Operator application method | |
typedef MultiVecTraits< ScalarType, MV > | MVT |
typedef Teuchos::ScalarTraits< ScalarType > | SCT |
int | dim_ |
Teuchos::RCP< LinearProblem< ScalarType, MV, OP > > | problem_ |
Teuchos::RCP< const OP > | LP_ |
Teuchos::RCP< const OP > | RP_ |
Teuchos::RCP< MV > | V_ |
Teuchos::RCP< MV > | wL_ |
Teuchos::RCP< MV > | wR_ |
Teuchos::RCP< Teuchos::SerialDenseMatrix< int, ScalarType > > | H_ |
Teuchos::RCP< Teuchos::SerialDenseMatrix< int, ScalarType > > | y_ |
Teuchos::RCP< Teuchos::SerialDenseVector< int, ScalarType > > | r0_ |
void | Apply (const MV &x, MV &y, ETrans trans=NOTRANS) |
This routine takes the MV x and applies the polynomial operator phi(OP) to it resulting in the MV y , which is returned. More... | |
Belos's class for applying the GMRES polynomial operator that is used by the hybrid-GMRES linear solver.
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 71 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 107 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 108 of file BelosGmresPolyOp.hpp.
|
inline |
Default constructor.
Definition at line 78 of file BelosGmresPolyOp.hpp.
|
inline |
Basic contstructor.
Definition at line 81 of file BelosGmresPolyOp.hpp.
|
inlinevirtual |
Destructor.
Definition at line 92 of file BelosGmresPolyOp.hpp.
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 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 119 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 110 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 111 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 112 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 112 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 113 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 113 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 113 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 114 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 114 of file BelosGmresPolyOp.hpp.
|
private |
Definition at line 115 of file BelosGmresPolyOp.hpp.