|
ROL
|
Provides definitions of the Conjugate Gradient solver. More...
#include <ROL_ConjugateGradients.hpp>
Inheritance diagram for ROL::ConjugateGradients< Real >:Public Member Functions | |
| ConjugateGradients (Real absTol=1.e-4, Real relTol=1.e-2, unsigned maxit=100, bool useInexact=false) | |
| Real | run (Vector< Real > &x, LinearOperator< Real > &A, const Vector< Real > &b, LinearOperator< Real > &M, int &iter, int &flag) |
Public Member Functions inherited from ROL::Krylov< Real > | |
| virtual | ~Krylov (void) |
| Krylov (Real absTol=1.e-4, Real relTol=1.e-2, unsigned maxit=100) | |
| Krylov (ROL::ParameterList &parlist) | |
| void | resetAbsoluteTolerance (const Real absTol) |
| void | resetRelativeTolerance (const Real relTol) |
| void | resetMaximumIteration (const unsigned maxit) |
| Real | getAbsoluteTolerance (void) const |
| Real | getRelativeTolerance (void) const |
| unsigned | getMaximumIteration (void) const |
Private Attributes | |
| bool | isInitialized_ |
| bool | useInexact_ |
| ROL::Ptr< Vector< Real > > | r_ |
| ROL::Ptr< Vector< Real > > | v_ |
| ROL::Ptr< Vector< Real > > | p_ |
| ROL::Ptr< Vector< Real > > | Ap_ |
Provides definitions of the Conjugate Gradient solver.
Definition at line 59 of file ROL_ConjugateGradients.hpp.
|
inline |
Definition at line 69 of file ROL_ConjugateGradients.hpp.
|
inlinevirtual |
Implements ROL::Krylov< Real >.
Definition at line 72 of file ROL_ConjugateGradients.hpp.
References ROL::ConjugateGradients< Real >::Ap_, ROL::LinearOperator< Real >::apply(), ROL::LinearOperator< Real >::applyInverse(), ROL::Vector< Real >::axpy(), ROL::Vector< Real >::clone(), ROL::ConjugateGradients< Real >::isInitialized_, ROL::Vector< Real >::norm(), ROL::ConjugateGradients< Real >::p_, ROL::ConjugateGradients< Real >::r_, ROL::ConjugateGradients< Real >::useInexact_, ROL::ConjugateGradients< Real >::v_, zero, and ROL::Vector< Real >::zero().
|
private |
Definition at line 61 of file ROL_ConjugateGradients.hpp.
Referenced by ROL::ConjugateGradients< Real >::run().
|
private |
Definition at line 62 of file ROL_ConjugateGradients.hpp.
Referenced by ROL::ConjugateGradients< Real >::run().
|
private |
Definition at line 63 of file ROL_ConjugateGradients.hpp.
Referenced by ROL::ConjugateGradients< Real >::run().
|
private |
Definition at line 64 of file ROL_ConjugateGradients.hpp.
Referenced by ROL::ConjugateGradients< Real >::run().
|
private |
Definition at line 65 of file ROL_ConjugateGradients.hpp.
Referenced by ROL::ConjugateGradients< Real >::run().
|
private |
Definition at line 66 of file ROL_ConjugateGradients.hpp.
Referenced by ROL::ConjugateGradients< Real >::run().
1.8.5