Changelog
Unstable
Changes on the unstable branch that are not part of a release yet. Rename
this section to the version number when the next release is cut.
VASP
Add
KPOINTS_OPTband conversion fromvaspout.h5: whenLOCPROJ_OPTdata are available, the converter writesdft_bands_inputfor band/spectral workflows, applying the same PLO config settings (EWINDOW,TRANSFORM,NORMALIZE, and optionalEFERMI) as the regular VASP conversion, and stores the high-symmetry k-path labelsRun DMFT on the irreducible Brillouin zone:
convert_dft_input(use_ibz=...)reduces the data to the irreducible k-points, setssymm_op = 1and writes the correlated-shell symmetry operations (real-harmonic rotations forl = 0, 1, 2and atom permutations, built from the space group invaspout.h5) todft_symmcorr_input, so that DFTTools and ModEST restore the full-BZ average by symmetrization. Enabled by default when VASP used symmetry andvaspout.h5holds the symmetry data, and only when it is known to work: correlated shells withl <= 2, a symmetry-closed orbital set with an orthonormalTRANSFORM, all equivalent atoms projected, no spin-orbit coupling, and the symmetrized IBZ occupation and local levels reproduce the full grid withinibz_tol(1e-3). Otherwise the converter falls back to the full grid with a note;use_ibz=Trueraises instead. The VASPDriverpassesuse_ibzthrough for CSC runsPLOVASP projected DOS (
DOSMESH): fix the orbital-resolved DOS. With symmetry (vaspout.h5input) the tetrahedra refer to the IBZ k-points while the projectors are on the full grid; the DOS used the projector weights of one k-point per star only, which broke the degeneracy of symmetry-equivalent orbitals (e.g. t2g / eg of NiO). The weights are now averaged over the star. Also pair the projector weights with the right band when the band window starts at different bands at different k-points (energy window withoutBANDS). The total DOS of a shell and the PLOs written for DFTTools are unchangedPLOVASP: pair the projectors with the right bands in the density matrix and local Hamiltonian printed during PLO generation when the band window starts at different bands at different k-points (energy window without
BANDS). The printed occupations were wrong in that case (NiO withEWINDOW = -7 10: d-shell trace 9.20 instead of 8.50); the PLOs written for DFTTools were not affectedPLOVASP projected DOS: evaluate the tetrahedron weights for many energies at once (
dos_tetra_weights_3daccepts an array of energies), about 5x faster PLO generation withDOSMESH
Wien2k
Support non-spin-orbit band projectors in the Python
case.outbandgenerator, including independent spin windows; correct the spin ordering when converting their partial projectors and read wrapped atom permutations from Wien2k symmetry filesSupport band-index projection modes 1 and 2 in the Python
case.outbandgeneratorUse independent selected and below-window bands for ordinary non-spin-orbit projector generation in each spin channel
Support the selection of individual irreducible representations of a correlated shell in
case.indmftpr(e.g. only t2g or eg of a cubic d shell, or j=5/2 of afromfile|j, m_j> basis) in the Pythoncase.ctqmcout,case.symqmcandcase.outbandgenerators, matching native dmftproj. As in dmftproj, a spin-diagonal basis under spin-orbit coupling keeps the whole shell. Selecting more than one irrep of a shell is refused, since the Wien2k converter cannot read the resulting filesAdd pure-Python band-mode projectors, projection modes 1/2, and custom
fromfilebases, including spin-mixing bases, to the Wien2k projector generatorsRead the high-symmetry k-path labels from the end of
case.outbandand store them askpts_labels/kpts_labels_idxindft_bands_input, matching the VASP band conversion
test
Check the Wien2k frame convention on full-BZ tellurium with spin-orbit coupling: the symmetry matrices from
case.symqmcleave the global-frame local Hamiltonian invariant, asSumkDFTuses them, and applying them in the local frames is detected. Document the convention forrot_matand the symmetry matrices in the HDF5 referenceCheck that the Wannier and Bloch basis conversions of the same wannier90 run describe the same operator, by downfolding the Bloch Hamiltonian with the projectors and comparing with the Wannier one,
P(k) H(k) P(k)^dag = H_W(k).h5diffonly compares each archive with its own frozen reference and cannot catch an error present in both modes
Version 4.0.1
dftkit version 4.0.1 is a patch release. It fixes the conversion of Wien2k
band partial projectors for spin-polarized runs without spin-orbit coupling,
and is the first dftkit release published on PyPI (pip install triqs_dftkit).
We thank all contributors: Christopher Albert, Thomas Hahn, Alexander Hampel, Nils Wentzell
Find below an itemized list of changes in this release.
Wien2k
Read the band partial projectors of spin-polarized runs without spin-orbit coupling in the order native
dmftproj -bandwrites them (real parts of both spins, then imaginary parts).proj_mat_allindft_bands_inputwas wrong before for such runs
VASP
Write the SP flag, not the number of spin channels, to
dft_symmcorr_input/SP. No calculation used the old value
ghaction
Publish to PyPI on release tags, with the workflow of DFTTools
doc
Document the PyPI package in the install instructions; fix the clone URL
Add a version switcher flyout and a canonical URL to the sphinx docs
Fix the documentation website URLs and add the Zenodo DOI badge to the README
Version 4.0.0
dftkit version 4.0.0 is the first release of the toolkit and is compatible with TRIQS version 4.0.0. dftkit bundles the DFT-code interfaces that turn the output of various DFT codes into the TRIQS-compatible HDF5 format consumed by DFTTools, providing a modern, modular successor to the converters historically shipped with DFTTools. For each supported code it provides a converter and, where available, a driver for charge self-consistent DFT+DMFT calculations.
We thank all contributors: Markus Aichhorn, Jennifer Coulter, Michel Ferrero, Olivier Gingras, Thomas Hahn, Alexander Hampel, Alyn James, Harrison LaBollita, Henri Menke, Olivier Parcollet, Oleg E. Peil, Malte Schüler, Priyanka Seth, Dylan Simon, Nils Wentzell, Manuel Zingl
Find below an itemized list of changes in this release.
General
Port the DFT converters (Elk, Wien2k, Wannier90, generic H(k), VASP/PLOVasp) from the
triqs_dft_toolsrepositoryPort the
dmftprojFortran component used by the Wien2k interface fromtriqs_dft_tools
Drivers
Add drivers that wrap the DFT executable for charge self-consistent DFT+DMFT runs, covering Quantum Espresso, Wien2k, Abinit and VASP
VASP
Add a VASP driver for charge self-consistent DFT+DMFT calculations
Warn on misplaced or unknown tags in the PLOVASP configuration
Read VASP
ICHARG=5miscellaneous input fromvaspout.h5
Wannier90
Add ABINIT support to
Wannier90Converterfor charge self-consistent calculations
Fix
Fix a bug in the
deltaNwrite for the Quantum Espresso and Abinit interfaces
doc
Document the converter + driver architecture and the per-code interface table
Rework the landing page and documentation index
build
Compatible with TRIQS 4.0.0 and the latest app4triqs/4.0.x skeleton