pydft
Project description
PyDFT
Python based Density Functional Theory code for educational purposes. The documentation of PyDFT can be found here.
Purpose
This repository contains a working density functional code using a localized Gaussian-type basis set and Becke grids for the numerical evaluation of density functionals.
Installation
This code depends on a few other packages. To install this code and its dependencies, run the following one-liner from Anaconda prompt
conda install -c ifilot pydft pyqint pylebedev pytessel
Usage
Check the current version
import pydft
print(pydft.__version__)
Performing a simple calculation
from pydft import MoleculeBuilder, DFT
CO = MoleculeBuilder().get_molecule("CO")
dft = DFT(CO, basis='sto3g', verbose=True)
en = dft.scf(1e-4)
print("Total electronic energy: %f Ht" % en)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydft-0.6.0.tar.gz
(1.4 MB
view hashes)
Built Distribution
pydft-0.6.0-py3-none-any.whl
(21.7 kB
view hashes)