NKRED: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{TAGDEF|NKRED|[integer]|1}}
{{TAGDEF|NKRED|[integer]|1}}


Description: {{TAG|NKRED}} specifies an uniform reduction factor for the '''q'''-point grid representation of the exact exchange potential.
Description: {{TAG|NKRED}} specifies an uniform reduction factor for the '''q'''-point grid representation of the exact exchange potential and the correlation part in GW calculations.
----
----
One may restrict the sum over '''q''' in the [[Hartree-Fock_and_HF/DFT_hybrid_functionals#VxFock|Fock exchange potential]] (or one of its [[Hartree-Fock_and_HF/DFT_hybrid_functionals#VxFockSR|short range counterparts]]) to a subset, {'''q'''<sub>'''k'''</sub>}, of the full (''N''<sub> 1</sub>&times;''N''<sub> 2</sub>&times;''N''<sub> 3</sub>)  '''k'''-point set, {'''k'''}, for which the following holds
One may restrict the sum over '''q''' in the [[Hybrid functionals: formalism|Fock exchange potential]] (or one of its short range counterparts) to a subset, {'''q'''<sub>'''k'''</sub>}, of the full (''N''<sub>1</sub>&times;''N''<sub>2</sub>&times;''N''<sub>3</sub>)  '''k'''-point set, {'''k'''}, for which the following holds


:<math>
:<math>
Line 11: Line 11:


where '''b'''<sub>1,2,3</sub> are the reciprocal lattice vectors of the primitive cell,
where '''b'''<sub>1,2,3</sub> are the reciprocal lattice vectors of the primitive cell,
and ''C''<sub> i</sub> is the integer grid reduction factor along reciprocal lattice direction
and ''C''<sub>i</sub> is the integer grid reduction factor along reciprocal lattice direction
'''b'''<sub> i</sub>. This leads to a reduction in the computational workload by a factor:
'''b'''<sub>i</sub>. This leads to a reduction in the computational workload by a factor:


:<math>
:<math>
Line 18: Line 18:
</math>
</math>


In case one sets {{TAG|NKRED}}, the grid reduction factors will be uniformly set to ''C''<sub> 1</sub>=''C''<sub> 2</sub>=''C''<sub> 3</sub>={{TAG|NKRED}}. If one wants to specify separate grid reduction factors for ''C''<sub> 1</sub>, ''C''<sub> 2</sub>, and ''C''<sub> 3</sub> one should use ''C''<sub> 1</sub>={{TAG|NKREDX}}, ''C''<sub> 2</sub>={{TAG|NKREDY}}, and ''C''<sub> 3</sub>={{TAG|NKREDZ}}, respectively.
In case one sets {{TAG|NKRED}}, the grid reduction factors will be uniformly set to ''C''<sub>1</sub>=''C''<sub>2</sub>=''C''<sub>3</sub>={{TAG|NKRED}}. If one wants to specify separate grid reduction factors for ''C''<sub>1</sub>, ''C''<sub>2</sub>, and ''C''<sub>3</sub> one should use ''C''<sub>1</sub>={{TAG|NKREDX}}, ''C''<sub>2</sub>={{TAG|NKREDY}}, and ''C''<sub>3</sub>={{TAG|NKREDZ}}, respectively.


== Related Tags and Sections ==
This flag also applies to GW and RPA calculations with a similar speedup. In GW and RPA type calculations,
analogously to hybrid functional calculations the outermost loop over the momentum transfer '''q'''
is reduced to a subgrid specified by the {{TAG|NKRED}} parameters.
 
{{NB|warning|[[Downsampling_of_the_Hartree-Fock_operator#Caveat: when one should not use downsampling|there are circumstances under which '''NKRED''' and '''NKREDX''','''Y''','''Z''' should not be used!]]}}
 
== Related tags and articles ==
{{TAG|NKREDX}},
{{TAG|NKREDX}},
{{TAG|NKREDY}},
{{TAG|NKREDY}},
Line 26: Line 32:
{{TAG|EVENONLY}},
{{TAG|EVENONLY}},
{{TAG|ODDONLY}},
{{TAG|ODDONLY}},
[[Hartree-Fock_and_HF/DFT_hybrid_functionals#downsampling|downsampling]],
[[Downsampling of the Hartree-Fock operator|downsampling]]
[[Hartree-Fock_and_HF/DFT_hybrid_functionals]]
 
{{sc|NKRED|Examples|Examples that use this tag}}
----
----
[[The_VASP_Manual|Contents]]


[[Category:INCAR]][[Category:Hybrids]]
[[Category:INCAR tag]][[Category:Exchange-correlation functionals]][[Category:Hybrid_functionals]][[Category:Many-body perturbation theory]][[Category:GW]]

Latest revision as of 12:03, 18 October 2023

NKRED = [integer]
Default: NKRED = 1 

Description: NKRED specifies an uniform reduction factor for the q-point grid representation of the exact exchange potential and the correlation part in GW calculations.


One may restrict the sum over q in the Fock exchange potential (or one of its short range counterparts) to a subset, {qk}, of the full (N1×N2×N3) k-point set, {k}, for which the following holds

where b1,2,3 are the reciprocal lattice vectors of the primitive cell, and Ci is the integer grid reduction factor along reciprocal lattice direction bi. This leads to a reduction in the computational workload by a factor:

In case one sets NKRED, the grid reduction factors will be uniformly set to C1=C2=C3=NKRED. If one wants to specify separate grid reduction factors for C1, C2, and C3 one should use C1=NKREDX, C2=NKREDY, and C3=NKREDZ, respectively.

This flag also applies to GW and RPA calculations with a similar speedup. In GW and RPA type calculations, analogously to hybrid functional calculations the outermost loop over the momentum transfer q is reduced to a subgrid specified by the NKRED parameters.


Warning: there are circumstances under which NKRED and NKREDX,Y,Z should not be used!

Related tags and articles

NKREDX, NKREDY, NKREDZ, EVENONLY, ODDONLY, downsampling

Examples that use this tag