Rename helper.jl to common.jl
This commit is contained in:
parent
0ceb379be7
commit
7a326bda96
2
EC.jl
2
EC.jl
|
|
@ -1,5 +1,5 @@
|
||||||
using SparseArrays, LinearAlgebra, Arpack, Plots
|
using SparseArrays, LinearAlgebra, Arpack, Plots
|
||||||
include("helper.jl")
|
include("common.jl")
|
||||||
|
|
||||||
"EC model for a Hamiltonian family H(c) = H0 + c * H1"
|
"EC model for a Hamiltonian family H(c) = H0 + c * H1"
|
||||||
mutable struct affine_EC
|
mutable struct affine_EC
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
using LinearAlgebra, SparseArrays, Arpack
|
using LinearAlgebra, SparseArrays, Arpack
|
||||||
include("helper.jl")
|
include("common.jl")
|
||||||
include("p_space.jl")
|
include("p_space.jl")
|
||||||
include("ho_basis.jl")
|
include("ho_basis.jl")
|
||||||
include("berggren.jl")
|
include("berggren.jl")
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
include("../EC.jl")
|
include("../EC.jl")
|
||||||
include("../helper.jl")
|
include("../common.jl")
|
||||||
include("../p_space.jl")
|
include("../p_space.jl")
|
||||||
|
|
||||||
# contour
|
# contour
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
include("../EC.jl")
|
include("../EC.jl")
|
||||||
include("../helper.jl")
|
include("../common.jl")
|
||||||
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])
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
include("../EC.jl")
|
include("../EC.jl")
|
||||||
include("../helper.jl")
|
include("../common.jl")
|
||||||
include("../p_space.jl")
|
include("../p_space.jl")
|
||||||
|
|
||||||
# contour
|
# contour
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
include("../EC.jl")
|
include("../EC.jl")
|
||||||
include("../helper.jl")
|
include("../common.jl")
|
||||||
include("../p_space.jl")
|
include("../p_space.jl")
|
||||||
|
|
||||||
# contour
|
# contour
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
using SparseArrays
|
using SparseArrays
|
||||||
using QuadGK
|
using QuadGK
|
||||||
using LRUCache
|
using LRUCache
|
||||||
include("helper.jl")
|
include("common.jl")
|
||||||
include("math.jl")
|
include("math.jl")
|
||||||
|
|
||||||
"1-body HO basis"
|
"1-body HO basis"
|
||||||
|
|
|
||||||
2
math.jl
2
math.jl
|
|
@ -1,5 +1,5 @@
|
||||||
using SpecialFunctions, WignerSymbols
|
using SpecialFunctions, WignerSymbols
|
||||||
include("helper.jl")
|
include("common.jl")
|
||||||
|
|
||||||
# Gaussian potentials in HO space
|
# Gaussian potentials in HO space
|
||||||
inv_factorial(n) = Iterators.prod(inv.(1:n))
|
inv_factorial(n) = Iterators.prod(inv.(1:n))
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
using SparseArrays, Arpack
|
using SparseArrays, Arpack
|
||||||
include("helper.jl")
|
include("common.jl")
|
||||||
include("p_space.jl")
|
include("p_space.jl")
|
||||||
|
|
||||||
E_target = -0.3919
|
E_target = -0.3919
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
using LinearAlgebra, SparseArrays, Arpack
|
using LinearAlgebra, SparseArrays, Arpack
|
||||||
include("helper.jl")
|
include("common.jl")
|
||||||
include("p_space.jl")
|
include("p_space.jl")
|
||||||
include("ho_basis.jl")
|
include("ho_basis.jl")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
using LinearAlgebra, SparseArrays, Arpack
|
using LinearAlgebra, SparseArrays, Arpack
|
||||||
include("helper.jl")
|
include("common.jl")
|
||||||
include("p_space.jl")
|
include("p_space.jl")
|
||||||
include("ho_basis.jl")
|
include("ho_basis.jl")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
using SparseArrays, LinearAlgebra
|
using SparseArrays, LinearAlgebra
|
||||||
include("../helper.jl")
|
include("../common.jl")
|
||||||
|
|
||||||
#### gram_schmidt ####
|
#### gram_schmidt ####
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
using Plots
|
using Plots
|
||||||
include("../helper.jl")
|
include("../common.jl")
|
||||||
include("../p_space.jl")
|
include("../p_space.jl")
|
||||||
|
|
||||||
vertices = [0, 1 - 0.5im, 2, 6]
|
vertices = [0, 1 - 0.5im, 2, 6]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
using Plots
|
using Plots
|
||||||
include("../helper.jl")
|
include("../common.jl")
|
||||||
include("../p_space.jl")
|
include("../p_space.jl")
|
||||||
|
|
||||||
vertices = [0, 0.5 - 0.3im, 1, 6]
|
vertices = [0, 0.5 - 0.3im, 1, 6]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue