
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 22 of file PlayaKrylovSolver.hpp.
| Playa::KrylovSolver< Scalar >::KrylovSolver | ( | const ParameterList & | params | ) | [inline] |
Definition at line 51 of file PlayaKrylovSolver.hpp.
References Playa::KrylovSolver< Scalar >::precond_.
| Playa::KrylovSolver< Scalar >::KrylovSolver | ( | const ParameterList & | params, | |
| const PreconditionerFactory< Scalar > & | precond | |||
| ) | [inline] |
Definition at line 65 of file PlayaKrylovSolver.hpp.
| virtual Playa::KrylovSolver< Scalar >::~KrylovSolver | ( | ) | [inline, virtual] |
Definition at line 32 of file PlayaKrylovSolver.hpp.
| const PreconditionerFactory<Scalar>& Playa::KrylovSolver< Scalar >::precond | ( | ) | const [inline, protected] |
Definition at line 43 of file PlayaKrylovSolver.hpp.
| SolverState< Scalar > Playa::KrylovSolver< Scalar >::solve | ( | const LinearOperator< Scalar > & | op, | |
| const Vector< Scalar > & | rhs, | |||
| Vector< Scalar > & | soln | |||
| ) | const [inline, virtual] |
Implements Playa::LinearSolverBase< Scalar >.
Definition at line 79 of file PlayaKrylovSolver.hpp.
References Playa::SolverState< Scalar >::finalState(), Playa::Preconditioner< Scalar >::hasLeft(), Playa::Preconditioner< Scalar >::hasRight(), Playa::Preconditioner< Scalar >::left(), Playa::Preconditioner< Scalar >::right(), Playa::SolveConverged, and Playa::Vector< Scalar >::space().
| virtual SolverState<Scalar> Playa::KrylovSolver< Scalar >::solveUnprec | ( | const LinearOperator< Scalar > & | op, | |
| const Vector< Scalar > & | rhs, | |||
| Vector< Scalar > & | soln | |||
| ) | const [protected, pure virtual] |
Implemented in Playa::BICGSTABSolver< Scalar >.
PreconditionerFactory<Scalar> Playa::KrylovSolver< Scalar >::precond_ [private] |
Definition at line 46 of file PlayaKrylovSolver.hpp.
Referenced by Playa::KrylovSolver< Scalar >::KrylovSolver(), and Playa::KrylovSolver< Scalar >::precond().