mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +01:00
changed fermi weights from np array complex to float in accordance with h5 structure
This commit is contained in:
parent
fc2ce66238
commit
93cf096932
@ -280,7 +280,7 @@ class VaspConverter(ConverterTools):
|
|||||||
# raise NotImplementedError("Noncollinear calculations are not implemented")
|
# raise NotImplementedError("Noncollinear calculations are not implemented")
|
||||||
# else:
|
# else:
|
||||||
hopping = numpy.zeros([n_k, n_spin_blocs, nb_max, nb_max], numpy.complex_)
|
hopping = numpy.zeros([n_k, n_spin_blocs, nb_max, nb_max], numpy.complex_)
|
||||||
f_weights = numpy.zeros([n_k, n_spin_blocs, nb_max], numpy.complex_)
|
f_weights = numpy.zeros([n_k, n_spin_blocs, nb_max], numpy.float_)
|
||||||
band_window = [numpy.zeros((n_k, 2), dtype=int) for isp in range(n_spin_blocs)]
|
band_window = [numpy.zeros((n_k, 2), dtype=int) for isp in range(n_spin_blocs)]
|
||||||
n_orbitals = numpy.zeros([n_k, n_spin_blocs], numpy.int)
|
n_orbitals = numpy.zeros([n_k, n_spin_blocs], numpy.int)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user