Timing basis construction

This commit is contained in:
Nuwan Yapa 2024-04-03 10:50:19 -04:00
parent 51dab59702
commit 85e109dcbb
1 changed files with 6 additions and 3 deletions

View File

@ -17,9 +17,12 @@ c2 = 2
println("No of threads = ", Threads.nthreads())
Es, n1s, l1s, n2s, l2s = get_2p_basis(E_max)
mask1 = (n2s .== n2s') .&& (l2s .== l2s')
mask2 = (n1s .== n1s') .&& (l1s .== l1s')
@time "Basis" Es, n1s, l1s, n2s, l2s = get_2p_basis(E_max)
@time "Masks" begin
mask1 = (n2s .== n2s') .&& (l2s .== l2s')
mask2 = (n1s .== n1s') .&& (l1s .== l1s')
end
println("Basis size = ", length(Es))
println("Constructing KE matrices")