Public Member Functions | |
| BelosSolver (const Teuchos::ParameterList ¶ms) | |
| virtual | ~BelosSolver () |
| void | setUserPrec (const PreconditionerFactory< double > &pf) |
| Set the preconditioning operator. | |
| virtual SolverState< double > | solve (const LinearOperator< double > &op, const Vector< double > &rhs, Vector< double > &soln) const |
Printable interface | |
| void | print (std::ostream &os) const |
| Write to a stream. | |
Describable interface | |
| std::string | description () const |
| Write a brief description. | |
Handleable interface | |
| virtual RCP< LinearSolverBase < double > > | getRcp () |
| Return a ref count pointer to a newly created object. | |
Private Attributes | |
| PreconditionerFactory< double > | pf_ |
Definition at line 50 of file TSFBelosSolver.hpp.
| BelosSolver::BelosSolver | ( | const Teuchos::ParameterList & | params | ) |
Definition at line 22 of file TSFBelosSolver.cpp.
References pf_, and Sundance::NamedObject::setName().
| virtual TSFExtended::BelosSolver::~BelosSolver | ( | ) | [inline, virtual] |
Definition at line 60 of file TSFBelosSolver.hpp.
| std::string TSFExtended::BelosSolver::description | ( | ) | const [inline] |
| virtual RCP<LinearSolverBase<double> > TSFExtended::BelosSolver::getRcp | ( | ) | [inline, virtual] |
Return a ref count pointer to a newly created object.
Implements Sundance::Handleable< LinearSolverBase< double > >.
Definition at line 90 of file TSFBelosSolver.hpp.
| void TSFExtended::BelosSolver::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Write to a stream.
Implements Sundance::Printable.
Definition at line 68 of file TSFBelosSolver.hpp.
References description().
| void TSFExtended::BelosSolver::setUserPrec | ( | const PreconditionerFactory< double > & | pf | ) | [inline, virtual] |
Set the preconditioning operator.
Reimplemented from TSFExtended::LinearSolverBase< double >.
Definition at line 63 of file TSFBelosSolver.hpp.
References pf_.
| SolverState< double > BelosSolver::solve | ( | const LinearOperator< double > & | op, |
| const Vector< double > & | rhs, | ||
| Vector< double > & | soln | ||
| ) | const [virtual] |
Implements TSFExtended::LinearSolverBase< double >.
Definition at line 35 of file TSFBelosSolver.cpp.
References TSFExtended::Vector< Scalar >::copy(), TSFExtended::PreconditionerFactory< Scalar >::createPreconditioner(), TSFExtended::Preconditioner< Scalar >::hasLeft(), TSFExtended::Preconditioner< Scalar >::hasRight(), TSFExtended::Preconditioner< Scalar >::left(), TSFExtended::LinearSolverBase< double >::parameters(), pf_, Sundance::Handle< PointerType >::ptr(), TSFExtended::Preconditioner< Scalar >::right(), TSFExtended::SolveConverged, and TSFExtended::SolveFailedToConverge.
PreconditionerFactory<double> TSFExtended::BelosSolver::pf_ [private] |
Definition at line 100 of file TSFBelosSolver.hpp.
Referenced by BelosSolver(), setUserPrec(), and solve().