Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single precision #12

Open
gustavojra opened this issue Jul 15, 2022 · 0 comments
Open

Single precision #12

gustavojra opened this issue Jul 15, 2022 · 0 comments

Comments

@gustavojra
Copy link
Member

While the integrals must be computed in double precision. They can be stored in single precision for post-HF computations.

We only need to modify the full-array functions. i.e. overlap(bs) (not overlap(bs, i,j)).

It would be nice to have something like:

julia> overlap(bs, precision=single)
...

To do that, we will just need to compute shell-wise terms in double precision and convert them to single precision. Maybe simply changing how the output array is created will get this done. See

out = zeros(BS.nbas, BS.nbas)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant