Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
mfherbst committed Dec 23, 2024
1 parent ff9998e commit 6ee21d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scf/mixing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ end
apply_term!(δρ, δF) # δρ .+= χ₀ * δF
end
δρ .-= mean(δρ)

# Maybe needed ??
δρ = symmetrize_ρ(basis, δρ; do_lowpass=true)

εδF = δF .- apply_kernel(basis, δρ; ρ=ρin, RPA=mixing.RPA)
εδF .-= mean(εδF)
vec(εδF)
Expand Down

0 comments on commit 6ee21d7

Please sign in to comment.