ROL
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ROL::details::MINRES< Real > Class Template Reference

#include <ROL_MINRES.hpp>

+ Inheritance diagram for ROL::details::MINRES< Real >:

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_
 
array< Real, 4 > H_
 
array< Real, 2 > rhs_
 
VectorCloneMap< Real > clones_
 

Detailed Description

template<typename Real>
class ROL::details::MINRES< Real >

Definition at line 65 of file ROL_MINRES.hpp.

Member Typedef Documentation

template<typename Real >
using ROL::details::MINRES< Real >::V = Vector<Real>
private

Definition at line 67 of file ROL_MINRES.hpp.

template<typename Real >
using ROL::details::MINRES< Real >::OP = LinearOperator<Real>
private

Definition at line 68 of file ROL_MINRES.hpp.

Constructor & Destructor Documentation

template<typename Real >
ROL::details::MINRES< Real >::MINRES ( Real  absTol = 1.e-4,
Real  relTol = 1.e-2,
unsigned  maxit = 100,
bool  useInexact = false 
)
inline

Definition at line 113 of file ROL_MINRES.hpp.

Member Function Documentation

template<typename Real >
void ROL::details::MINRES< Real >::givens ( Real &  c,
Real &  s,
Real &  r,
Real  a,
Real  b 
) const
inlineprivate

Definition at line 81 of file ROL_MINRES.hpp.

References zero.

template<typename Real >
virtual Real ROL::details::MINRES< Real >::run ( V x,
OP A,
const V b,
OP M,
int &  iter,
int &  flag 
)
inlineoverridevirtual

Member Data Documentation

template<typename Real >
Real ROL::details::MINRES< Real >::resnorm_
private

Definition at line 73 of file ROL_MINRES.hpp.

template<typename Real >
int ROL::details::MINRES< Real >::maxiter_
private

Definition at line 74 of file ROL_MINRES.hpp.

template<typename Real >
bool ROL::details::MINRES< Real >::useInexact_
private

Definition at line 75 of file ROL_MINRES.hpp.

template<typename Real >
array<Real,4> ROL::details::MINRES< Real >::H_
private

Definition at line 76 of file ROL_MINRES.hpp.

template<typename Real >
array<Real,2> ROL::details::MINRES< Real >::rhs_
private

Definition at line 77 of file ROL_MINRES.hpp.

template<typename Real >
VectorCloneMap<Real> ROL::details::MINRES< Real >::clones_
private

Definition at line 79 of file ROL_MINRES.hpp.


The documentation for this class was generated from the following file: