ROL
|
#include <ROL_MINRES.hpp>
Public Member Functions | |
MINRES (Real absTol=1.e-4, Real relTol=1.e-2, unsigned maxit=100, bool useInexact=false) | |
virtual Real | run (V &x, OP &A, const V &b, OP &M, int &iter, int &flag) override |
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 Types | |
using | V = Vector< Real > |
using | OP = LinearOperator< Real > |
Private Member Functions | |
void | givens (Real &c, Real &s, Real &r, Real a, Real b) const |
Private Attributes | |
Real | resnorm_ |
int | maxiter_ |
bool | useInexact_ |
std::array< Real, 4 > | H_ |
std::array< Real, 2 > | rhs_ |
VectorCloneMap< Real > | clones_ |
Definition at line 29 of file ROL_MINRES.hpp.
|
private |
Definition at line 31 of file ROL_MINRES.hpp.
|
private |
Definition at line 32 of file ROL_MINRES.hpp.
|
inline |
Definition at line 77 of file ROL_MINRES.hpp.
|
inlineprivate |
Definition at line 45 of file ROL_MINRES.hpp.
References zero.
Referenced by ROL::details::MINRES< Real >::run().
|
inlineoverridevirtual |
Implements ROL::Krylov< Real >.
Definition at line 82 of file ROL_MINRES.hpp.
References ROL::LinearOperator< Real >::apply(), ROL::Vector< Real >::axpy(), ROL::details::MINRES< Real >::clones_, ROL::details::MINRES< Real >::givens(), ROL::details::MINRES< Real >::H_, ROL::details::MINRES< Real >::resnorm_, ROL::details::MINRES< Real >::rhs_, and ROL::details::MINRES< Real >::useInexact_.
|
private |
Definition at line 37 of file ROL_MINRES.hpp.
Referenced by ROL::details::MINRES< Real >::run().
|
private |
Definition at line 38 of file ROL_MINRES.hpp.
|
private |
Definition at line 39 of file ROL_MINRES.hpp.
Referenced by ROL::details::MINRES< Real >::run().
|
private |
Definition at line 40 of file ROL_MINRES.hpp.
Referenced by ROL::details::MINRES< Real >::run().
|
private |
Definition at line 41 of file ROL_MINRES.hpp.
Referenced by ROL::details::MINRES< Real >::run().
|
private |
Definition at line 43 of file ROL_MINRES.hpp.
Referenced by ROL::details::MINRES< Real >::run().