mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
changed vasp_converter test such that hdf5 files include proj_or_hk flag
This commit is contained in:
parent
2dda711aed
commit
8f5722a98e
@ -335,6 +335,8 @@ class VaspConverter(ConverterTools):
|
||||
|
||||
rf.close()
|
||||
|
||||
|
||||
proj_or_hk = self.proj_or_hk
|
||||
|
||||
# Save it to the HDF:
|
||||
with HDFArchive(self.hdf_file,'a') as ar:
|
||||
@ -343,11 +345,9 @@ class VaspConverter(ConverterTools):
|
||||
things_to_save = ['energy_unit','n_k','k_dep_projection','SP','SO','charge_below','density_required',
|
||||
'symm_op','n_shells','shells','n_corr_shells','corr_shells','use_rotations','rot_mat',
|
||||
'rot_mat_time_inv','n_reps','dim_reps','T','n_orbitals','proj_mat','bz_weights','hopping',
|
||||
'n_inequiv_shells', 'corr_to_inequiv', 'inequiv_to_corr']
|
||||
'n_inequiv_shells', 'corr_to_inequiv', 'inequiv_to_corr','proj_or_hk']
|
||||
if self.proj_or_hk == 'hk':
|
||||
proj_or_hk = self.proj_or_hk
|
||||
things_to_save.append('proj_mat_csc')
|
||||
things_to_save.append('proj_or_hk')
|
||||
for it in things_to_save: ar[self.dft_subgrp][it] = locals()[it]
|
||||
|
||||
# Store Fermi weights to 'dft_misc_input'
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user