<?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=LDMATRIX</id>
	<title>LDMATRIX - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vasp.at/wiki/index.php?action=history&amp;feed=atom&amp;title=LDMATRIX"/>
	<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;action=history"/>
	<updated>2026-04-10T17:41:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=32893&amp;oldid=prev</id>
		<title>Singraber at 08:10, 24 October 2025</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=32893&amp;oldid=prev"/>
		<updated>2025-10-24T08:10:16Z</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 08:10, 24 October 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-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;----&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;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;To compute the zero-field-splitting (ZFS) tensor due to spin-spin interactions in a collinear magnetic calculation ({{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAGO&lt;/del&gt;|ISPIN|2}}), set:&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;To compute the zero-field-splitting (ZFS) tensor due to spin-spin interactions in a collinear magnetic calculation ({{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAG&lt;/ins&gt;|ISPIN|2}}), set:&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;   {{TAGBL|LDMATRIX}} = True&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;   {{TAGBL|LDMATRIX}} = True&lt;/div&gt;&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-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&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;The ZFS arises from spin-spin interactions between unpaired electrons in a high-spin state with a total spin &amp;lt;math&amp;gt; S \geq 1 &amp;lt;/math&amp;gt;. The ZFS matrix, also called D matrix, is measured in electron-spin resonance (ESR) experiments and provides insights into the local electronic environment of defect centers.&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;The ZFS arises from spin-spin interactions between unpaired electrons in a high-spin state with a total spin &amp;lt;math&amp;gt; S \geq 1 &amp;lt;/math&amp;gt;. The ZFS matrix, also called D matrix, is measured in electron-spin resonance (ESR) experiments and provides insights into the local electronic environment of defect centers.&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;The implementation follows the formalism of Rayson and Briddon (2008){{Cite|rayson:prb:2008}}, which efficiently evaluates the spin-spin interaction within periodic density-functional theory (DFT) using reciprocal space methods. This approach avoids expensive six-dimensional real-space integrations, leading to a stable and computationally efficient method. The expressions are similar to integrals used to evaluate the exact exchange energies for [[:Category:Hybrid functionals|hybrid and HF-type calculation]], hence VASP sets {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAGO&lt;/del&gt;|LHFCALC|True}}. This still allows for simple DFT calculations ({{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAGO&lt;/del&gt;|AEXX|0.0}} default), however mind that the default symmetrization is {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAGO&lt;/del&gt;|ISYM|3}}. {{TAG|LDMATRIX}} should not be combined with {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAGO&lt;/del&gt;|ISYM|1}}, or &amp;lt;code&amp;gt;2&amp;lt;/code&amp;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;The implementation follows the formalism of Rayson and Briddon (2008){{Cite|rayson:prb:2008}}, which efficiently evaluates the spin-spin interaction within periodic density-functional theory (DFT) using reciprocal space methods. This approach avoids expensive six-dimensional real-space integrations, leading to a stable and computationally efficient method. The expressions are similar to integrals used to evaluate the exact exchange energies for [[:Category:Hybrid functionals|hybrid and HF-type calculation]], hence VASP sets {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAG&lt;/ins&gt;|LHFCALC|True}}. This still allows for simple DFT calculations ({{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAG&lt;/ins&gt;|AEXX|0.0}} default), however mind that the default symmetrization is {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAG&lt;/ins&gt;|ISYM|3}}. {{TAG|LDMATRIX}} should not be combined with {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAG&lt;/ins&gt;|ISYM|1}}, or &amp;lt;code&amp;gt;2&amp;lt;/code&amp;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;== Output ==&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;== Output ==&lt;/div&gt;&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-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&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;* [[Choosing pseudopotentials|Choice of PAW potentials]]: The ZFS tensor values can be sensitive to the specific [[:Category:Pseudopotentials|PAW potential]] used, as different [[:Category:Pseudopotentials|pseudopotentials]] include varying number of electrons in the valence. In particular, it is crucial that the states that give rise to the magnetic moment are included.&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;* [[Choosing pseudopotentials|Choice of PAW potentials]]: The ZFS tensor values can be sensitive to the specific [[:Category:Pseudopotentials|PAW potential]] used, as different [[:Category:Pseudopotentials|pseudopotentials]] include varying number of electrons in the valence. In particular, it is crucial that the states that give rise to the magnetic moment are included.&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|NUPDOWN}} tag can be used to obtain a high-spin state.&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|NUPDOWN}} tag can be used to obtain a high-spin state.&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;* The {{TAG|LDMATRIX}} implementation is best tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. A bug for &amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; with {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAGO&lt;/del&gt;|NCORE|1|op=&amp;gt;}} has been fixed, see [[Known_issues#KnownIssue33a|D-matrix broken for vasp_gam]].&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;* The {{TAG|LDMATRIX}} implementation is best tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. A bug for &amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; with {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAG&lt;/ins&gt;|NCORE|1|op=&amp;gt;}} has been fixed, see [[Known_issues#KnownIssue33a|D-matrix broken for vasp_gam]].&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|warning| {{TAG|LDMATRIX}} cannot be used with noncollinear magnetic calculations ({{TAG|LNONCOLLINEAR}} and/or {{TAG|LSORBIT}}).|:}}&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|warning| {{TAG|LDMATRIX}} cannot be used with noncollinear magnetic calculations ({{TAG|LNONCOLLINEAR}} and/or {{TAG|LSORBIT}}).|:}}&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;* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; included in the default VASP version but can be implemented manually. See forum discussion: https://vasp.at/forum/viewtopic.php?p=29801p29801&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;* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; included in the default VASP version but can be implemented manually. See forum discussion: https://vasp.at/forum/viewtopic.php?p=29801p29801&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Singraber</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28072&amp;oldid=prev</id>
		<title>Huebsch at 08:53, 11 February 2025</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28072&amp;oldid=prev"/>
		<updated>2025-02-11T08:53:06Z</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 08:53, 11 February 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-l42&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&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|NUPDOWN}} tag can be used to obtain a high-spin state.&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|NUPDOWN}} tag can be used to obtain a high-spin state.&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;* The {{TAG|LDMATRIX}} implementation is best tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. A bug for &amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; with {{TAGO|NCORE|1|op=&amp;gt;}} has been fixed, see [[Known_issues#KnownIssue33a|D-matrix broken for vasp_gam]].&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;* The {{TAG|LDMATRIX}} implementation is best tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. A bug for &amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; with {{TAGO|NCORE|1|op=&amp;gt;}} has been fixed, see [[Known_issues#KnownIssue33a|D-matrix broken for vasp_gam]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;{{NB|warning| {{TAG|LDMATRIX}} cannot be used with noncollinear magnetic calculations ({{TAG|LNONCOLLINEAR}} and/or {{TAG|LSORBIT}}).|:}}&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;* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; included in the default VASP version but can be implemented manually. See forum discussion: https://vasp.at/forum/viewtopic.php?p=29801p29801&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;* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; included in the default VASP version but can be implemented manually. See forum discussion: https://vasp.at/forum/viewtopic.php?p=29801p29801&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>Huebsch</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28071&amp;oldid=prev</id>
		<title>Huebsch at 08:39, 11 February 2025</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28071&amp;oldid=prev"/>
		<updated>2025-02-11T08:39:25Z</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 08:39, 11 February 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-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&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;* [[Choosing pseudopotentials|Choice of PAW potentials]]: The ZFS tensor values can be sensitive to the specific [[:Category:Pseudopotentials|PAW potential]] used, as different [[:Category:Pseudopotentials|pseudopotentials]] include varying number of electrons in the valence. In particular, it is crucial that the states that give rise to the magnetic moment are included.&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;* [[Choosing pseudopotentials|Choice of PAW potentials]]: The ZFS tensor values can be sensitive to the specific [[:Category:Pseudopotentials|PAW potential]] used, as different [[:Category:Pseudopotentials|pseudopotentials]] include varying number of electrons in the valence. In particular, it is crucial that the states that give rise to the magnetic moment are included.&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|NUPDOWN}} tag can be used to obtain a high-spin state.&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|NUPDOWN}} tag can be used to obtain a high-spin state.&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;* The {{TAG|LDMATRIX}} implementation is best tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. A bug for &amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; with {{TAGO|NCORE|1|op=&amp;gt;}} has been fixed, see [[Known_issues#&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;KnownIssue33&lt;/del&gt;|D-matrix broken for vasp_gam]].&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;* The {{TAG|LDMATRIX}} implementation is best tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. A bug for &amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; with {{TAGO|NCORE|1|op=&amp;gt;}} has been fixed, see [[Known_issues#&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;KnownIssue33a&lt;/ins&gt;|D-matrix broken for vasp_gam]].&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;* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; included in the default VASP version but can be implemented manually. See forum discussion: https://vasp.at/forum/viewtopic.php?p=29801p29801&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;* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; included in the default VASP version but can be implemented manually. See forum discussion: https://vasp.at/forum/viewtopic.php?p=29801p29801&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>Huebsch</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28069&amp;oldid=prev</id>
		<title>Huebsch: Huebsch moved page Construction:LDMATRIX to LDMATRIX without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28069&amp;oldid=prev"/>
		<updated>2025-02-11T08:33:46Z</updated>

		<summary type="html">&lt;p&gt;Huebsch moved page &lt;a href=&quot;/wiki/index.php?title=Construction:LDMATRIX&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Construction:LDMATRIX (page does not exist)&quot;&gt;Construction:LDMATRIX&lt;/a&gt; to &lt;a href=&quot;/wiki/LDMATRIX&quot; title=&quot;LDMATRIX&quot;&gt;LDMATRIX&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:33, 11 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Huebsch</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28068&amp;oldid=prev</id>
		<title>Huebsch at 08:33, 11 February 2025</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28068&amp;oldid=prev"/>
		<updated>2025-02-11T08:33:29Z</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 08:33, 11 February 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-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&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;== References ==&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;== References ==&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;&amp;lt;!--&lt;/del&gt;[[Category:INCAR tag]][[Category:Electronic ground-state properties]][[Category:Magnetism]]&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;[[Category:INCAR tag]][[Category:Electronic ground-state properties]][[Category:Magnetism]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Huebsch</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28067&amp;oldid=prev</id>
		<title>Huebsch at 08:32, 11 February 2025</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28067&amp;oldid=prev"/>
		<updated>2025-02-11T08:32:56Z</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 08:32, 11 February 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-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&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;* [[Choosing pseudopotentials|Choice of PAW potentials]]: The ZFS tensor values can be sensitive to the specific [[:Category:Pseudopotentials|PAW potential]] used, as different [[:Category:Pseudopotentials|pseudopotentials]] include varying number of electrons in the valence. In particular, it is crucial that the states that give rise to the magnetic moment are included.&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;* [[Choosing pseudopotentials|Choice of PAW potentials]]: The ZFS tensor values can be sensitive to the specific [[:Category:Pseudopotentials|PAW potential]] used, as different [[:Category:Pseudopotentials|pseudopotentials]] include varying number of electrons in the valence. In particular, it is crucial that the states that give rise to the magnetic moment are included.&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|NUPDOWN}} tag can be used to obtain a high-spin state.&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|NUPDOWN}} tag can be used to obtain a high-spin state.&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;* The {{TAG|LDMATRIX}} implementation is tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Using &lt;/del&gt;&amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; has been &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;found to yield incorrect results due to missing integral evaluations&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;* The {{TAG|LDMATRIX}} implementation is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;best &lt;/ins&gt;tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A bug for &lt;/ins&gt;&amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with {{TAGO|NCORE|1|op=&amp;gt;}} &lt;/ins&gt;has been &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fixed, see [[Known_issues#KnownIssue33|D-matrix broken for vasp_gam]]&lt;/ins&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;* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &#039;&#039;not&#039;&#039; included in the default VASP version but can be implemented manually. See forum discussion: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;https://vasp.at/forum/viewtopic.php?p=29801p29801&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&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;* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &#039;&#039;not&#039;&#039; included in the default VASP version but can be implemented manually. See forum discussion: https://vasp.at/forum/viewtopic.php?p=29801p29801&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;== Related tags an 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 an articles ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Huebsch</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28063&amp;oldid=prev</id>
		<title>Huebsch at 08:06, 11 February 2025</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28063&amp;oldid=prev"/>
		<updated>2025-02-11T08:06:10Z</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 08:06, 11 February 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-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&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;The ZFS arises from spin-spin interactions between unpaired electrons in a high-spin state with a total spin &amp;lt;math&amp;gt; S \geq 1 &amp;lt;/math&amp;gt;. The ZFS matrix, also called D matrix, is measured in electron-spin resonance (ESR) experiments and provides insights into the local electronic environment of defect centers.&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;The ZFS arises from spin-spin interactions between unpaired electrons in a high-spin state with a total spin &amp;lt;math&amp;gt; S \geq 1 &amp;lt;/math&amp;gt;. The ZFS matrix, also called D matrix, is measured in electron-spin resonance (ESR) experiments and provides insights into the local electronic environment of defect centers.&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;The implementation follows the formalism of Rayson and Briddon (2008){{Cite|rayson:prb:2008}}, which efficiently evaluates the spin-spin interaction within periodic density-functional theory (DFT) using reciprocal space methods. This approach avoids expensive six-dimensional real-space integrations, leading to a stable and computationally efficient method. The expressions are similar to integrals used to evaluate the exact exchange energies for [[:Category:Hybrid functionals|hybrid and HF-type calculation]], hence VASP sets {{TAGO|LHFCALC|True}}. This still allows for simple DFT calculations ({{TAGO|AEXX|0.0}} default), however mind that the default symmetrization is {{TAGO|ISYM|3}}. {{TAG|LDMATRIX}} should not be combined with {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAG&lt;/del&gt;|ISYM|1}}, or &amp;lt;code&amp;gt;2&amp;lt;/code&amp;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;The implementation follows the formalism of Rayson and Briddon (2008){{Cite|rayson:prb:2008}}, which efficiently evaluates the spin-spin interaction within periodic density-functional theory (DFT) using reciprocal space methods. This approach avoids expensive six-dimensional real-space integrations, leading to a stable and computationally efficient method. The expressions are similar to integrals used to evaluate the exact exchange energies for [[:Category:Hybrid functionals|hybrid and HF-type calculation]], hence VASP sets {{TAGO|LHFCALC|True}}. This still allows for simple DFT calculations ({{TAGO|AEXX|0.0}} default), however mind that the default symmetrization is {{TAGO|ISYM|3}}. {{TAG|LDMATRIX}} should not be combined with {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TAGO&lt;/ins&gt;|ISYM|1}}, or &amp;lt;code&amp;gt;2&amp;lt;/code&amp;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;== Output ==&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;== Output ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Huebsch</name></author>
	</entry>
	<entry>
		<id>https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28062&amp;oldid=prev</id>
		<title>Huebsch: Created page with &quot;{{TAGDEF|LDMATRIX|.TRUE. {{!}} .FALSE. | .FALSE.}}  Description: Computes the zero-field splitting (ZFS) matrix.   ----  To compute the zero-field-splitting (ZFS) tensor due to spin-spin interactions in a collinear magnetic calculation ({{TAGO|ISPIN|2}}), set:    {{TAGBL|LDMATRIX}} = True   # sets default {{TAGBL|LHFCALC}} = True ; {{TAGBL|AEXX}}=0.0  The ZFS arises from spin-spin interactions between unpaired electrons in a high-spin state with a total spin &lt;math&gt; S \ge...&quot;</title>
		<link rel="alternate" type="text/html" href="https://vasp.at/wiki/index.php?title=LDMATRIX&amp;diff=28062&amp;oldid=prev"/>
		<updated>2025-02-11T08:04:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{TAGDEF|LDMATRIX|.TRUE. {{!}} .FALSE. | .FALSE.}}  Description: Computes the zero-field splitting (ZFS) matrix.   ----  To compute the zero-field-splitting (ZFS) tensor due to spin-spin interactions in a collinear magnetic calculation ({{TAGO|ISPIN|2}}), set:    {{TAGBL|LDMATRIX}} = True   # sets default {{TAGBL|LHFCALC}} = True ; {{TAGBL|AEXX}}=0.0  The ZFS arises from spin-spin interactions between unpaired electrons in a high-spin state with a total spin &amp;lt;math&amp;gt; S \ge...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TAGDEF|LDMATRIX|.TRUE. {{!}} .FALSE. | .FALSE.}}&lt;br /&gt;
