Skip to content

Commit

Permalink
debug chemical potential
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosP24 committed May 1, 2024
1 parent aa3cd0b commit 5f29ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HamiltonianBuilder.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function build_cyl(p::Params; nforced = nothing)
# Model

# Kinetic term
p2 = @onsite((r; μ = μ) -> σ0τz *(t * ifelse(r[2] a0, 2.0 + 1.5, 2.0 + 2.0*ishollow) - μ)) + hopping((r, dr) -> -t * σ0τz * ifelse(iszero(dr[1]), r[2]/sqrt(r[2]^2 - 0.25*dr[2]^2), 1); range = a0)
p2 = @onsite((r; μ = μ) -> σ0τz *(t * ifelse(r[2] a0, 2.0 + 1.5, 2.0 + 2.0*!ishollow) - μ)) + hopping((r, dr) -> -t * σ0τz * ifelse(iszero(dr[1]), r[2]/sqrt(r[2]^2 - 0.25*dr[2]^2), 1); range = a0)

# Dome profile
V(ρ, v0, v1) = v0 + (v1 - v0) */R)^Vexponent
Expand Down

0 comments on commit 5f29ea7

Please sign in to comment.