|
votca 2026-dev
|
#include <diis.h>

Public Member Functions | |
| void | Update (Index maxerrorindex, const Eigen::MatrixXd &errormatrix) |
| void | Update (Index maxerrorindex, const Eigen::MatrixXd &errormatrix_alpha, const Eigen::MatrixXd &errormatrix_beta) |
| Eigen::VectorXd | CalcCoeff () |
| void | setHistLength (Index length) |
| bool | Info () |
Private Attributes | |
| bool | success = true |
| Index | histlength_ |
| std::vector< std::vector< double > > | Diis_Bs_ |
| std::vector< Eigen::MatrixXd > | errormatrixhist_ |
| std::vector< Eigen::MatrixXd > | errormatrixhist_alpha_ |
| std::vector< Eigen::MatrixXd > | errormatrixhist_beta_ |
Pulay direct inversion in the iterative subspace.
The class stores recent commutator error matrices and solves the augmented linear DIIS system to obtain extrapolation coefficients for the next Fock guess.
| Eigen::VectorXd votca::xtp::DIIS::CalcCoeff | ( | ) |
|
inline |
|
inline |
| void votca::xtp::DIIS::Update | ( | Index | maxerrorindex, |
| const Eigen::MatrixXd & | errormatrix ) |
Store a new restricted-spin DIIS error matrix and update the B matrix history.
Pulay DIIS implementation.
The method stores recent commutator error matrices e_i and solves an augmented linear system built from B_ij = <e_i, e_j>. The resulting coefficients define the extrapolated Fock matrix F' = sum_i c_i F_i.
| void votca::xtp::DIIS::Update | ( | Index | maxerrorindex, |
| const Eigen::MatrixXd & | errormatrix_alpha, | ||
| const Eigen::MatrixXd & | errormatrix_beta ) |
|
private |
|
private |
|
private |
|
private |