-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hello. @selim-tunbul and I(@kousuke-nakano ) are implementing a Quantum ESPRESSO (QE) reader for the plane-wave section. We’ve encountered two issues.
Ordering of reciprocal vectors
One challenge is that the ordering of reciprocal-lattice vectors (
TREXIO can store the
In QE, we can recover the order because the Miller indices associated with each e_cut), and no canonical
We see two paths forward:
-
Add an explicit dataset for
$G$ -vectors (or their order) to TREXIO.
For example, store the Miller indices$(h,k,l)$ for each$m$ , or the Cartesian reciprocal vectors, so round-tripping is unambiguous. -
Define and document a canonical
$G$ -vector ordering for TREXIO.
For example, sort by$|\mathbf{G}|$ and break ties lexicographically by$(h,k,l)$ , and require all writers/readers to enforce the same convention.
Which approach do you think better?
Defining the plane-wave basis and the k-dependent number of PWs
Another challenge concerns how TREXIO defines the plane-wave basis. In §3.1 Basis set (basis group), the only PW-related field appears to be e_cut. It may be clearer to define the PW explicitly via the set of G-vectors (e.g., their Miller indices or Cartesian components), as discussed above. Also, PWs have no angular component; the functions
Relatedly, because the cutoff is applied to num for the number of functions, which makes coefficient and coefficient_im) to a common length, or (b) allow per
We don't have a firm proposal yet and would appreciate feedback from you two.
Thank you in advance.