<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hello QE users and developers,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I'm trying to figure out how G vectors in PWscf are selected to represent the corresponding wfcs. Could someone tell me if the following is the only criterion used to determine G vectors?<br><br>abs(G+k)^2 * hbar^2 / (2m_e) < E_cut<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">and does the code basically start from the origin (0,0,0) and scan through all grid coordinates (positive and negative) and check if the grid agrees with the above criterion? Also, does the number of G vectors (for each k) have relation to the FFT dimensions?<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thank you!<br><br clear="all"></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(0,0,0)"><span>Ryky Nelson<br>Institut für Anorganische Chemie<br>RWTH Aachen University<br></span></span></div></div></div></div></div>
</div>