<html><body>
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Dear Stefano,</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Hi.</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Thank you for your detailed explanation for the Fe case.</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">However, suppose the Hubbard atom is Ce, "[Xe]6s2 4f1 5d1" with two localized incomplete orbitals of Ce-4f and Ce-5d. Then how can one specify the starting_ns_eigenvalue for both of them with l=3 and l=2?</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Thank you in advance.</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">Best regards,</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">mahmoud</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> </div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size: 16px; font-weight: 400; font-style: normal; background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;"> 
<blockquote class="as91pFk8AX8sDPOUp66RUy8IoCRjefxNG8oLk8fg" style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">From: Stefano de Gironcoli <degironc@sissa.it><br />
To: Mahmoud Payami Shabestari via users <users@lists.quantum-espresso.org><br />
Date: Thu, 11 Aug 2022 21:19:56 +0200<br />
Subject: Re: [QE-users] syntax of using starting_ns_eigenvalue for two different localized orbitals of the same atom<br />
 
<div>suppose your Hubbard atom of type 1 is an Fe ( U on 3d orbitals)..., then</div>

<div>starting_ns_eigenvalue(3,1,1)=1.0  overwrites the third eigenvalue of the occupations with spin=1 (up) to 1.0</div>

<div>starting_ns_eigenvalue(4,1,1)=0.3 overwrites the forth eigenvalue of the occupations with spin=1 (up) to 0.3</div>

<div>starting_ns_eigenvalue(5,2,1)=0.0 overwrites the fifth eigenvalue of the occupations with spin=2 (dw) to 0.0</div>

<div>the other elements are left unchanged.</div>

<div>In general at the first iteration the code computes the occupation matrix ns, diagonalizes it, overwrites the eigenvalues if required in input and then calculates the output ns matrix from the (overwritten) eigenvalue decomposition.</div>

<div>if you specify more starting_ns_eigenvalue lines for a given atomic type the code will apply all of them independently</div>

<div>stefano</div>

<div>On 11/08/22 21:00, Mahmoud Payami Shabestari via users wrote:</div>

<blockquote cite="mid:WC20220811190034.640C2C@aeoi.org.ir" type="cite">
<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;">Dear QE-7.1 Developers,</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;"> </div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;">Hi. I would like to use the starting_ns_eigenvalue()=1.0 for two different localized orbitals of the same atom. I do not have problem in the HUBBARD card, but I do not know how to use starting_ns_eigenvalue()=1.0 for different orbital angular momenta of the same atom.</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;">Any comments is highly appreciated.</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;"> </div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;">Best regards,</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;">Mahmoud Payami</div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;"> </div>

<div style="font-size: 16px; font-family: Tahoma; color: rgb(0, 0,
        0); font-weight: 400; font-style: normal; background: rgba(0, 0,
        0, 0) none repeat scroll 0% 0%;"> </div>

<div id="signature" style="font-size: 16px; font-family: Tahoma;
        color: rgb(0, 0, 0); font-weight: 400; font-style: normal;
        background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;">
<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size:
          16px; font-weight: 400; font-style: normal;">---------------------------------------</div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size:
          16px; font-weight: 400; font-style: normal;">Mahmoud Payami</div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size:
          16px; font-weight: 400; font-style: normal;">NSTRI, AEOI, Tehran, Iran</div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size:
          16px; font-weight: 400; font-style: normal;"> </div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size:
          16px; font-weight: 400; font-style: normal;">Email: <a class="moz-txt-link-abbreviated" href="mailto:mpayami@aeoi.org.ir">mpayami@aeoi.org.ir</a></div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size:
          16px; font-weight: 400; font-style: normal;">Phone: +98 (0)21 82066504</div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size:
          16px; font-weight: 400; font-style: normal;">--------------------------------------------------------</div>

<div style="font-family: Tahoma; color: rgb(0, 0, 0); font-size:
          16px; font-weight: 400; font-style: normal;"> </div>
</div>
 

<fieldset class="moz-mime-attachment-header"> </fieldset>

<pre class="moz-quote-pre" wrap="">
_______________________________________________
The Quantum ESPRESSO community stands by the Ukrainian
people and expresses its concerns about the devastating
effects that the Russian military offensive has on their
country and on the free and peaceful scientific, cultural,
and economic cooperation amongst peoples
_______________________________________________
Quantum ESPRESSO is supported by MaX (<a class="moz-txt-link-abbreviated" href="http://www.max-centre.eu">www.max-centre.eu</a>)
users mailing list <a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a>
<a class="moz-txt-link-freetext" href="https://lists.quantum-espresso.org/mailman/listinfo/users">https://lists.quantum-espresso.org/mailman/listinfo/users</a></pre>
</blockquote>
</blockquote>
</div>
</body></html>