<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vasp.at/wiki/index.php?action=history&amp;feed=atom&amp;title=LFOCKSTD</id>
	<title>LFOCKSTD - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vasp.at/wiki/index.php?action=history&amp;feed=atom&amp;title=LFOCKSTD"/>
	<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;action=history"/>
	<updated>2026-04-15T20:23:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=33485&amp;oldid=prev</id>
		<title>Csheldon at 09:05, 29 January 2026</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=33485&amp;oldid=prev"/>
		<updated>2026-01-29T09:05:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:05, 29 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; &lt;/del&gt;HF-free energy      FHF&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; &lt;/del&gt;in RPA calculations is identical to the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;free  energy   TOTEN &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; &lt;/del&gt;when reading the WAVECAR file and performing a single-step total energy evaluation ( ALGO = Eigenval; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;LFHCALC &lt;/del&gt;= .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]].  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;HF-free energy      FHF&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;in RPA calculations is identical to the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;free  energy   TOTEN&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;when reading the WAVECAR file and performing a single-step total energy evaluation ( &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{TAG|&lt;/ins&gt;ALGO&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;= Eigenval; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{TAG|LHFCALC}} &lt;/ins&gt;= .TRUE. ; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{TAG|&lt;/ins&gt;AEXX&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;= 1.0 ; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{TAG|&lt;/ins&gt;NELM&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;= 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]].  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5.2&lt;/del&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is strongly recommended to activate &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{TAG|&lt;/ins&gt;LFOCKSTD&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;for all GW and RPA calculations starting from version 6.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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}}).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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}}).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Csheldon</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=33478&amp;oldid=prev</id>
		<title>Csheldon at 09:01, 29 January 2026</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=33478&amp;oldid=prev"/>
		<updated>2026-01-29T09:01:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:01, 29 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;NB&lt;/del&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mind|Avaliable as of &lt;/del&gt;6.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5.2&lt;/del&gt;.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Available&lt;/ins&gt;|6.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Csheldon</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=30978&amp;oldid=prev</id>
		<title>Kresse: Second round of grammar and spell checking and</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=30978&amp;oldid=prev"/>
		<updated>2025-07-04T12:21:13Z</updated>

		<summary type="html">&lt;p&gt;Second round of grammar and spell checking and&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:21, 4 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;VASP &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;usually uses &lt;/del&gt;shape restoration (see {{TAG|NMAXFOCKAE}} and {{TAG|LMAXFOCKAE}}) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for &lt;/del&gt;the RPA correlation energy and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the evaluation of &lt;/del&gt;the exact exchange during RPA/GW calculations. However, this results in significant noise in the exact exchange energy and its nuclear gradients. To mitigate this, LFOCKSTD 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 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;force &lt;/del&gt;and leads to an exact exchange energy that is fully compatible with the exact exchange energy in standard HF calculations.  This means that the energy &quot; HF-free energy      FHF&quot; in RPA calculations is identical to the &quot;free  energy   TOTEN &quot; 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, using LFOCKSTD in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;RPA, 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]].  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;VASP &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;typically employs &lt;/ins&gt;shape restoration (see {{TAG|NMAXFOCKAE}} and {{TAG|LMAXFOCKAE}}) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to calculate &lt;/ins&gt;the RPA correlation energy and the exact exchange &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;energy &lt;/ins&gt;during RPA/GW calculations. However, this results in significant noise in the exact exchange energy and its nuclear gradients. To mitigate this &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;issue&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the {{TAG| &lt;/ins&gt;LFOCKSTD&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} option &lt;/ins&gt;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 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;forces, &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;it &lt;/ins&gt;leads to an exact exchange energy that is fully compatible with the exact exchange energy in standard HF calculations.  This means that the energy &quot; HF-free energy      FHF&quot; in RPA calculations is identical to the &quot;free  energy   TOTEN &quot; 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, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;when &lt;/ins&gt;using LFOCKSTD in RPA &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;calculations&lt;/ins&gt;, 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]].  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;not &lt;/del&gt;required &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/del&gt;beneficial for the exact exchange term (see {{TAG|NMAXFOCKAE}} and {{TAG|LMAXFOCKAE}}).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;neither &lt;/ins&gt;required &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nor &lt;/ins&gt;beneficial for the exact exchange term (see {{TAG|NMAXFOCKAE}} and {{TAG|LMAXFOCKAE}}).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Related tags and articles ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Related tags and articles ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TAG|LRPAFORCE}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TAG|LRPAFORCE}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kresse</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=30977&amp;oldid=prev</id>
		<title>Kresse: Imroved wording and spell checking</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=30977&amp;oldid=prev"/>
		<updated>2025-07-04T12:17:34Z</updated>

		<summary type="html">&lt;p&gt;Imroved wording and spell checking&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:17, 4 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Usually &lt;/del&gt;VASP uses shape restoration (see NMAXFOCKAE and LMAXFOCKAE) for the RPA correlation &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;contributions as well as for &lt;/del&gt;the evaluation of the exact exchange during RPA/GW calculations. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This however &lt;/del&gt;results in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;signficant &lt;/del&gt;noise &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;which is particularly pronounced for &lt;/del&gt;the exact exchange. To mitigate this &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;issue&lt;/del&gt;, LFOCKSTD was introduced&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: it forces &lt;/del&gt;VASP to use the standard HF&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/del&gt;treatment for the exact exchange&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, but continues &lt;/del&gt;to use shape restoration for the correlation &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;contributions&lt;/del&gt;. This &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;not only &lt;/del&gt;reduces the noise in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;force&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, but also &lt;/del&gt;leads to an exact exchange energy that is fully compatible &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wiht &lt;/del&gt;the exact exchange &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;contribution &lt;/del&gt;in standard HF calculations &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/del&gt;that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is &lt;/del&gt;the energy &quot; HF-free energy      FHF&quot; in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;RPA calculations is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;idential &lt;/del&gt;to the &quot;free  energy   TOTEN &quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for &lt;/del&gt;when reading the WAVECAR file and performing a single step total energy &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;calculation &lt;/del&gt;( ALGO = Eigenval; LFHCALC = .TRUE. ; AEXX = 1.0 ; NELM = 1). &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This means that this restores &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;agreement of &amp;lt;code&amp;gt;FHF&amp;lt;/code&amp;gt; &lt;/del&gt;with the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;result obtained in the &lt;/del&gt;[[ACFDT/RPA_calculations#EXX-inline-ref|step wise computation of the total energy]].  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;VASP &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;usually &lt;/ins&gt;uses shape restoration (see &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{TAG|&lt;/ins&gt;NMAXFOCKAE&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{TAG|&lt;/ins&gt;LMAXFOCKAE&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;) for the RPA correlation &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;energy and &lt;/ins&gt;the evaluation of the exact exchange during RPA/GW calculations. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;However, this &lt;/ins&gt;results in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;significant &lt;/ins&gt;noise &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in &lt;/ins&gt;the exact exchange &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;energy and its nuclear gradients&lt;/ins&gt;. To mitigate this, LFOCKSTD was introduced&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, forcing &lt;/ins&gt;VASP to use the standard HF treatment for the exact exchange &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;while continuing &lt;/ins&gt;to use shape restoration for the correlation &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;energy&lt;/ins&gt;. This reduces the noise in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;energies and RPA &lt;/ins&gt;force &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &lt;/ins&gt;leads to an exact exchange energy that is fully compatible &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with &lt;/ins&gt;the exact exchange &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;energy &lt;/ins&gt;in standard HF calculations&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.  This means &lt;/ins&gt;that the energy &quot; HF-free energy      FHF&quot; in RPA calculations is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;identical &lt;/ins&gt;to the &quot;free  energy   TOTEN &quot; when reading the WAVECAR file and performing a single&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/ins&gt;step total energy &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;evaluation &lt;/ins&gt;( ALGO = Eigenval; LFHCALC = .TRUE. ; AEXX = 1.0 ; NELM = 1). &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In other words, using LFOCKSTD in the RPA, &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;exact exchange energy is fully compatible &lt;/ins&gt;with the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;stepwise evaluation explained here: &lt;/ins&gt;[[ACFDT/RPA_calculations#EXX-inline-ref|step wise computation of the total energy]].  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In earlier versions, &lt;/del&gt;one-center &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;density contributions of EXX can be treated only with &lt;/del&gt;shape and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;electrostatic multipole reconstruction using &lt;/del&gt;{{TAG|LMAXFOCKAE}}.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note that VASP uses &lt;/ins&gt;one-center &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;terms to correct the exact exchange energy for the difference in shape between all-electron and pseudo orbitals. Therefore, &lt;/ins&gt;shape &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;restoration is not required or beneficial for the exact exchange term (see {{TAG|NMAXFOCKAE}} &lt;/ins&gt;and {{TAG|LMAXFOCKAE}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Related tags and articles ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Related tags and articles ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TAG|LRPAFORCE}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TAG|LRPAFORCE}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kresse</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=30976&amp;oldid=prev</id>
		<title>Kresse: Somewhat more pedagogical description.</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=30976&amp;oldid=prev"/>
		<updated>2025-07-04T12:03:31Z</updated>

		<summary type="html">&lt;p&gt;Somewhat more pedagogical description.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:03, 4 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TAGDEF|LFOCKSTD|[logical]|.FALSE.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TAGDEF|LFOCKSTD|[logical]|.FALSE.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Description: {{TAG|LFOCKSTD}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uses exact one-centre density terms for &lt;/del&gt;the exact exchange &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;part of &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;total energy and RPA forces&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Description: {{TAG|LFOCKSTD}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;applies to RPA and GW calculations. It forces VASP to evaluate &lt;/ins&gt;the exact exchange &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fully consistent with &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;standard treatment in HF calculations&lt;/ins&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NB|mind|Avaliable as of 6.5.2.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NB|mind|Avaliable as of 6.5.2.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;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.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If selected&lt;/del&gt;, exact &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;one-center terms &lt;/del&gt;in the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;electronic density for &lt;/del&gt;the exact exchange (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;EXX) component of &lt;/del&gt;RPA total &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;energies and forces are selected&lt;/del&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Usually VASP uses shape restoration (see NMAXFOCKAE and LMAXFOCKAE) for the RPA correlation contributions as well as for the evaluation of the exact exchange during RPA/GW calculations. This however results in signficant noise which is particularly pronounced for the exact exchange. To mitigate this issue&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;LFOCKSTD was introduced: it forces VASP to use the standard HF-treatment for the &lt;/ins&gt;exact &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;exchange, but continues to use shape restoration for the correlation contributions. This not only reduces the noise &lt;/ins&gt;in the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;force, but also leads to an exact exchange energy that is fully compatible wiht &lt;/ins&gt;the exact exchange &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;contribution in standard HF calculations &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that is the energy &quot; HF-free energy      FHF&quot; in the &lt;/ins&gt;RPA &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;calculations is idential to the &quot;free  energy   TOTEN &quot; for when reading the WAVECAR file and performing a single step &lt;/ins&gt;total &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;energy calculation ( ALGO = Eigenval; LFHCALC = .TRUE. ; AEXX = 1.0 ; NELM = 1)&lt;/ins&gt;. This &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;means that this &lt;/ins&gt;restores the agreement of &amp;lt;code&amp;gt;FHF&amp;lt;/code&amp;gt; with the result obtained in the [[ACFDT/RPA_calculations#EXX-inline-ref|step wise computation of the total energy]].  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This restores the agreement of &amp;lt;code&amp;gt;FHF&amp;lt;/code&amp;gt; with the result obtained in the [[ACFDT/RPA_calculations#EXX-inline-ref|step wise computation of the total energy]].  &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kresse</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=30680&amp;oldid=prev</id>
		<title>Kaltakm: Created page with &quot;{{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...&quot;</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LFOCKSTD&amp;diff=30680&amp;oldid=prev"/>
		<updated>2025-05-02T13:00:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{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 &lt;a href=&quot;/wiki/ACFDT/RPA_calculations&quot; title=&quot;ACFDT/RPA calculations&quot;&gt; ACFDT/random-phase-approximation (RPA)&lt;/a&gt; and &lt;a href=&quot;/wiki/GW_calculations&quot; class=&quot;mw-redirect&quot; title=&quot;GW calculations&quot;&gt;GW calculations&lt;/a&gt;, i.e. {{TAG|ALGO}}=ACFDTR, RPAR, EVGW0R, GWR.   If selected, exact one-center terms in the electronic densit...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:LFOCKSTD}}&lt;br /&gt;
{{TAGDEF|LFOCKSTD|[logical]|.FALSE.}}&lt;br /&gt;
&lt;br /&gt;
Description: {{TAG|LFOCKSTD}} uses exact one-centre density terms for the exact exchange part of the total energy and RPA forces.&lt;br /&gt;
----&lt;br /&gt;
{{NB|mind|Avaliable as of 6.5.2.}}&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
If selected, exact one-center terms in the electronic density for the exact exchange (EXX) component of RPA total energies and forces are selected. &lt;br /&gt;
This restores the agreement of &amp;lt;code&amp;gt;FHF&amp;lt;/code&amp;gt; with the result obtained in the [[ACFDT/RPA_calculations#EXX-inline-ref|step wise computation of the total energy]]. &lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to activate LFOCKSTD for all GW and RPA calculations starting from version 6.5.2. &lt;br /&gt;
&lt;br /&gt;
In earlier versions, one-center density contributions of EXX can be treated only with shape and electrostatic multipole reconstruction using {{TAG|LMAXFOCKAE}}.&lt;br /&gt;
== Related tags and articles ==&lt;br /&gt;
{{TAG|LRPAFORCE}}&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Category:INCAR tag]][[Category:Many-body perturbation theory]][[Category:GW]] [[Category:ACFDT]][[Category:Low-scaling GW and RPA]]&lt;/div&gt;</summary>
		<author><name>Kaltakm</name></author>
	</entry>
</feed>