Move calculations to folder
This commit is contained in:
parent
d1a76c1909
commit
5c1c34d9eb
|
|
@ -1,5 +1,5 @@
|
||||||
using Plots
|
using Plots
|
||||||
include("p_space.jl")
|
include("../p_space.jl")
|
||||||
|
|
||||||
# contour
|
# contour
|
||||||
p, w = get_mesh([0, 0.4 - 0.15im, 0.8, 6], [128, 128, 128])
|
p, w = get_mesh([0, 0.4 - 0.15im, 0.8, 6], [128, 128, 128])
|
||||||
|
|
@ -57,4 +57,4 @@ scatter!(real.(extrapolate_E), imag.(extrapolate_E), label="extrapolated")
|
||||||
scatter!(real.(basis_E), imag.(basis_E), m=:x, label="Berggren basis")
|
scatter!(real.(basis_E), imag.(basis_E), m=:x, label="Berggren basis")
|
||||||
xlims!(-0.3,0.3)
|
xlims!(-0.3,0.3)
|
||||||
ylims!(-0.120,0.020)
|
ylims!(-0.120,0.020)
|
||||||
savefig("temp/" * string(rand(UInt16)) * ".pdf")
|
savefig("../temp/" * string(rand(UInt16)) * ".pdf")
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
using Plots
|
using Plots
|
||||||
include("p_space.jl")
|
include("../p_space.jl")
|
||||||
|
|
||||||
berggren_mesh = get_mesh([0, 0.4 - 0.15im, 0.8, 6], [128, 128, 128])
|
berggren_mesh = get_mesh([0, 0.4 - 0.15im, 0.8, 6], [128, 128, 128])
|
||||||
csm_mesh = get_mesh([0, 8 - 3im], [512])
|
csm_mesh = get_mesh([0, 8 - 3im], [512])
|
||||||
|
|
@ -47,5 +47,5 @@ for mesh in (berggren_mesh, csm_mesh)
|
||||||
plot!(real.(mesh_E), imag.(mesh_E), label="contour")
|
plot!(real.(mesh_E), imag.(mesh_E), label="contour")
|
||||||
xlims!(-0.3,0.3)
|
xlims!(-0.3,0.3)
|
||||||
ylims!(-0.120,0.020)
|
ylims!(-0.120,0.020)
|
||||||
savefig("temp/" * string(rand(UInt16)) * ".pdf")
|
savefig("../temp/" * string(rand(UInt16)) * ".pdf")
|
||||||
end
|
end
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using LinearAlgebra, Plots
|
using LinearAlgebra, Plots
|
||||||
include("ho_basis.jl")
|
include("../ho_basis.jl")
|
||||||
include("p_space.jl")
|
include("../p_space.jl")
|
||||||
|
|
||||||
μω_gen = 0.5 * exp(-1im * 0.47 * pi)
|
μω_gen = 0.5 * exp(-1im * 0.47 * pi)
|
||||||
μ = 0.5
|
μ = 0.5
|
||||||
Loading…
Reference in New Issue