|
ROL
|
Interface for computing the Lanczos vectors and approximate solutions to symmetric indefinite linear systems. More...
#include <ROL_Lanczos.hpp>
Public Types | |
| enum | FLAG_ITERATE : unsigned { FLAG_ITERATE::ITERATE_SUCCESS = 0, FLAG_ITERATE::ITERATE_SMALL_BETA, FLAG_ITERATE::ITERATE_MAX_REACHED, FLAG_ITERATE::ITERATE_ORTHO_TOL, FLAG_ITERATE::ITERATE_LAST } |
| enum | FLAG_SOLVE : unsigned { FLAG_SOLVE::SOLVE_SUCCESS = 0, FLAG_SOLVE::SOLVE_ILLEGAL_VALUE, FLAG_SOLVE::SOLVE_SINGULAR_U, FLAG_SOLVE::SOLVE_LAST } |
Public Member Functions | |
| Lanczos (Teuchos::ParameterList &PL) | |
| void | initialize (const V &b) |
| void | initialize (const V &x0, const V &b, const LO &A, Real &tol) |
| void | reset (const V &b) |
| void | reset (const V &x0, const V &b, const LO &A, Real &tol) |
| FLAG_ITERATE | iterate (const OP &A, Real &tol) |
| void | eigenvalues (std::vector< Real > &E) |
| FLAG_SOLVE | solve (V &x, Real tau=0) |
Private Types | |
| template<typename T > | |
| using | RCP = Teuchos::RCP< T > |
| template<typename T > | |
| using | vector = std::vector< T > |
| typedef Vector< Real > | V |
| typedef LinearOperator< Real > | OP |
| typedef Teuchos::ParameterList | PL |
Private Member Functions | |
| void | allocate (void) |
Private Attributes | |
| template vector< Real > size_type | uint |
| Teuchos::LAPACK< int, Real > | lapack_ |
| vector< RCP< V > > | Q_ |
| vector< Real > | alpha_ |
| vector< Real > | beta_ |
| vector< Real > | dl_ |
| vector< Real > | d_ |
| vector< Real > | du_ |
| vector< Real > | du2_ |
| vector< Real > | y_ |
| vector< Real > | work_ |
| vector< int > | ipiv_ |
| RCP< V > | u_ |
| Real | max_beta_ |
| Real | tol_beta_ |
| Real | tol_ortho_ |
| int | maxit_ |
| int | k_ |
Interface for computing the Lanczos vectors and approximate solutions to symmetric indefinite linear systems.
Definition at line 65 of file ROL_Lanczos.hpp.
|
private |
Definition at line 67 of file ROL_Lanczos.hpp.
|
private |
Definition at line 68 of file ROL_Lanczos.hpp.
|
private |
Definition at line 72 of file ROL_Lanczos.hpp.
|
private |
Definition at line 73 of file ROL_Lanczos.hpp.
|
private |
Definition at line 75 of file ROL_Lanczos.hpp.
|
strong |
| Enumerator | |
|---|---|
| ITERATE_SUCCESS | |
| ITERATE_SMALL_BETA | |
| ITERATE_MAX_REACHED | |
| ITERATE_ORTHO_TOL | |
| ITERATE_LAST | |
Definition at line 136 of file ROL_Lanczos.hpp.
|
strong |
| Enumerator | |
|---|---|
| SOLVE_SUCCESS | |
| SOLVE_ILLEGAL_VALUE | |
| SOLVE_SINGULAR_U | |
| SOLVE_LAST | |
Definition at line 144 of file ROL_Lanczos.hpp.
|
inline |
Definition at line 152 of file ROL_Lanczos.hpp.
|
inlineprivate |
Definition at line 108 of file ROL_Lanczos.hpp.
References ROL::Lanczos< Real >::maxit_.
Referenced by ROL::Lanczos< Real >::initialize().
|
inline |
Definition at line 164 of file ROL_Lanczos.hpp.
References ROL::Lanczos< Real >::allocate(), and ROL::Lanczos< Real >::reset().
|
inline |
Definition at line 170 of file ROL_Lanczos.hpp.
References ROL::Lanczos< Real >::allocate(), and ROL::Lanczos< Real >::reset().
|
inline |
Definition at line 177 of file ROL_Lanczos.hpp.
Referenced by ROL::Lanczos< Real >::initialize().
|
inline |
Definition at line 186 of file ROL_Lanczos.hpp.
|
inline |
|
inline |
Definition at line 243 of file ROL_Lanczos.hpp.
References ROL::Lanczos< Real >::alpha_, and ROL::Lanczos< Real >::beta_.
|
inline |
Definition at line 264 of file ROL_Lanczos.hpp.
References ROL::Lanczos< Real >::beta_, and ROL::Lanczos< Real >::k_.
|
private |
Definition at line 70 of file ROL_Lanczos.hpp.
|
private |
Definition at line 79 of file ROL_Lanczos.hpp.
|
private |
Definition at line 81 of file ROL_Lanczos.hpp.
|
private |
Definition at line 82 of file ROL_Lanczos.hpp.
Referenced by ROL::Lanczos< Real >::eigenvalues().
|
private |
Definition at line 83 of file ROL_Lanczos.hpp.
Referenced by ROL::Lanczos< Real >::eigenvalues(), and ROL::Lanczos< Real >::solve().
|
private |
Definition at line 86 of file ROL_Lanczos.hpp.
|
private |
Definition at line 87 of file ROL_Lanczos.hpp.
|
private |
Definition at line 88 of file ROL_Lanczos.hpp.
|
private |
Definition at line 89 of file ROL_Lanczos.hpp.
|
private |
Definition at line 90 of file ROL_Lanczos.hpp.
|
private |
Definition at line 92 of file ROL_Lanczos.hpp.
|
private |
Definition at line 93 of file ROL_Lanczos.hpp.
|
private |
Definition at line 95 of file ROL_Lanczos.hpp.
|
private |
Definition at line 97 of file ROL_Lanczos.hpp.
|
private |
Definition at line 98 of file ROL_Lanczos.hpp.
|
private |
Definition at line 100 of file ROL_Lanczos.hpp.
|
private |
Definition at line 102 of file ROL_Lanczos.hpp.
Referenced by ROL::Lanczos< Real >::allocate().
|
private |
Definition at line 104 of file ROL_Lanczos.hpp.
Referenced by ROL::Lanczos< Real >::iterate(), and ROL::Lanczos< Real >::solve().
1.8.13