|
Belos Version of the Day
|
Factory for creating GmresBase subclass instances. More...
#include <BelosGmresBaseFactory.hpp>
Public Types | |
| typedef GmresBase< Scalar, MV, OP > | base_type |
| typedef LinearProblem< Scalar, MV, OP > | lp_type |
| typedef OrthoManager< Scalar, MV > | ortho_type |
Static Public Member Functions | |
| static Teuchos::RCP< base_type > | create (const Teuchos::RCP< lp_type > &lp, const Teuchos::RCP< const ortho_type > &ortho, const Teuchos::RCP< OutputManager< Scalar > > &outMan, const Teuchos::RCP< const Teuchos::ParameterList > ¶ms) |
| Instantiate the appropriate GmresBase subclass instance. | |
Factory for creating GmresBase subclass instances.
GmresBase describes a general GMRES or Flexible GMRES (FGMRES) iteration, and leaves the specifics up to the subclasses. GmresBaseFactory is a factory class that generates subclass instances. The factory is responsible for:
Definition at line 75 of file BelosGmresBaseFactory.hpp.
| typedef GmresBase<Scalar, MV, OP> Belos::GmresBaseFactory< Scalar, MV, OP >::base_type |
Definition at line 77 of file BelosGmresBaseFactory.hpp.
| typedef LinearProblem<Scalar, MV, OP> Belos::GmresBaseFactory< Scalar, MV, OP >::lp_type |
Definition at line 78 of file BelosGmresBaseFactory.hpp.
| typedef OrthoManager<Scalar, MV> Belos::GmresBaseFactory< Scalar, MV, OP >::ortho_type |
Definition at line 79 of file BelosGmresBaseFactory.hpp.
| static Teuchos::RCP<base_type> Belos::GmresBaseFactory< Scalar, MV, OP >::create | ( | const Teuchos::RCP< lp_type > & | lp, |
| const Teuchos::RCP< const ortho_type > & | ortho, | ||
| const Teuchos::RCP< OutputManager< Scalar > > & | outMan, | ||
| const Teuchos::RCP< const Teuchos::ParameterList > & | params | ||
| ) | [inline, static] |
Instantiate the appropriate GmresBase subclass instance.
| lp | [in/out] The linear problem to solve. |
| ortho | [in] The orthogonalization method that (F)GMRES should use when solving the linear problem. |
| params | [in] Optional parameters; if null, defaults are used. |
Definition at line 92 of file BelosGmresBaseFactory.hpp.
1.7.4