diff --git a/EC.jl b/EC.jl index b4c76db..692f282 100644 --- a/EC.jl +++ b/EC.jl @@ -1,5 +1,5 @@ using SparseArrays, LinearAlgebra, Arpack, Plots -include("helper.jl") +include("common.jl") "EC model for a Hamiltonian family H(c) = H0 + c * H1" mutable struct affine_EC diff --git a/berggren_3body_resonance.jl b/berggren_3body_resonance.jl index e8221cc..41b2eb8 100644 --- a/berggren_3body_resonance.jl +++ b/berggren_3body_resonance.jl @@ -1,5 +1,5 @@ using LinearAlgebra, SparseArrays, Arpack -include("helper.jl") +include("common.jl") include("p_space.jl") include("ho_basis.jl") include("berggren.jl") diff --git a/calculations/B2R_Berggren_poles.jl b/calculations/B2R_Berggren_poles.jl index ba6967a..9a7577d 100644 --- a/calculations/B2R_Berggren_poles.jl +++ b/calculations/B2R_Berggren_poles.jl @@ -1,5 +1,5 @@ include("../EC.jl") -include("../helper.jl") +include("../common.jl") include("../p_space.jl") # contour diff --git a/calculations/B2R_comparison.jl b/calculations/B2R_comparison.jl index f063fab..9df4254 100644 --- a/calculations/B2R_comparison.jl +++ b/calculations/B2R_comparison.jl @@ -1,5 +1,5 @@ include("../EC.jl") -include("../helper.jl") +include("../common.jl") include("../p_space.jl") berggren_mesh = get_mesh([0, 0.4 - 0.15im, 0.8, 6], [128, 128, 128]) diff --git a/calculations/R2R_Berggren.jl b/calculations/R2R_Berggren.jl index dc21130..c96cfc5 100644 --- a/calculations/R2R_Berggren.jl +++ b/calculations/R2R_Berggren.jl @@ -1,5 +1,5 @@ include("../EC.jl") -include("../helper.jl") +include("../common.jl") include("../p_space.jl") # contour diff --git a/calculations/R2R_Berggren_poles.jl b/calculations/R2R_Berggren_poles.jl index 9e3afdd..9c9d436 100644 --- a/calculations/R2R_Berggren_poles.jl +++ b/calculations/R2R_Berggren_poles.jl @@ -1,5 +1,5 @@ include("../EC.jl") -include("../helper.jl") +include("../common.jl") include("../p_space.jl") # contour diff --git a/helper.jl b/common.jl similarity index 100% rename from helper.jl rename to common.jl diff --git a/ho_basis.jl b/ho_basis.jl index f624815..7d7219c 100644 --- a/ho_basis.jl +++ b/ho_basis.jl @@ -1,7 +1,7 @@ using SparseArrays using QuadGK using LRUCache -include("helper.jl") +include("common.jl") include("math.jl") "1-body HO basis" diff --git a/math.jl b/math.jl index f4a6208..a199365 100644 --- a/math.jl +++ b/math.jl @@ -1,5 +1,5 @@ using SpecialFunctions, WignerSymbols -include("helper.jl") +include("common.jl") # Gaussian potentials in HO space inv_factorial(n) = Iterators.prod(inv.(1:n)) diff --git a/p_space_2body.jl b/p_space_2body.jl index 95017be..5380eed 100644 --- a/p_space_2body.jl +++ b/p_space_2body.jl @@ -1,5 +1,5 @@ using SparseArrays, Arpack -include("helper.jl") +include("common.jl") include("p_space.jl") E_target = -0.3919 diff --git a/p_space_3body.jl b/p_space_3body.jl index f92eccc..760fcdc 100644 --- a/p_space_3body.jl +++ b/p_space_3body.jl @@ -1,5 +1,5 @@ using LinearAlgebra, SparseArrays, Arpack -include("helper.jl") +include("common.jl") include("p_space.jl") include("ho_basis.jl") diff --git a/p_space_3body_resonance.jl b/p_space_3body_resonance.jl index b595855..1a34b92 100644 --- a/p_space_3body_resonance.jl +++ b/p_space_3body_resonance.jl @@ -1,5 +1,5 @@ using LinearAlgebra, SparseArrays, Arpack -include("helper.jl") +include("common.jl") include("p_space.jl") include("ho_basis.jl") diff --git a/test/misc.jl b/test/misc.jl index 9329e2e..54835f3 100644 --- a/test/misc.jl +++ b/test/misc.jl @@ -1,5 +1,5 @@ using SparseArrays, LinearAlgebra -include("../helper.jl") +include("../common.jl") #### gram_schmidt #### diff --git a/test/p_space_basic.jl b/test/p_space_basic.jl index 86d1481..1d9f764 100644 --- a/test/p_space_basic.jl +++ b/test/p_space_basic.jl @@ -1,5 +1,5 @@ using Plots -include("../helper.jl") +include("../common.jl") include("../p_space.jl") vertices = [0, 1 - 0.5im, 2, 6] diff --git a/test/simple_berggren.jl b/test/simple_berggren.jl index 32bbb62..41b0450 100644 --- a/test/simple_berggren.jl +++ b/test/simple_berggren.jl @@ -1,5 +1,5 @@ using Plots -include("../helper.jl") +include("../common.jl") include("../p_space.jl") vertices = [0, 0.5 - 0.3im, 1, 6]