Preconditioning: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The idea is to find a matrix | The idea is to find a matrix that multiplied with the residual vector gives the | ||
exact error in the wavefunction. Formally this matrix (the Greens function) can be written | exact error in the wavefunction. Formally this matrix (the Greens function) can be written | ||
down and is given by | down and is given by | ||
<math> | ::<math> | ||
\frac{1}{{\bf H} - \epsilon_n}, | \frac{1}{{\bf H} - \epsilon_n}, | ||
</math> | </math> | ||
Line 16: | Line 16: | ||
We actually use the preconditioning function proposed by Teter et. al{{cite|teter:prb:1989}} | We actually use the preconditioning function proposed by Teter et. al{{cite|teter:prb:1989}} | ||
<math> | ::<math> | ||
\langle \mathbf{G} | {\bf K} | \mathbf{G'}\rangle = \delta_{\bold{G} \mathbf{G'}} \frac{ 27 + 18 x+12 x^2 + 8x^3} | \langle \mathbf{G} | {\bf K} | \mathbf{G'}\rangle = \delta_{\bold{G} \mathbf{G'}} \frac{ 27 + 18 x+12 x^2 + 8x^3} | ||
{27 + 18x + 12x^2+8x^3 +16x^4} \quad \mbox{and} \quad | {27 + 18x + 12x^2+8x^3 +16x^4} \quad \mbox{and} \quad | ||
Line 25: | Line 25: | ||
The preconditioned residual vector is then simply | The preconditioned residual vector is then simply | ||
<math> | ::<math> | ||
| p_n \rangle = {\bf K} | R_n \rangle. | | p_n \rangle = {\bf K} | R_n \rangle. | ||
</math> | </math> | ||
Line 32: | Line 32: | ||
<references/> | <references/> | ||
---- | ---- | ||
[[Category:Electronic | [[Category:Electronic minimization]][[Category:Theory]] |
Latest revision as of 15:44, 6 April 2022
The idea is to find a matrix that multiplied with the residual vector gives the exact error in the wavefunction. Formally this matrix (the Greens function) can be written down and is given by
where is the exact eigenvalue for the band in interest. Actually the evaluation of this matrix is not possible, recognizing that the kinetic energy dominates the Hamiltonian for large -vectors (i.e. ), it is a good idea to approximate the matrix by a diagonal function which converges to for large vectors, and possess a constant value for small vectors. We actually use the preconditioning function proposed by Teter et. al[1]
with being the kinetic energy of the residual vector. The preconditioned residual vector is then simply