<div>Dear Jonathan,</div>
<div> </div>
<div>thank you for the email.</div>
<div> </div>
<div>You are basically telling that only at the edge of the supercell ndegen is different from 1.</div>
<div>Did i understand it correctly?</div>
<div>If then i remove all points at the edge i would not need the variable ndegen.</div>
<div> </div>
<div>cheers,</div>
<div> </div>
<div>Gianluca<br><br></div>
<div class="gmail_quote">On Wed, Mar 10, 2010 at 7:34 PM, Jonathan Yates <span dir="ltr"><<a href="mailto:jonathan.yates@materials.ox.ac.uk">jonathan.yates@materials.ox.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im"><br>On 10 Mar 2010, at 13:39, Gianluca Giovannetti wrote:<br>><br>> Once i get the H(n,m,R) in the file _hr.dat (in which are printed<br>> irvec(:,loop_rpt) and ham_r(:,:,loop_rpt) as coded in<br>
> hamiltonian.F90) i usually work postprocessing it and i can get<br>> the correct Fourier Trasform (i can check the bands structure for<br>> example) only if i use ndegen as above (the values of this variable<br>
> can be printed out with "iprint =3").<br>><br>> this variable ndegen is updated in hamiltonian.F90 at the<br>> subroutine hamiltonian_wigner_seitz(count_pts) but i have problem<br>> to understand what it is.<br>
> could you give me some more details?<br><br></div> For H(n,m,R) the set of R (lattice vectors) are chosen to lie within<br>a Wigner-Seitz supercell. Some of the points lie on the edge of this<br>supercell (ie they are shared by ndegen cells) and so only count<br>
fractionally in the fourier transform.<br> [there are other options here - look at bands_plot_mode=cut and the<br>comments in the subroutine plot_cut_hr]<br><br> This is discussed in section II.B.1 of Phys. Rev. B 75, 195121 (2007)<br>
<br>Note that the latest version of wannier90 (v1.2) ndegen is included in<br>the file seedname_hr.dat.<br><br> Jonathan<br><br><br><br><br><br>--<br>Department of Materials, University of Oxford, Parks Road, Oxford, OX1<br>
3PH, UK<br>tel: +44 (0)1865 612797 <a href="http://users.ox.ac.uk/~oums0549/" target="_blank">http://users.ox.ac.uk/~oums0549/</a><br><br>_______________________________________________<br>Wannier mailing list<br>
<a href="mailto:Wannier@quantum-espresso.org">Wannier@quantum-espresso.org</a><br><a href="http://www.democritos.it/mailman/listinfo/wannier" target="_blank">http://www.democritos.it/mailman/listinfo/wannier</a><br></blockquote>
</div><br>