mirror of
https://github.com/triqs/dft_tools
synced 2024-08-29 23:33:43 +02: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:
|
||||
for bname in DOS:
|
||||
DOS[bname] = mpi.all_reduce(mpi.world, DOS[bname], lambda x,y : x+y)
|
||||
for ish in range(self.n_shells):
|
||||
G_loc[ish] << mpi.all_reduce(mpi.world, G_loc[ish], lambda x,y : x+y)
|
||||
for icrsh in range(self.n_corr_shells):
|
||||
G_loc[icrsh] << mpi.all_reduce(mpi.world, G_loc[icrsh], lambda x,y : x+y)
|
||||
mpi.barrier()
|
||||
|
||||
# Symmetrize and rotate to local coord. system if needed:
|
||||
|
Loading…
Reference in New Issue
Block a user