Skip to content

ifilot/dftcxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DFTCXX

Build

DFTCXX calculates the electronic structure of simple molecules within the framework of Density Functional Theory (DFT) at the LDA level of theory. It is mainly written for educational purposes. The source code has been documented (i.e. commented) relatively extensively to provide students the opportunity to read and understand the algorithm.

Tip

  • Want to know more about electronic structure calculations? Have a look at my free lecture book.
  • Interested in a Python-based Density Functional Theory code? Have a look at PyDFT

Compilation

DFTCXX depends on a couple of libraries, which are normally directly available by your favorite package manager.

To ensure you have the right packages on a (Debian-type) of operating system, you can run the following

sudo apt install build-essential cmake libboost-all-dev pkg-config libeigen3-dev \
libpng-dev libtclap-dev

To compile the program:

mkdir build
cd build
cmake ../src
make -j9

Execution

./dftcxx -i ../molecules/h2.in

About

C++ based DFT program for educational purposes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages