Temporary optimization
This commit is contained in:
parent
56f1b9f68d
commit
8bcb5c8c12
|
|
@ -29,7 +29,7 @@ println("Constructing KE matrices")
|
||||||
println("Constructing PE matrices")
|
println("Constructing PE matrices")
|
||||||
V_l(l, n1, n2) = Va * V_Gaussian(Ra, l, n1, n2; ω=ω) + Vb * V_Gaussian(Rb, l, n1, n2; ω=ω)
|
V_l(l, n1, n2) = Va * V_Gaussian(Ra, l, n1, n2; ω=ω) + Vb * V_Gaussian(Rb, l, n1, n2; ω=ω)
|
||||||
@time "V1" V1 = sp_V_matrix(V_l, n1s, l1s)
|
@time "V1" V1 = sp_V_matrix(V_l, n1s, l1s)
|
||||||
@time "V_relative" V_relative = sp_V_matrix(V_l, n1s, l1s) + sp_V_matrix(V_l, n2s, l2s)
|
@time "V_relative" V_relative = V1 + sp_V_matrix(V_l, n2s, l2s)
|
||||||
@time "Moshinsky brackets" Moshinsky_mat = Moshinsky_transform(Es, n1s, l1s, n2s, l2s, Λ)
|
@time "Moshinsky brackets" Moshinsky_mat = Moshinsky_transform(Es, n1s, l1s, n2s, l2s, Λ)
|
||||||
@time "V2 via transform" V2 = Moshinsky_mat * V_relative
|
@time "V2 via transform" V2 = Moshinsky_mat * V_relative
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue