GithubHelp home page GithubHelp logo

ale-mendez / hartree-fock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pabloalcain/hartree-fock

1.0 1.0 0.0 38 KB

Hartree-Fock Johnson program wrapped to python

Python 7.67% Fortran 91.93% Makefile 0.40%

hartree-fock's Introduction

Hartree-Fock solution of atoms

This software is used in Quantum Chemistry course in University of Buenos Aires. For more reference, go to the webpage [in Spanish!]. It ports a Hartree-Fock solution for central potentials made by Walter Johnson for the Notre Dame University

DISCLAIMER: The files here do not follow any guideline respecting to the usual python module distribution. It is done so in purpose, so students know what the sources are.

Installation

After downloading the package, go to src/ folder and run make library

cd src/
make library

Running

In the root folder of the project, there is an example called krypton.py that calculates Hartree-Fock solution for a neutral Kr atom. You can (and should) take a look at its source code and modify it properly.

Help

The file hartree-fock.py has the help embedded in the docstrings

Another way

In order to keep the previous format working, you can also build the old (and less user friendly) executable file with:

cd src/
make executable

After that, you can run the file ./johnson.e and work with the executable file directly. Keep in mind that if you do that, you'll have to manually extract all info like the wavefunction and the energy. We insist on not using this file, except it is strictly necessary.

Note

The johnson.for file had no license information and no reference to link to, so I left the header and comments. If this violates any copyright, let me know and I will take this down. Please, if you share, keep the copyright information on the original (and the hardest part of the code!) johnson.for file.

hartree-fock's People

Contributors

pabloalcain avatar ale-mendez avatar

Stargazers

Sebastián D. López avatar

Watchers

Sebastián D. López avatar

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.