BSEPREC: Difference between revisions

From VASP Wiki
No edit summary
Line 23: Line 23:


==Lanczos algorithm==
==Lanczos algorithm==
{{NB|mind|Replaces {{TAG|LANCZOSTHR}} as of version 6.5.1}}
The Lanczos algorithm stops once the imaginary part of the dielectric function computed in two consecutive iterations differs bellow a certain threshold for the root-mean-square, i.e. once after <math>n</math> iterations the value of  
The Lanczos algorithm stops once the imaginary part of the dielectric function computed in two consecutive iterations differs bellow a certain threshold for the root-mean-square, i.e. once after <math>n</math> iterations the value of  



Revision as of 12:43, 16 October 2025

BSEPREC = Low | Medium | High | Accurate
Default: BSEPREC = Medium 

Description: Determines the precision of the time-evolution algorithm, where it controls the timestep and the number of steps, and the precision of the Lanczos algorithms, where it sets the convergence threshold for the dielectric function.


Time-evolution algorithm

The timestep in the time-evolution calculation is inversely proportional to the maximum transition energy OMEGAMAX and the number of steps is inversely proportional to the broadening CSHIFT. Depending on the BSEPREC stable these parameters are scaled depending on the precision tag BSEPREC.

BSEPREC OMEGAMAX CSHIFT
Accurate (a) [math]\displaystyle{ \times 4 }[/math] [math]\displaystyle{ \times 1/10 }[/math]
High (h) [math]\displaystyle{ \times 3 }[/math] [math]\displaystyle{ \times 1/7.5 }[/math]
Medium (m) [math]\displaystyle{ \times 2.5 }[/math] [math]\displaystyle{ \times1/6.25 }[/math]
Low (l) [math]\displaystyle{ \times 2 }[/math] [math]\displaystyle{ \times1/5 }[/math]

For example, the number of steps [math]\displaystyle{ N_{\rm steps} }[/math] for BSEPREC = Low can be found via [math]\displaystyle{ N_{\rm steps}=\frac{{\rm OMEGAMAX}\times 2}{{\rm CSHIFT}/5} }[/math]

Lanczos algorithm

Mind: Replaces LANCZOSTHR as of version 6.5.1

The Lanczos algorithm stops once the imaginary part of the dielectric function computed in two consecutive iterations differs bellow a certain threshold for the root-mean-square, i.e. once after [math]\displaystyle{ n }[/math] iterations the value of

[math]\displaystyle{ \mathrm{RMS}[\epsilon_n] = \sqrt{\frac{1}{N_\omega}\sum_{i=1}^{N_\omega}\left(\Im[\epsilon_n(\omega_i)]-\Im[\epsilon_{n-1}(\omega_i)]\right)^2} }[/math]

is below a certain value defined by BSEPREC.

BSEPREC [math]\displaystyle{ \mathrm{RMS}[\epsilon_n] }[/math]
Accurate (a) [math]\displaystyle{ 10^{-5} }[/math]
High (h) [math]\displaystyle{ 10^{-4} }[/math]
Medium (m) [math]\displaystyle{ 10^{-3} }[/math]
Low (l) [math]\displaystyle{ 10^{-2} }[/math]

To prevent the algorithm from being too slow, the number of frequencies during the convergence loop is set to [math]\displaystyle{ N_\omega }[/math] = INT(SQRT(NOMEGA)), where NOMEGA is set in the INCAR.

Related tag and articles

IBSE, NBANDSV, NBANDSO, CSHIFT, OMEGAMAX, BSE calculations, Time-dependent density-functional theory calculations, Bethe-Salpeter equations