Skip to content

Commit

Permalink
incorporate generated ncorr
Browse files Browse the repository at this point in the history
  • Loading branch information
ACEsuit committed Nov 14, 2023
1 parent 588a846 commit a4a196a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/uface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ function uface_from_ace1_inner(mbpot, iz; n_spl_points = 100)
spec_AA_inds[i] = sort([ inv_spec_A[b] for b in bb ])
end

AA_basis = P4ML.SparseSymmProd(spec_AA_inds)
# AA_basis = P4ML.SparseSymmProd(spec_AA_inds)
c_r_iz = AA_transform[:T]' * mbpot.coeffs[iz]
aadot = generate_AA_dot(spec_AA_inds, c_r_iz)


return UFACE_inner(rbasis_new, rYlm_basis_sc, A_basis, AA_basis, Dict()), AA_transform
return UFACE_inner(rbasis_new, rYlm_basis_sc, A_basis, aadot, Dict()), AA_transform
end

0 comments on commit a4a196a

Please sign in to comment.