Skip to content

Commit

Permalink
destructive regime updated
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosP24 committed May 30, 2024
1 parent 990a6d3 commit 58584ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/HamiltonianBuilder.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ end
# Hamiltonian constructor

ΣS3DUsadel(Δ0, Λ, ω;) = -(uUsadel(Δ0, Λ, ω) * σ0τ0 - σ0τx) / sqrt(complex(1-uUsadel(Δ0, Λ, ω)^2))
ΣS3DUsadel_out(Δ0, Λ, ω;) = -(uUsadel(Δ0, Λ, ω) * σ0τ0) / sqrt(complex(1-uUsadel(Δ0, Λ, ω)^2))

build_cyl(; nforced = nothing, kw...) = build_cyl(Params(; kw...); nforced,)

Expand Down Expand Up @@ -81,7 +82,7 @@ function build_cyl(p::Params; nforced = nothing)
Λ(Φ) = pairbreaking(Φ, n(Φ), Δ0, ξd, R, d)
ΦLP(Φ) = LP_lobe(n(Φ), ξd, R, d)
ΣS! = @onsite!((o, r; ω = 0, Φ = Φ, τΓ = τΓ) ->
o + τΓ * Δ0 * ifelse(is_in_lobe(Φ, ΦLP(Φ)...), ΣS3DUsadel(Δ0, Λ(Φ), ω), 0 * σ0τ0);
o + τΓ * Δ0 * ifelse(is_in_lobe(Φ, ΦLP(Φ)...), ΣS3DUsadel(Δ0, Λ(Φ), ω), ΣS3DUsadel_out(Δ0, Λ(Φ), ω));
region = ishollow ? Returns(true) : r -> r[2] > R - a0/2
)

Expand Down

0 comments on commit 58584ca

Please sign in to comment.