wannier90
Wannier90 to HDF5 converter for TRIQS/dft_tools
Written by Gabriele Sclauzero (Materials Theory, ETH Zurich), Dec 2015 – Jan 2016, updated by Maximilian Merkel (Materials Theory, ETH Zurich), Aug 2020 – Feb 2022, and by Sophie Beck (Materials Theory, ETH Zurich), Sep 2020 – Apr 2021, under the supervision of Claude Ederer (Materials Theory). Partially based on previous work by K. Dymkovski and the TRIQS/dft_tools team.
Limitations of the current implementation: - the T rotation matrices are not used in this implementation
Things to be improved/checked: - the case with SP=1 is only half implemented and never tested (do we need to
define rot_mat_time_inv also if symm_op = 0?)
the calculation of rot_mat in find_rot_mat() relies on the eigenvalues of H(0); this might fail in presence of degenerate eigenvalues (now just prints warning)
make the code more MPI safe (error handling): if we run with more than one process and an error occurs on the masternode, the calculation does not abort
in case of disentanglement, the outer window being close to Kohn-Sham energies can cause a problem in creating the udis_mat_spin in read_wannier90data
bloch_basis on SO coupled calculations has never been tested but might work
would be helpful to read the order of orbitals from the nnkp or wout file and save it to, e.g., misc_subgrp for codes working on the generated h5
Functions
|
Method for the generation of the k-point mesh. |
|
Checks compatibilities, modifies shells and corr_shells and sets variables needed for spin-orbit coupled systems. |
|
Check of the reciprocal-space Hamiltonian in bloch basis. |
|
Checks of the real-space Hamiltonian. |
|
Check of the reciprocal-space Hamiltonian in wannier basis. |
|
Method for finding the matrices that bring from local to global coordinate systems, based on the eigenvalues of H(R=0). |
|
Method for obtaining H(k) from H(R) via Fourier transform. |
|
Adds local spin-orbit interaction term to the t2g subspace. |
|
Reads in all the wannier90 data using the functions read_wannier90_hr_data and read_wannier90_blochbasis_data. |
|
Reads the input file. |
|
Reads input from DFT code calculations to get occupations, the band window, the Fermi energy and the basis for the k points. |
|
Method for reading the files needed in the bloch_basis: seedname_u.mat, seedname.eig and potentially seedname_u_dis.mat. |
|
Method for reading the seedname_hr.dat file produced by Wannier90 (http://wannier.org). |
|
Changes order from VASP5 + wannier90 (first all up spin wannier orbitals, then all down spin) to usual order (every up orbital is followed directly by the corresponding down orbital). |
Classes
|
Conversion from Wannier90 output to an hdf5 file that can be used as input for the SumkDFT class. |