Giter Site home page Giter Site logo

aromanro / hartreefock Goto Github PK

View Code? Open in Web Editor NEW
52.0 7.0 16.0 708 KB

A program implementing the Hartree–Fock (also post-HF: MP2, CCSD(T), CIS and TDHF/RPA)/self-consistent field method (also DIIS) with Gaussian orbitals

Home Page: https://compphys.go.ro/the-hartree-fock-program/

License: GNU General Public License v3.0

C++ 98.42% C 1.58%
physics computational-physics hartree-fock atom molecule orbital gaussian eigen self-constent-field mfc

hartreefock's Issues

Add electric field term to the Hamiltonian

Only the 'core' part needs to be changed, it's not so hard.

The advantage would be to be able to calculate the electric dipole moment using the derivative of energy with respect to the electric field.

For details, see 6.101 and the explanation before it from Szabo & Ostlund, Modern Quantum Chemistry. Introduction to Advanced Electronic Structure Theory.

Structural computations

Having this #16 implemented, it's just an optimization problem.

The code could compute the molecule structure.

Add more basis sets

In principle the program should be able to use a different number of Gaussians in the inner shell than in the valence shell, so it could work with orbital sets like 3-21G or 6-21G. Maybe the parsing code should be changed for that, but it should be possible to use them.

Results are wrong if orbitals with L>1 are involved

First I noticed the wrong results by testing some * basis sets, but it turned out that the results are wrong even for STOnG if a D orbital is involved. As results come lower than the Hartree Fock limit, this is very probably a bug in integrals computation.

Vibrational spectra

Having this #16 implemented, vibrational modes and frequencies could be computed.

It could even go further, computing line intensities.

Add DFT

Another thing that probably won't happen soon - but it's something that is possible - is to add DFT to the project.

Compute gradient, Hessian matrix

The derivatives could be computed numerically (central difference would be my choice).
In fact, they could be computed 'analytically', but I don't think I would use that method for this project, I suppose the post-HF things would complicate things even more.

They could be used for optimizations computations, that is, computation of molecular structure.
Also vibrational modes & frequencies could be computed.
Ideally, also the lines intensity...

Add * orbitals

Add unoccupied/polarization orbitals to the basis set (as in STO-3G* or 3-21G*).

Implement CISD or CID

For now CIS for restricted method is implemented, to be used in TDHF/RPA.

Maybe I'll also implement at least CID.

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.