Skip to main content

Charge equilibration method for crystal structures

Project description

EQeq

Charge equilibration method for crystal structures.

Modified version, which allows specifying additional parameters:

  • lambda (default: 1.2) The dielectric screening parameter. Corresponds to eps_eff = 1.67
  • hI0 (default: -2.0) The electron affinity of hydrogen
  • chargePrecision (default: 3) Number of digits to use for point charges
  • method (default: "ewald", alternative: "nonperiodic") Method to compute the Coulombic interaction
  • mR (default: 2) Number of "expansion" unit cells to consider in periodic calculation ("real space"). 2 => 5x5x5
  • mK (default: 2) Number of "expansion" unit cells to consider in periodic calculation ("frequency space"). 2 => 5x5x5
  • eta (default: 50) Ewald splitting parameter
  • ionizationdata (default: ionizationdata.dat) File with ionization potentials and electron affinities. Default data are EA: experimental, T.Andersen et al., 1999 IP: experimental, C.E.Moore, 1970
  • chargecenters (default: chargecenters.dat) File with common oxidation states (lowered, if missing ionizationdata)

Installation

pip install pyeqeq

Usage

Command line interface

To run the HKUST-1 example:

eqeq examples/HKUST1/HKUST1.cif -o examples/HKUST1/HKUST1_w_charge.cif

Python interface

from pyeqeq import run_on_cif
run_on_cif("examples/HKUST1/HKUST1.cif")

Summary

The source code in this program demonstrates the charge equilibration method described in the accompanying paper. The purpose of the source code provided is to be minimalistic and do "just the job" described. In practice, you may wish to add various features to the source code to fit the particular needs of your project.

Major highlights of program:

  • Obtains charges for atoms in periodic systems without iteration
  • Can use non-neutral charge centers for more accurate point charges
  • Designed for speed (but without significant code optimizations)

Features not implemented but that you may want to consider adding:

  • Spherical cut-offs (for both real-space and reciprocal-space sums)
  • An iterative loop that guesses the appropriate charge center (so the user does not have to guess)
  • Ewald parameter auto-optimization
  • Various code optimizations

Authors

Original implementation by Christopher E. Wilmer, Randall Q. Snurr (advisor), Hansung Kim (car output), Patrick Fuller (streaming functionality), Louis Knapp (json output). Updated by Daniele Ongari.

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

pyeqeq-0.0.9.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

pyeqeq-0.0.9-cp37-cp37m-macosx_10_14_x86_64.whl (100.1 kB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

File details

Details for the file pyeqeq-0.0.9.tar.gz.

File metadata

  • Download URL: pyeqeq-0.0.9.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.9

File hashes

Hashes for pyeqeq-0.0.9.tar.gz
Algorithm Hash digest
SHA256 a164c447cc6ab8a23662db20fa43875199afe7a78f913c62fc0675197d30148b
MD5 af7c684cf7674af59c0fc15a1772b9b8
BLAKE2b-256 68383fd24ba0ddf9783aed1430ebca2587fe513e945ada7b8d31bfeb08f17058

See more details on using hashes here.

Provenance

File details

Details for the file pyeqeq-0.0.9-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyeqeq-0.0.9-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 100.1 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.9

File hashes

Hashes for pyeqeq-0.0.9-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2e5064bba108ee20e2bb57149ba93649899833003b8707076f1b7e6e0d7a56e3
MD5 a22b90af3af776c8d0bf1763d8ce8f94
BLAKE2b-256 4da3cbb0cd67ddbc567f09200a7d861a512d3c466933c6e13e0512b430168192

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page