&lt;br /&gt;
Description: Computes the zero-field splitting (ZFS) matrix.  &lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
To compute the zero-field-splitting (ZFS) tensor due to spin-spin interactions in a collinear magnetic calculation ({{TAGO|ISPIN|2}}), set:&lt;br /&gt;
&lt;br /&gt;
  {{TAGBL|LDMATRIX}} = True&lt;br /&gt;
  # sets default {{TAGBL|LHFCALC}} = True ; {{TAGBL|AEXX}}=0.0&lt;br /&gt;
&lt;br /&gt;
The ZFS arises from spin-spin interactions between unpaired electrons in a high-spin state with a total spin &amp;lt;math&amp;gt; S \geq 1 &amp;lt;/math&amp;gt;. The ZFS matrix, also called D matrix, is measured in electron-spin resonance (ESR) experiments and provides insights into the local electronic environment of defect centers.&lt;br /&gt;
&lt;br /&gt;
The implementation follows the formalism of Rayson and Briddon (2008){{Cite|rayson:prb:2008}}, which efficiently evaluates the spin-spin interaction within periodic density-functional theory (DFT) using reciprocal space methods. This approach avoids expensive six-dimensional real-space integrations, leading to a stable and computationally efficient method. The expressions are similar to integrals used to evaluate the exact exchange energies for [[:Category:Hybrid functionals|hybrid and HF-type calculation]], hence VASP sets {{TAGO|LHFCALC|True}}. This still allows for simple DFT calculations ({{TAGO|AEXX|0.0}} default), however mind that the default symmetrization is {{TAGO|ISYM|3}}. {{TAG|LDMATRIX}} should not be combined with {{TAG|ISYM|1}}, or &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
The computed zero-field splitting is written in MHz to the stdout:&lt;br /&gt;
&lt;br /&gt;
  Jij:    -0.0003356     0.0003475    -0.0000119   965.1231107   965.1238969   965.1238508&lt;br /&gt;
 -Kij:    -0.0002748    -0.0000059     0.0002807    64.8471208    64.8472015    64.8471523&lt;br /&gt;
  D1c:    -0.0000541     0.0000275     0.0000267    11.1897131    11.1897125    11.1897272&lt;br /&gt;
