Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
qbox-public
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
qbox
qbox-public
Commits
0cfce6d0
Commit
0cfce6d0
authored
Aug 28, 2020
by
Francois Gygi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix calc of wavefunction entropy
parent
fce4c781
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
Wavefunction.cpp
src/Wavefunction.cpp
+3
-1
No files found.
src/Wavefunction.cpp
View file @
0cfce6d0
...
...
@@ -207,7 +207,9 @@ double Wavefunction::entropy(void) const
sum
+=
weight_
[
ikp
]
*
sd
(
isp_loc
,
ikp_loc
)
->
entropy
(
nspin_
);
}
}
return
sum
;
double
tsum
;
MPI_Allreduce
(
&
sum
,
&
tsum
,
1
,
MPI_DOUBLE
,
MPI_SUM
,
MPIdata
::
kp_sp_comm
());
return
tsum
;
}
////////////////////////////////////////////////////////////////////////////////
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment