Skip to content

Commit 4e8406b

Browse files
Update DielectricAdjoint internal docs comments (#1149)
1 parent b5f5240 commit 4e8406b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/response/hessian.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ struct DielectricAdjoint{Tρ, Tψ, Toccupation, TεF, Teigenvalues, Tq}
362362
end
363363

364364
@doc raw"""
365-
Representation of the dielectric adjoint operator ``ε^† = (1 - χ_0 K)^{-1}``.
365+
Representation of the dielectric adjoint operator ``ε^† = (1 - χ_0 K)``.
366+
This is the adjoint of the dielectric operator ``(1 - K χ_0)``.
366367
"""
367368
function DielectricAdjoint(scfres; bandtolalg=BandtolBalanced(scfres), q=zero(Vec3{Float64}), maxiter=100)
368369
DielectricAdjoint(scfres.ham, scfres.ρ, scfres.ψ, scfres.occupation, scfres.εF,
@@ -376,7 +377,7 @@ end
376377
miniter=1, ε.occupation_threshold, tol=rtol*norm(δρ),
377378
ε.bandtolalg, ε.q, ε.maxiter, kwargs...)
378379
χ0δV = res.δρ
379-
Ax = vec(δρ - χ0δV) # (1 - χ0 K δρ)
380+
Ax = vec(δρ - χ0δV) # (1 - χ0 K) δρ
380381
(; Ax, info=(; rtol, basis, res...))
381382
end
382383
function size::DielectricAdjoint, i::Integer)

0 commit comments

Comments
 (0)