&lt;br /&gt;
and the {{FILE|OUTCAR}} file:&lt;br /&gt;
&lt;br /&gt;
 Spin-spin contribution to zero-field splitting tensor (MHz)&lt;br /&gt;
 ---------------------------------------------------------------&lt;br /&gt;
      D_xx      D_yy      D_zz      D_xy      D_xz      D_yz &lt;br /&gt;
 ---------------------------------------------------------------&lt;br /&gt;
      0.001     0.000    -0.001  1042.316  1020.260  1041.130&lt;br /&gt;
 ---------------------------------------------------------------&lt;br /&gt;
 &lt;br /&gt;
 after diagonalization&lt;br /&gt;
 ---------------------------------------------&lt;br /&gt;
     D_diag          eigenvector (x,y,z)&lt;br /&gt;
 ---------------------------------------------&lt;br /&gt;
  -1020.244      -0.697    -0.019     0.717&lt;br /&gt;
  -1048.926      -0.427     0.814    -0.393&lt;br /&gt;
   2069.171      -0.576    -0.580    -0.576&lt;br /&gt;
 ---------------------------------------------&lt;br /&gt;
&lt;br /&gt;
== Advice ==&lt;br /&gt;
* [[Choosing pseudopotentials|Choice of PAW potentials]]: The ZFS tensor values can be sensitive to the specific [[:Category:Pseudopotentials|PAW potential]] used, as different [[:Category:Pseudopotentials|pseudopotentials]] include varying number of electrons in the valence. In particular, it is crucial that the states that give rise to the magnetic moment are included.&lt;br /&gt;
* {{TAG|NUPDOWN}} tag can be used to obtain a high-spin state.&lt;br /&gt;
* The {{TAG|LDMATRIX}} implementation is tested for &amp;lt;code&amp;gt;vasp_std&amp;lt;/code&amp;gt;. Using &amp;lt;code&amp;gt;vasp_gam&amp;lt;/code&amp;gt; has been found to yield incorrect results due to missing integral evaluations.&lt;br /&gt;
* Spin-contamination corrections: Some users have modified the source code to include spin-contamination corrections, particularly for low-spin states (&amp;lt;math&amp;gt;S=0&amp;lt;/math&amp;gt;). These modifications are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; included in the default VASP version but can be implemented manually. See forum discussion: [https://vasp.at/forum/viewtopic.php?p=29801p29801]&lt;br /&gt;
&lt;br /&gt;
== Related tags an articles ==&lt;br /&gt;
{{TAG|LHFCALC}}, {{TAG|NUPDOWN}}, {{TAG|ISPIN}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--[[Category:INCAR tag]][[Category:Electronic ground-state properties]][[Category:Magnetism]]&lt;/div&gt;</summary>
		<author><name>Huebsch</name></author>
	</entry>
</feed>