GithubHelp home page GithubHelp logo

Comments (4)

Walter-Feng avatar Walter-Feng commented on September 26, 2024

It's more like My historical reason for learning & writing Hartree-Fock. The Obara-Saika part is inherited from my C version of Hartree-Fock, and it was written when I was being an RA in University of Bristol, and thus the thesis mentioned in the comments, instead of directly implementing the Obara-Saika scheme.

So it is relatively unrelated to the performance - the codes should be slower and ill-optimized. To implement a faster one, maybe the first step is to parse RRs before runtime, or simply use good libraries. This repo is more intended for tutorials, so I believe less-optimized code can promote better understanding.

The implementation is not fixed yet- I was thinking I have correct implemention in Rys quadrature method, maybe not a hurry for me to fix the ERI in Obara-Saika. Maybe it's good chance I give it a look and probably directly implement the OS scheme.

from hartree-fock-in-cpp.

Walter-Feng avatar Walter-Feng commented on September 26, 2024

But overall it will require less computation to sum over all the function pairs, as these pairs can be utilized for both sides of the integrals (which I didn't do in my code).

By the way, the thesis I was referencing has some errors. I recall it was \xi -> \zeta in ERI, if you really want to check it.

from hartree-fock-in-cpp.

mavenlin avatar mavenlin commented on September 26, 2024

Thanks for the clarification!

from hartree-fock-in-cpp.

Walter-Feng avatar Walter-Feng commented on September 26, 2024

Obara-Saika scheme of ERI is now correctly implemented. Super slow though :(

from hartree-fock-in-cpp.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.