Skip to content

Commit

Permalink
fix kc_inner_params
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvm committed Dec 6, 2023
1 parent 1c4fa2b commit 5512e35
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/apps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -509,17 +509,11 @@ function get_safe_fermi_window_limits(Ω, β, dom; kwargs...)
return AutoBZCore.PuncturedInterval(int)
end

function kc_inner_params(dom, Σ, n, β, Ω, μ; kws...)
function kc_inner_params(dom; Σ, n, β, Ω, μ=zero(Ω))
new_dom = get_safe_fermi_window_limits(Ω, β, dom)
return (new_dom, Σ, n, β, Ω, μ)
end

kc_inner_params(dom, Σ, n, β, Ω; μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ)
kc_inner_params(dom, Σ, n, β; Ω, μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ)
kc_inner_params(dom, Σ, n; β, Ω, μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ)
kc_inner_params(dom, Σ; n, β, Ω, μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ)
kc_inner_params(dom; Σ, n, β, Ω, μ=zero(Ω)) = kc_inner_params(dom, Σ, n, β, Ω, μ)

const KineticCoefficientIntegrandType = FourierIntegrand{<:KCFrequencyIntegral}

function AutoBZCore.init_solver_cacheval(f::KineticCoefficientIntegrandType, dom, alg)
Expand Down

0 comments on commit 5512e35

Please sign in to comment.