LFOCKSTD: Difference between revisions

From VASP Wiki
(Created page with "{{DISPLAYTITLE:LFOCKSTD}} {{TAGDEF|LFOCKSTD|[logical]|.FALSE.}} Description: {{TAG|LFOCKSTD}} uses exact one-centre density terms for the exact exchange part of the total energy and RPA forces. ---- {{NB|mind|Avaliable as of 6.5.2.}} This feature is availabe for low-scaling ACFDT/random-phase-approximation (RPA) and GW calculations, i.e. {{TAG|ALGO}}=ACFDTR, RPAR, EVGW0R, GWR. If selected, exact one-center terms in the electronic densit...")
 
m (Second round of grammar and spell checking and)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{TAGDEF|LFOCKSTD|[logical]|.FALSE.}}
{{TAGDEF|LFOCKSTD|[logical]|.FALSE.}}


Description: {{TAG|LFOCKSTD}} uses exact one-centre density terms for the exact exchange part of the total energy and RPA forces.
Description: {{TAG|LFOCKSTD}} applies to RPA and GW calculations. It forces VASP to evaluate the exact exchange fully consistent with the standard treatment in HF calculations.  
----
----
{{NB|mind|Avaliable as of 6.5.2.}}
{{NB|mind|Avaliable as of 6.5.2.}}
This feature is availabe for low-scaling [[ACFDT/RPA_calculations| ACFDT/random-phase-approximation (RPA)]] and [[GW calculations]], i.e. {{TAG|ALGO}}=ACFDTR, RPAR, EVGW0R, GWR.  
This feature is availabe for low-scaling [[ACFDT/RPA_calculations| ACFDT/random-phase-approximation (RPA)]] and [[GW calculations]], i.e. {{TAG|ALGO}}=ACFDTR, RPAR, EVGW0R, GWR.  


If selected, exact one-center terms in the electronic density for the exact exchange (EXX) component of RPA total energies and forces are selected.  
VASP typically employs shape restoration (see {{TAG|NMAXFOCKAE}} and {{TAG|LMAXFOCKAE}}) to calculate the RPA correlation energy and the exact exchange energy during RPA/GW calculations. However, this results in significant noise in the exact exchange energy and its nuclear gradients. To mitigate this issue, the {{TAG| LFOCKSTD}} option was introduced, forcing VASP to use the standard HF treatment for the exact exchange while continuing to use shape restoration for the correlation energy. This reduces the noise in energies and RPA forces, and it leads to an exact exchange energy that is fully compatible with the exact exchange energy in standard HF calculations. This means that the energy " HF-free energy      FHF" in RPA calculations is identical to the "free  energy   TOTEN " when reading the WAVECAR file and performing a single-step total energy evaluation ( ALGO = Eigenval; LFHCALC = .TRUE. ; AEXX = 1.0 ; NELM = 1). In other words, when using LFOCKSTD in RPA calculations, the exact exchange energy is fully compatible with the stepwise evaluation explained here: [[ACFDT/RPA_calculations#EXX-inline-ref|step wise computation of the total energy]].  
This restores the agreement of <code>FHF</code> with the result obtained in the [[ACFDT/RPA_calculations#EXX-inline-ref|step wise computation of the total energy]].  


It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.  
It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.  


In earlier versions, one-center density contributions of EXX can be treated only with shape and electrostatic multipole reconstruction using {{TAG|LMAXFOCKAE}}.
Note that VASP uses one-center terms to correct the exact exchange energy for the difference in shape between all-electron and pseudo orbitals. Therefore, shape restoration is neither required nor beneficial for the exact exchange term (see {{TAG|NMAXFOCKAE}} and {{TAG|LMAXFOCKAE}}).  
== Related tags and articles ==
== Related tags and articles ==
{{TAG|LRPAFORCE}}
{{TAG|LRPAFORCE}}

Latest revision as of 12:21, 4 July 2025

LFOCKSTD = [logical]
Default: LFOCKSTD = .FALSE. 

Description: LFOCKSTD applies to RPA and GW calculations. It forces VASP to evaluate the exact exchange fully consistent with the standard treatment in HF calculations.


Mind: Avaliable as of 6.5.2.

This feature is availabe for low-scaling ACFDT/random-phase-approximation (RPA) and GW calculations, i.e. ALGO=ACFDTR, RPAR, EVGW0R, GWR.

VASP typically employs shape restoration (see NMAXFOCKAE and LMAXFOCKAE) to calculate the RPA correlation energy and the exact exchange energy during RPA/GW calculations. However, this results in significant noise in the exact exchange energy and its nuclear gradients. To mitigate this issue, the LFOCKSTD option was introduced, forcing VASP to use the standard HF treatment for the exact exchange while continuing to use shape restoration for the correlation energy. This reduces the noise in energies and RPA forces, and it leads to an exact exchange energy that is fully compatible with the exact exchange energy in standard HF calculations. This means that the energy " HF-free energy      FHF" in RPA calculations is identical to the "free  energy   TOTEN " when reading the WAVECAR file and performing a single-step total energy evaluation ( ALGO = Eigenval; LFHCALC = .TRUE. ; AEXX = 1.0 ; NELM = 1). In other words, when using LFOCKSTD in RPA calculations, the exact exchange energy is fully compatible with the stepwise evaluation explained here: step wise computation of the total energy.

It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.

Note that VASP uses one-center terms to correct the exact exchange energy for the difference in shape between all-electron and pseudo orbitals. Therefore, shape restoration is neither required nor beneficial for the exact exchange term (see NMAXFOCKAE and LMAXFOCKAE).

Related tags and articles

LRPAFORCE