Davidson solver

Main structure

Exported functions

ElemCo.DavidsonSolver.perform!Method
perform!(dav::Davidson, tvecs_nst, prods_nst, states)

Perform Davidson algorithm.

tvecs_nst and prods_nst are trial and product vectors for each state.

source

Internal functions

ElemCo.DavidsonSolver.addtrialvecs!Method
addtrialvecs!(dav::Davidson, tvecs)

Add trial vectors to Davidson object and update effective overlap matrix (in non-hermitian case).

Note: tvecs will be orthogonalized and normalized.

source
ElemCo.DavidsonSolver.update_Heff!Method
update_Heff!(dav::Davidson, tvecs, prods)

Update effective Hamiltonian matrix.

tvecs and prods are trial and product vectors (for one state) for the current iteration of Davidson algorithm (stored at dav.nDim position).

source
ElemCo.DavidsonSolver.update_Heff!Method
update_Heff!(dav::Davidson, prods)

Update effective Hamiltonian matrix (symmetrically).

prods are product vectors (for one state) for the current iteration of Davidson algorithm (stored at dav.nDim position).

source
ElemCo.DavidsonSolver.update_Seff!Method
update_Seff!(dav::Davidson, tvecs)

Update effective overlap matrix.

tvecs are trial vectors (for one state) for the current iteration of Davidson algorithm (stored at dav.nDim position).

source