Belos Package Browser (Single Doxygen Collection)
Development
|
Wrap an InnerSolver in an OP (operator). More...
#include <BelosInnerSolver.hpp>
Public Types | |
typedef Scalar | scalar_type |
typedef MV | multivector_type |
typedef OP | operator_type |
typedef InnerSolver < scalar_type, multivector_type, operator_type > | inner_solver_type |
typedef UndefinedWrapperType < Scalar, MV, OP > | wrapper_type |
Static Public Member Functions | |
static Teuchos::RCP< OP > | makeInnerSolverOperator (const Teuchos::RCP< InnerSolver< Scalar, MV, OP > > &solver) |
Wrap the given inner solver in a wrapper_type. More... | |
static Teuchos::RCP < inner_solver_type > | getInnerSolver (const Teuchos::RCP< operator_type > &op) |
Return the given wrapper's inner solver object. More... | |
Wrap an InnerSolver in an OP (operator).
Take an InnerSolver instance, and wrap it in an implementation of OP, where OP is one of the base operator interfaces that Belos supports (currently Thyra::LinearOpBase, Tpetra::Operator, and Epetra_Operator).
Definition at line 323 of file BelosInnerSolver.hpp.
typedef Scalar Belos::InnerSolverTraits< Scalar, MV, OP >::scalar_type |
Definition at line 325 of file BelosInnerSolver.hpp.
typedef MV Belos::InnerSolverTraits< Scalar, MV, OP >::multivector_type |
Definition at line 326 of file BelosInnerSolver.hpp.
typedef OP Belos::InnerSolverTraits< Scalar, MV, OP >::operator_type |
Definition at line 327 of file BelosInnerSolver.hpp.
typedef InnerSolver<scalar_type, multivector_type, operator_type> Belos::InnerSolverTraits< Scalar, MV, OP >::inner_solver_type |
Definition at line 328 of file BelosInnerSolver.hpp.
typedef UndefinedWrapperType<Scalar, MV, OP> Belos::InnerSolverTraits< Scalar, MV, OP >::wrapper_type |
Definition at line 329 of file BelosInnerSolver.hpp.
|
inlinestatic |
Wrap the given inner solver in a wrapper_type.
The wrapper_type class implements the operator_type interface, which can be used directly in Belos.
Definition at line 336 of file BelosInnerSolver.hpp.
|
inlinestatic |
Return the given wrapper's inner solver object.
If op is an inner solver wrapper instance, return the inner solver object. Otherwise, throw an std::bad_cast exception.
Definition at line 357 of file BelosInnerSolver.hpp.