Issue: Complete Support for Quantum ESPRESSO ibrav Convention
The code currently supports reading Quantum ESPRESSO structures from:
pw.x input files, and
- Harmonic phonon results from DFPT (
ph.x).
In Quantum ESPRESSO, high-symmetry structures can be defined using the ibrav convention (i = integer, brav = Bravais lattice).
Each ibrav value corresponds to a specific Bravais lattice type (e.g., simple cubic, bcc, hexagonal, etc.), and the lattice geometry is determined by the 6-element celldm array that uniquely defines the primitive cell.
Currently:
- Only a subset of the
ibrav values is implemented in the code.
- Some of the less common
ibrav options are missing.
The function responsible for converting the ibrav convention into an explicit 3×3 lattice matrix (with lattice vectors in rows) is:
def get_unit_cell_from_ibrav(ibrav, celldm)
This function is located in:
cellconstructor/Methods.py
Reference documentation for all possible ibrav values can be found in the Quantum ESPRESSO pw.x manual:
Task
Issue: Complete Support for Quantum ESPRESSO
ibravConventionThe code currently supports reading Quantum ESPRESSO structures from:
pw.xinput files, andph.x).In Quantum ESPRESSO, high-symmetry structures can be defined using the
ibravconvention (i= integer,brav= Bravais lattice).Each
ibravvalue corresponds to a specific Bravais lattice type (e.g., simple cubic, bcc, hexagonal, etc.), and the lattice geometry is determined by the 6-elementcelldmarray that uniquely defines the primitive cell.Currently:
ibravvalues is implemented in the code.ibravoptions are missing.The function responsible for converting the
ibravconvention into an explicit 3×3 lattice matrix (with lattice vectors in rows) is:This function is located in:
cellconstructor/Methods.pyReference documentation for all possible
ibravvalues can be found in the Quantum ESPRESSOpw.xmanual:Task
ibravconventions inget_unit_cell_from_ibrav.ibravvalue.