From 8bcb5c8c12a326b087dd1d51de9370bce0ec4b2e Mon Sep 17 00:00:00 2001 From: Nuwan Yapa Date: Fri, 8 Mar 2024 18:35:04 -0500 Subject: [PATCH] Temporary optimization --- ho_basis_3body.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ho_basis_3body.jl b/ho_basis_3body.jl index b125e5d..82a5c56 100644 --- a/ho_basis_3body.jl +++ b/ho_basis_3body.jl @@ -29,7 +29,7 @@ println("Constructing KE matrices") println("Constructing PE matrices") 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 "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 "V2 via transform" V2 = Moshinsky_mat * V_relative