Skip to content

Commit

Permalink
debug destructive
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosP24 committed May 13, 2024
1 parent 73f6de7 commit 027dfd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/LP_usadel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function LP_lobe(n, ξd, R, d)
frac1 = 1 / (1 + (d / (2 * RLP))^2)
frac2 = 1 / (1 + (2 * RLP / d)^2)
frac3 = RLP^2 / ξd^2
root = pre * frac3 * frac1 - n^2 * frac2 * (1/3 + frac1)
root = pre * frac3 * frac1 + n^2 * frac2 * (frac2 - 4/3)
ΦLPa = n * frac1 - sqrt(root)
ΦLPb = n * frac1 + sqrt(root)
return ΦLPa, ΦLPb
Expand Down

0 comments on commit 027dfd2

Please sign in to comment.