LANCZOSTHR: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{NB|deprecated|This feature is deprecated and will be removed in a future release. Please use {{TAG|BSEPREC}} instead.}}
{{TAGDEF|LANCZOSTHR|[real]|<math>10^{-3}</math>}}
{{TAGDEF|LANCZOSTHR|[real]|<math>10^{-3}</math>}}



Latest revision as of 12:42, 16 October 2025

Deprecated: This feature is deprecated and will be removed in a future release. Please use BSEPREC instead.

LANCZOSTHR = [real]
Default: LANCZOSTHR = [math]\displaystyle{ 10^{-3} }[/math] 

Description: LANCZOSTHR is used by the BSE Lanczos algorithm to stop the iterative procedure, once the dielectric function has reached numerical convergence.


The difference between the dielectric function at two consecutive iterations, [math]\displaystyle{ i }[/math] and [math]\displaystyle{ i+1 }[/math], is computed as root-mean-square over the frequency grid

[math]\displaystyle{ \mathrm{RMS}[\epsilon] = \sqrt{\sum_{j=1}^N\frac{1}{N}\left[\epsilon_{i}(\omega_j)-\epsilon_{i+1}(\omega_j)\right]^2} }[/math]

and once [math]\displaystyle{ \mathrm{RMS}[\epsilon]\lt = }[/math]LANCZOSTHR the iterative algorithm stops.

Related tag and articles

BSE, BSE calculations, Bethe-Salpeter equations