3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-21 20:03:41 +01:00

Added writing of 'band_window' to 'dft_misc_input'

In VASP implementation of charge self-consistency we need
band indices to construct the density matrix correction.
This commit is contained in:
Oleg E. Peil 2015-12-04 15:29:19 +01:00
parent 34bc2b6225
commit 85a83db1cb

View File

@ -278,6 +278,7 @@ class VaspConverter(ConverterTools):
# Store Fermi weights to 'dft_misc_input'
if not (self.misc_subgrp in ar): ar.create_group(self.misc_subgrp)
ar[self.misc_subgrp]['dft_fermi_weights'] = f_weights
ar[self.misc_subgrp]['band_window'] = band_window
del ar
# Symmetries are used, so now convert symmetry information for *correlated* orbitals:
self.convert_symmetry_input(ctrl_head, orbits=self.corr_shells, symm_subgrp=self.symmcorr_subgrp)