Description
template<typename Scalar>
class Spectra::SearchSpace< Scalar >
This class handles the creation and manipulation of the search space for iterative eigensolvers such as Davidson, Jacobi-Davidson, etc.
#include <SearchSpace.h>
Public Member Functions | |
| Index | size () const |
| Returns the current size of the search space. | |
| void | initialize_search_space (const Eigen::Ref< const Matrix > &initial_vectors) |
| template<typename OpType > | |
| void | update_operator_basis_product (OpType &op) |
| Updates the matrix formed by the operator applied to the search space after the addition of new vectors in the search space. More... | |
| void | restart (const RitzPairs< Scalar > &ritz_pairs, Index size) |
| Restart the search space by reducing the basis vector to the last Ritz eigenvector. More... | |
| void | extend_basis (const Matrix &new_vect) |
| Append new vectors to the search space and orthogonalize the resulting matrix. More... | |
| const Matrix & | basis_vectors () const |
| Returns the basis vectors. | |
| const Matrix & | operator_basis_product () const |
| Returns the operator applied to basis vector. | |
Member Function Documentation
◆ extend_basis()
|
inline |
Append new vectors to the search space and orthogonalize the resulting matrix.
- Parameters
-
new_vect Matrix of new correction vectors
◆ restart()
|
inline |
Restart the search space by reducing the basis vector to the last Ritz eigenvector.
- Parameters
-
ritz_pair Instance of a RitzPair class size Size of the restart
◆ update_operator_basis_product()
|
inline |
Updates the matrix formed by the operator applied to the search space after the addition of new vectors in the search space.
Only the product of the operator with the new vectors is computed and the result is appended to the op_basis_product member variable
- Parameters
-
OpType Operator representing the matrix
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_thirdparty/spectra/Spectra/LinAlg/RitzPairs.h
- /builds/uwsbel/chrono/src/chrono_thirdparty/spectra/Spectra/LinAlg/SearchSpace.h