mirror of
https://github.com/triqs/dft_tools
synced 2024-09-12 05:38:31 +02:00
fixed test
This commit is contained in:
parent
20dd44bde1
commit
4b0e539395
@ -18,15 +18,15 @@ Converter.hdf_file = 'elk_bc_convert.out.h5'
|
|||||||
Converter.convert_dft_input()
|
Converter.convert_dft_input()
|
||||||
Converter.dft_band_characters()
|
Converter.dft_band_characters()
|
||||||
|
|
||||||
#SK = SumkDFTTools(hdf_file='elk_bc_convert.out.h5', use_dft_blocks=True)
|
SK = SumkDFTTools(hdf_file='elk_bc_convert.out.h5', use_dft_blocks=True)
|
||||||
#SK.occupations(with_Sigma=False, with_dc=False)
|
SK.occupations(with_Sigma=False, with_dc=False)
|
||||||
|
|
||||||
omin = -1.0
|
omin = -1.0
|
||||||
omax = 1.0
|
omax = 1.0
|
||||||
oN = 3
|
oN = 3
|
||||||
mesh = MeshReFreq(omin,omax,oN)
|
mesh = MeshReFreq(omin,omax,oN)
|
||||||
dos_elk = SK.density_of_states(broadening=0.01, mesh=mesh, with_Sigma=False, with_dc=False, proj_type='elk', save_to_file=False)
|
dos_elk = SK.density_of_states(broadening=0.01, mesh=mesh, with_Sigma=False, with_dc=False, proj_type='elk', save_to_file=False)
|
||||||
#dos_occ_elk = SK.density_of_states(broadening=0.01, mesh=mesh, with_Sigma=False, with_dc=False, proj_type='elk', dosocc=True, save_to_file=False)
|
dos_occ_elk = SK.density_of_states(broadening=0.01, mesh=mesh, with_Sigma=False, with_dc=False, proj_type='elk', dosocc=True, save_to_file=False)
|
||||||
|
|
||||||
if mpi.is_master_node():
|
if mpi.is_master_node():
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ if mpi.is_master_node():
|
|||||||
# ar['dos_mesh'] = [omin,omax,oN]
|
# ar['dos_mesh'] = [omin,omax,oN]
|
||||||
with HDFArchive('elk_bc_convert.out.h5', 'a') as ar:
|
with HDFArchive('elk_bc_convert.out.h5', 'a') as ar:
|
||||||
ar['dos_elk'] = dos_elk
|
ar['dos_elk'] = dos_elk
|
||||||
# ar['dos_occ_elk'] = dos_occ_elk
|
ar['dos_occ_elk'] = dos_occ_elk
|
||||||
ar['dos_mesh'] = [omin,omax,oN]
|
ar['dos_mesh'] = [omin,omax,oN]
|
||||||
|
|
||||||
if mpi.is_master_node():
|
if mpi.is_master_node():
|
||||||
|
Loading…
Reference in New Issue
Block a user