mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 01:55:56 +01:00
Corrects bug in dos_wannier_basis
This commit is contained in:
parent
74a19b72df
commit
8d0bc912af
@ -91,8 +91,8 @@ class SumkDFTTools(SumkDFT):
|
|||||||
# Collect data from mpi:
|
# Collect data from mpi:
|
||||||
for bname in DOS:
|
for bname in DOS:
|
||||||
DOS[bname] = mpi.all_reduce(mpi.world, DOS[bname], lambda x,y : x+y)
|
DOS[bname] = mpi.all_reduce(mpi.world, DOS[bname], lambda x,y : x+y)
|
||||||
for ish in range(self.n_shells):
|
for icrsh in range(self.n_corr_shells):
|
||||||
G_loc[ish] << mpi.all_reduce(mpi.world, G_loc[ish], lambda x,y : x+y)
|
G_loc[icrsh] << mpi.all_reduce(mpi.world, G_loc[icrsh], lambda x,y : x+y)
|
||||||
mpi.barrier()
|
mpi.barrier()
|
||||||
|
|
||||||
# Symmetrize and rotate to local coord. system if needed:
|
# Symmetrize and rotate to local coord. system if needed:
|
||||||
|
Loading…
Reference in New Issue
Block a user