Public Member Functions | |
| KrylovSolver (const ParameterList ¶ms) | |
| KrylovSolver (const ParameterList ¶ms, const PreconditionerFactory< Scalar > &precond) | |
| virtual | ~KrylovSolver () |
| virtual SolverState< Scalar > | solve (const LinearOperator< Scalar > &op, const Vector< Scalar > &rhs, Vector< Scalar > &soln) const |
Protected Member Functions | |
| virtual SolverState< Scalar > | solveUnprec (const LinearOperator< Scalar > &op, const Vector< Scalar > &rhs, Vector< Scalar > &soln) const =0 |
| const PreconditionerFactory < Scalar > & | precond () const |
Private Attributes | |
| PreconditionerFactory< Scalar > | precond_ |
Definition at line 45 of file TSFKrylovSolver.hpp.
| TSFExtended::KrylovSolver< Scalar >::KrylovSolver | ( | const ParameterList & | params | ) | [inline] |
Definition at line 74 of file TSFKrylovSolver.hpp.
References TSFExtended::KrylovSolver< Scalar >::precond_.
| TSFExtended::KrylovSolver< Scalar >::KrylovSolver | ( | const ParameterList & | params, |
| const PreconditionerFactory< Scalar > & | precond | ||
| ) | [inline] |
Definition at line 88 of file TSFKrylovSolver.hpp.
| virtual TSFExtended::KrylovSolver< Scalar >::~KrylovSolver | ( | ) | [inline, virtual] |
Definition at line 55 of file TSFKrylovSolver.hpp.
| const PreconditionerFactory<Scalar>& TSFExtended::KrylovSolver< Scalar >::precond | ( | ) | const [inline, protected] |
Definition at line 66 of file TSFKrylovSolver.hpp.
References TSFExtended::KrylovSolver< Scalar >::precond_.
| SolverState< Scalar > TSFExtended::KrylovSolver< Scalar >::solve | ( | const LinearOperator< Scalar > & | op, |
| const Vector< Scalar > & | rhs, | ||
| Vector< Scalar > & | soln | ||
| ) | const [inline, virtual] |
Implements TSFExtended::LinearSolverBase< Scalar >.
Definition at line 102 of file TSFKrylovSolver.hpp.
References TSFExtended::SolverState< Scalar >::finalState(), TSFExtended::Preconditioner< Scalar >::hasLeft(), TSFExtended::Preconditioner< Scalar >::hasRight(), TSFExtended::Preconditioner< Scalar >::left(), TSFExtended::Preconditioner< Scalar >::right(), TSFExtended::SolveConverged, and TSFExtended::Vector< Scalar >::space().
| virtual SolverState<Scalar> TSFExtended::KrylovSolver< Scalar >::solveUnprec | ( | const LinearOperator< Scalar > & | op, |
| const Vector< Scalar > & | rhs, | ||
| Vector< Scalar > & | soln | ||
| ) | const [protected, pure virtual] |
Implemented in TSFExtended::BICGSTABSolver< Scalar >, and TSFExtended::GMRESSolver< Scalar >.
PreconditionerFactory<Scalar> TSFExtended::KrylovSolver< Scalar >::precond_ [private] |
Definition at line 69 of file TSFKrylovSolver.hpp.
Referenced by TSFExtended::KrylovSolver< Scalar >::KrylovSolver(), and TSFExtended::KrylovSolver< Scalar >::precond().