Giter VIP home page Giter VIP logo

hartree-fock-app-linux's Introduction

Hartree Fock App Build status

Table of contents

General info

Calculates energies and drows plot of molecular orbitals for small and medium molecules, for nucleons: H to Ca, Ti and Fe.

Setup

First you need to download and install armadillo. You can download this from: http://arma.sourceforge.net/download.html

Next install it:

  1. You will need cmake
$ sudo apt-get install cmake
  1. If not present already, install LAPACK and BLAS:
$ sudo apt-get install liblapack-dev
$ sudo apt-get install libblas-dev
  1. Open terminal into the directory that was created by unpacking the Armadillo archive Type:
$ cmake .
$ make
$ sudo make install

After this you can download repository:

$ git clone https://github.com/piotrfutymski/Hartree-Fock-App-Linux.git
$ cd Hartree-Fock-App-Linux
$ cmake .
$ make

To run script you will need matplotlib and tornado:

$ pip install matplotlib
$ pip install tornado

Now you can run bash script with example input like this:

$ chmod +x HF.sh
$ ./HF.sh examples/H2O.txt out.txt

Output will be find in out.txt and molecular orbitals graphs in pic folder.

Input file

For example:

HF2 MO_GRAPHS DENSITY_GRAPH 
*xyz 0 1
Li 	0.0000 	0.0000 	0.0000
H 	0.0000 	0.0000 	1.5949

*
*name LiH *
*plain yz *

You can change/add nucleons and positions. Choose from: [ H He Li Be B C N O F Ne, Na, Mg, Al, Si, P, S, Cl, Ar, K, Ca, Ti, Fe ].

All positions are in angstroms.

HF / HF1 - uses simple basis set

HF2 - uses more complex basis set

The upper limit for number of functions used in calculation is about 190/200 - depends from RAM memory.

No upper limit for primitives.

H2O orbital

alt text

hartree-fock-app-linux's People

Contributors

piotrfutymski avatar

Watchers

 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.