Dear Alexey,<br /><br />&nbsp;I understand that the input is for
pw_export.x and run with it.<br />I also need the&nbsp; kohn-Sham orbitals
whichare produced by pp.x.&nbsp; but in ortogonalized form.&nbsp; is it
possible?<br />Regards<br />Fariba Nazari<br />IASBS<br /><br /><br />&gt;
Dear Fariba, <br />&gt; <br />&gt; That is nice to know. Also i just
found, that the example of the input i <br />&gt; sent in the previous
letter is not for pp.x, but rather for <br />&gt; pw_export.x - that is
for producing |psi&gt; and S|psi&gt;. For printing <br />&gt; orbitals you
of course need pp.x. <br />&gt; Also i'm not sure what output files you
mean - those with psi and Spsi <br />&gt; (pw_export.x) can be produced in
either binary or text format - that is <br />&gt; it. If you imply
orbitals (the charge density for given band) - i think <br />&gt; they may
be written in cube format (output_format = 6, just look in <br />&gt;
Doc/INPUT_PP.txt in you QE distribution for more details) <br />&gt; <br
/>&gt; Best regards, <br />&gt; Alexey <br />&gt; <br />&gt; <br />&gt;
----- Original Message ----- <br />&gt; <br />From: nazari@iasbs.ac.ir <br
/>&gt; To: &quot;PWSCF Forum&quot; &lt;pw_forum@pwscf.org&gt; <br />&gt;
Sent: Thursday, August 30, 2012 1:09:20 AM <br />&gt; Subject: Re:
[Pw_forum] kohn -sham orbitals ortogonality and ortonormality <br />&gt;
<br />&gt; <br />&gt; Dear Alexey <br />&gt; <br />&gt; Thank you . I have
cheked your suggestion and it works. <br />&gt; One more question : IS it
possible that the obtanied files have cube <br />&gt; format.? <br />&gt;
<br />&gt; Best Regards <br />&gt; Fariba Nazari <br />&gt; IASBS <br
/>&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt;&gt; Dear Fariba, <br
/>&gt;&gt; <br />&gt;&gt; I think you can get S|psi&gt; without modifying
the code. Here is an input <br />&gt;&gt; for pp.x: <br />&gt;&gt; <br
/>&gt;&gt; &amp;inputpp <br />&gt;&gt; prefix = 'x', <br />&gt;&gt; outdir
= './', <br />&gt;&gt; pseudo_dir = 'path-to-your-PP-directory', <br
/>&gt;&gt; psfile(1) = 'C.pbe-van_bm.UPF', <br />&gt;&gt; psfile(2) =
'H.pbe-van_bm.UPF', <br />&gt;&gt; single_file = .FALSE., <br />&gt;&gt;
ascii = .TRUE., <br />&gt;&gt; uspp_spsi = .TRUE., &lt;--- this produces
S|psi&gt; along with the |psi&gt;, as <br />&gt;&gt; long as i understand
this should work at least for US-PPs <br />&gt;&gt; / <br />&gt;&gt; <br
/>&gt;&gt; In addition, if you need localized orbitals, you might look in
the <br />&gt;&gt; direction of maximally localized wannier functions,
ELF, or, if you want <br />&gt;&gt; to plot MOs, you can use the pp.x to
make .xsf files with the charge <br />&gt;&gt; density corresponding to
necessary KS orbitals. <br />&gt;&gt; <br />&gt;&gt; <br />&gt;&gt; Best
regards, <br />&gt;&gt; Alexey <br />&gt;&gt; <br />&gt;&gt; <br
/>&gt;&gt; ----- Original Message ----- <br />&gt;&gt; <br />&gt; <br
/>From: nazari@iasbs.ac.ir <br />&gt;&gt; To: &quot;PWSCF Forum&quot;
&lt;pw_forum@pwscf.org&gt; <br />&gt;&gt; Sent: Tuesday, August 28, 2012
10:43:52 PM <br />&gt;&gt; Subject: Re: [Pw_forum] kohn -sham orbitals
ortogonality and <br />&gt;&gt; ortonormality <br />&gt;&gt; <br
/>&gt;&gt; <br />&gt;&gt; <br />&gt;&gt; Dear Alexey <br />&gt;&gt; <br
/>&gt;&gt; Would you please let me know how the S|psi&gt; is obtained with
pp.x . I <br />&gt;&gt; need <br />&gt;&gt; orthonormal kohn-sham
orbitals. <br />&gt;&gt; Regards <br />&gt;&gt; Fariba Nazari <br
/>&gt;&gt; IASBS <br />&gt;&gt; <br />&gt;&gt; <br />&gt;&gt; <br
/>&gt;&gt; <br />&gt;&gt;&gt; Dear Fariba, <br />&gt;&gt;&gt; <br
/>&gt;&gt;&gt; The Kohn-Sham (please, not kohen) orbitals produced by pp.x
are not <br />&gt;&gt;&gt; orthonormalized in general, because of the
pseudo-potentials and <br />&gt;&gt;&gt; projection techniques (PAW).
However, practically, you may safely <br />&gt;&gt;&gt; assume <br
/>&gt;&gt;&gt; they are orthogonal and almost normalized (self-overlaps
are not far <br />&gt;&gt;&gt; from <br />&gt;&gt;&gt; 1.0). This is
especially true for norm-conserving PP (by construction, <br
/>&gt;&gt;&gt; the <br />&gt;&gt;&gt; wavefunctions supposed to preserve
norm), and, in slightly smaller <br />&gt;&gt;&gt; extent, <br
/>&gt;&gt;&gt; for ultra-soft pseudopotentials. For PAW wavefunctions the
trick is to <br />&gt;&gt;&gt; reconstruct full wavefunction from the
projection, so it is S|psi&gt;. If <br />&gt;&gt;&gt; i <br />&gt;&gt;&gt;
remember it correctly, the ortogonality will then be for <br
/>&gt;&gt;&gt; &lt;psi_i|S|psi_j&gt; <br />&gt;&gt;&gt; = <br
/>&gt;&gt;&gt; delta_ij. However you can obtain S|psi&gt; with pp.x as
well as |psi&gt;. <br />&gt;&gt;&gt; Please anyone correct me if i'm wrong
at some point. <br />&gt;&gt;&gt; <br />&gt;&gt;&gt; Thank you, <br
/>&gt;&gt;&gt; Alexey <br />&gt;&gt;&gt; <br />&gt;&gt;&gt; ----- Original
Message ----- <br />&gt;&gt;&gt; <br />&gt;&gt; <br />&gt; <br />From:
nazari@iasbs.ac.ir <br />&gt;&gt;&gt; To: &quot;PWSCF Forum&quot;
&lt;pw_forum@pwscf.org&gt; <br />&gt;&gt;&gt; Sent: Tuesday, August 28,
2012 6:23:31 AM <br />&gt;&gt;&gt; Subject: [Pw_forum] kohen -sham
orbitals ortogonality and ortonormality <br />&gt;&gt;&gt; <br
/>&gt;&gt;&gt; <br />&gt;&gt;&gt; <br />&gt;&gt;&gt; <br />&gt;&gt;&gt;
Dear All, <br />&gt;&gt;&gt; <br />&gt;&gt;&gt; Would you please let me
know if the kohen -sham orbitals ,which are <br />&gt;&gt;&gt; obtained by
pp.x, are normalized, orthogonalized or orthonormalized? <br
/>&gt;&gt;&gt; <br />&gt;&gt;&gt; Regards <br />&gt;&gt;&gt; Fariba Nazari
<br />&gt;&gt;&gt; IASBS <br />&gt;&gt;&gt; -- <br />&gt;&gt;&gt; This
message has been scanned for viruses and <br />&gt;&gt;&gt; dangerous
content by MailScanner , and is <br />&gt;&gt;&gt; believed to be clean.
<br />&gt;&gt;&gt; _______________________________________________ <br
/>&gt;&gt;&gt; Pw_forum mailing list <br />&gt;&gt;&gt; Pw_forum@pwscf.org
<br />&gt;&gt;&gt; http://www.democritos.it/mailman/listinfo/pw_forum <br
/>&gt;&gt;&gt; <br />&gt;&gt;&gt; -- <br />&gt;&gt;&gt; Dr. Alexey V.
Akimov <br />&gt;&gt;&gt; <br />&gt;&gt;&gt; Postdoctoral Research
Associate <br />&gt;&gt;&gt; Department of Chemistry <br />&gt;&gt;&gt;
University of Rochester <br />&gt;&gt;&gt; <br />&gt;&gt;&gt;
aakimov@z.rochester.edu <br />&gt;&gt;&gt;
_______________________________________________ <br />&gt;&gt;&gt;
Pw_forum mailing list <br />&gt;&gt;&gt; Pw_forum@pwscf.org <br
/>&gt;&gt;&gt; http://www.democritos.it/mailman/listinfo/pw_forum <br
/>&gt;&gt;&gt; <br />&gt;&gt;&gt; -- <br />&gt;&gt;&gt; This message has
been scanned for viruses and <br />&gt;&gt;&gt; dangerous content by
MailScanner, and is <br />&gt;&gt;&gt; believed to be clean. <br
/>&gt;&gt;&gt; <br />&gt;&gt;&gt; <br />&gt;&gt; <br />&gt;&gt; -- <br
/>&gt;&gt; This message has been scanned for viruses and <br />&gt;&gt;
dangerous content by MailScanner , and is <br />&gt;&gt; believed to be
clean. <br />&gt;&gt; _______________________________________________ <br
/>&gt;&gt; Pw_forum mailing list <br />&gt;&gt; Pw_forum@pwscf.org <br
/>&gt;&gt; http://www.democritos.it/mailman/listinfo/pw_forum <br
/>&gt;&gt; <br />&gt;&gt; -- <br />&gt;&gt; Dr. Alexey V. Akimov <br
/>&gt;&gt; <br />&gt;&gt; Postdoctoral Research Associate <br />&gt;&gt;
Department of Chemistry <br />&gt;&gt; University of Rochester <br
/>&gt;&gt; <br />&gt;&gt; aakimov@z.rochester.edu <br />&gt;&gt;
_______________________________________________ <br />&gt;&gt; Pw_forum
mailing list <br />&gt;&gt; Pw_forum@pwscf.org <br />&gt;&gt;
http://www.democritos.it/mailman/listinfo/pw_forum <br />&gt;&gt; <br
/>&gt;&gt; -- <br />&gt;&gt; This message has been scanned for viruses and
<br />&gt;&gt; dangerous content by MailScanner, and is <br />&gt;&gt;
believed to be clean. <br />&gt;&gt; <br />&gt;&gt; <br />&gt; <br />&gt;
-- <br />&gt; This message has been scanned for viruses and <br />&gt;
dangerous content by MailScanner , and is <br />&gt; believed to be clean.
<br />&gt; _______________________________________________ <br />&gt;
Pw_forum mailing list <br />&gt; Pw_forum@pwscf.org <br />&gt;
http://www.democritos.it/mailman/listinfo/pw_forum <br />&gt; <br />&gt;
-- <br />&gt; Dr. Alexey V. Akimov <br />&gt; <br />&gt; Postdoctoral
Research Associate <br />&gt; Department of Chemistry <br />&gt;
University of Rochester <br />&gt; <br />&gt; aakimov@z.rochester.edu <br
/>&gt; _______________________________________________ <br />&gt; Pw_forum
mailing list <br />&gt; Pw_forum@pwscf.org <br />&gt;
http://www.democritos.it/mailman/listinfo/pw_forum <br />&gt; <br />&gt;
-- <br />&gt; This message has been scanned for viruses and <br />&gt;
dangerous content by MailScanner, and is <br />&gt; believed to be clean.
<br />&gt; <br />&gt; <br /><br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.