Skip to main content

Python-based Fermi-Löwdin orbital self-interaction correction (FLO-SIC)

Project description

GitLab Logo

PyFLOSIC2

Python-based Fermi-Löwdin orbital self-interaction correction (FLO-SIC)

license language version DOI

researchgate youtube twitter

Installation

git clone https://gitlab.com/opensic/pyflosic2.git
cd pyflosic2
pip3 install -e .

Test the installation.

from pyflosic2.sic import flo

Example

Build a python file, e.g., run.py, with the following content

from pyflosic2 import Atoms,WORKFLOW,GUI
# Nuclei
sym = ['C']+4*['H']
p0 = [+0.00000000,+0.00000000,+0.00000000]
p1 = [+0.62912000,+0.62912000,+0.62912000]
p2 = [-0.62912000,-0.62912000,+0.62912000]
p3 = [+0.62912000,-0.62912000,-0.62912000]
p4 = [-0.62912000,+0.62912000,-0.62912000]
pos = [p0,p1,p2,p3,p4]
atoms = Atoms(sym,pos,spin=0,charge=0)
# Workflow
wf = WORKFLOW(atoms,mode='unrestricted',log_name='UWF.log')
wf.kernel(flevel=0)
print(wf.p.atoms,wf.etot)

and run in your environment

python3 run.py 

Scripts

pyflosic2 --gui [name].xyz
pyflosic2 --wf unrestricted --xyz [nuclei_only].xyz
pyflosic2 --run unrestricted --xyz [nuclei_and_fods].xyz 

Note!

If you discover any problem while working with the code, please do not hesitate to contact one of the developers.

Citation

PyFLOSIC2 builds ontop of the PyFLOSIC code.
Thus if you currently use the PyFLOSIC2 code
for a scientific article or contribution,
please cite the following article.

  • PyFLOSIC: Python-based Fermi–Löwdin orbital self-interaction correction
    S. Sebastian, L. Fiedler, J. Kraus, J. Kortus, K. Trepte, and S. Lehtola
    arXiv e-prints, Subject: Computational Physics (physics.comp-ph), 2020, arXiv:1905.02631
    J. Chem. Phys. 153, 084104, 2020

  • Why the energy is sometimes not enough - A dive into self-interaction corrected density functional theory
    S. Liebing, K. Trepte, and S. Schwalbe

Documentation

Please see the PyFLOSIC2 documentation for a detailed introduction.

Functionality

Feature Status
RFLO Production (code, examples)
UFLO Production (code, examples)
RFLOSIC Production (code, examples)
UFLOSIC Production (code, examples)
RWORKFLOW Production (code, examples)
UWORKFLOW Production (code, examples)
RRUN Production (code, examples)
URUN Production (code, examples)
UENSEMBLE Development: Do not use!
guess/pycom Production (code, examples)
guess/pyfodmc Production (code, examples)
guess/perception Development: Do not use!
ff/uff Development: Do not use!

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

PyFLOSIC2-2.0.0rc0.tar.gz (198.1 kB view details)

Uploaded Source

Built Distribution

PyFLOSIC2-2.0.0rc0-py3-none-any.whl (275.8 kB view details)

Uploaded Python 3

File details

Details for the file PyFLOSIC2-2.0.0rc0.tar.gz.

File metadata

  • Download URL: PyFLOSIC2-2.0.0rc0.tar.gz
  • Upload date:
  • Size: 198.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for PyFLOSIC2-2.0.0rc0.tar.gz
Algorithm Hash digest
SHA256 d01fd305ccd6ae7041c192bd9461411d82320ab3a478057361d49beecc56f502
MD5 e198003c3c68464b698839ef8805ac4d
BLAKE2b-256 a40fccb37fb69111c358fd736b9192550ebeca35ef84bbc39702127b8b21362f

See more details on using hashes here.

File details

Details for the file PyFLOSIC2-2.0.0rc0-py3-none-any.whl.

File metadata

  • Download URL: PyFLOSIC2-2.0.0rc0-py3-none-any.whl
  • Upload date:
  • Size: 275.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for PyFLOSIC2-2.0.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 3eb034493ca03c283dad35a9d0084747661b6df51498cf69ac8178d6961e91a5
MD5 4402486af6d6fe80ea756cc00ad146c1
BLAKE2b-256 500b186ea3e7ae337eb33ae4f0edd5d993d85da2afd7ce001ea5a84dcc262183

See more details on using hashes here.

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