dftbplus-step


Namedftbplus-step JSON
Version 2024.10.20 PyPI version JSON
download
home_pagehttps://github.com/molssi-seamm/dftbplus_step
SummaryA SEAMM plug-in for DFTB+, a fast quantum mechanical simulation code.
upload_time2024-10-20 21:56:34
maintainerNone
docs_urlNone
authorPaul Saxe
requires_pythonNone
licenseBSD-3-Clause
keywords seamm plug-in flowchart quantum simulation atomistic dftb+ dftbplus tight-binding dft
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==========
DFTB+ Step
==========

.. image:: https://img.shields.io/github/issues-pr-raw/molssi-seamm/dftbplus_step
   :target: https://github.com/molssi-seamm/dftbplus_step/pulls
   :alt: GitHub pull requests

.. image:: https://github.com/molssi-seamm/dftbplus_step/workflows/CI/badge.svg
   :target: https://github.com/molssi-seamm/dftbplus_step/actions
   :alt: Build Status

.. image:: https://codecov.io/gh/molssi-seamm/dftbplus_step/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/molssi-seamm/dftbplus_step
   :alt: Code Coverage

.. image:: https://github.com/molssi-seamm/dftbplus_step/workflows/CodeQL/badge.svg
   :target: https://github.com/molssi-seamm/dftbplus_step/security/code-scanning
   :alt: Code Quality

.. image:: https://github.com/molssi-seamm/dftbplus_step/workflows/Release/badge.svg
   :target: https://molssi-seamm.github.io/dftbplus_step/index.html
   :alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/dftbplus_step.svg
   :target: https://pypi.python.org/pypi/dftbplus_step
   :alt: PyPi VERSION

Description
-----------

A SEAMM_ plug-in for DFTB+, a fast quantum mechanical simulation code.

This plug-in provides a graphical user interface (GUI) for setting up
simulations using `DFTB+`_ quantum mechanical simulation software
package. DFTB+ does quantum mechanical simulations similar to standard
density functional theory (DFT) for molecules, crystals and
materials. The simulations are carried out in an approximate way using
the **D**\ ensity **F**\ unctional based **T**\ ight **B**\ inding
method (DFTB), which is typically about two orders of magnitude faster
than traditonal DFT.


* Free software: BSD-3-Clause
* Documentation: https://molssi-seamm.github.io/dftbplus_step/index.html

Features
--------

* The selection and use of any of the parameter sets found at the
  `DFTB website`_.
* Single-point energy calculations
* Structural (geometry) optimization

At the moment the plug-in only handles molecular (non-periodic)
systems. Periodic systems will be added in an upcoming release.

.. _SEAMM: https://github.com/molssi-seamm
.. _DFTB+: https://dftbplus.org
.. _DFTB website: https://dftb.org

Credits
---------

This package was created with Cookiecutter_ and the
`molssi-seamm/cookiecutter-seamm-plugin`_ project template.

Developed by the Molecular Sciences Software Institute (MolSSI_),
which receives funding from the National Science Foundation under
award ACI-1547580

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`molssi-seamm/cookiecutter-seamm-plugin`: https://github.com/molssi-seamm/cookiecutter-seamm-plugin
.. _MolSSI: https://molssi.org


=======
History
=======
2024.10.20 -- Added the standard results for drivers
    * Added the standard results -- energy, gradients, and model -- that can be written
      to Results.json for drivers like Structure Step and Thermochemistry Step.
      
2024.7.30 -- Fix: the Docker build needed updating for changes in SEAMM

2024.7.29 -- Bugfix: initial version of dftbplus.ini
    * The initial version of dftbplus.ini was not generated correctly if it was
      missing. This caused a crash when running DFTB+.

2024.4.24 -- Finalized support for Docker containers
    * Fixed issues and tested running in containers.
    * Add CI to make a Docker image for DFTB+
    * Fixed issue with changes in input for DFTB+: CalculateGradients has become
      PrintGradients it seems.
      
2024.1.18 -- Support for running in containers and writing input only.
    * Added new property: scaled dipole.
    * Added option to write the input file and not run DFTB+

2023.11.10 -- Standard structure handling and cleaned up output
    * Switched to standard structure handling and naming, giving consistent options
      across SEAMM.
    * Corrected issues with the model name in the properties.
    * Generally cleaned up the output, mainly indentation.
      
2023.11.8 -- Bugfix: Fermi level being an array caused problems
    * The Fermi level in DFTB+ is a vector with 1 or 2 elements, depending whether the
      calculation is spin-polarized. DFTB+ can handle different Fermi levels, but it is
      not clear how useful this is, so for the time being not allowing such calculations
      and treating the Fermi level as a scalar.
      
2023.11.7 -- Added structure to orbital and density plots
    * The Dashboard expects 'structure.sdf' in order to display the structure with the
      orbital or density plots from CUBE files.

2023.3.5 -- Fixed issues with bandstructure and DOS
    * The bandstructure and DOS substeps updated to work with changes in the underlying
      classes. This had been missed earlier.
      
2023.2.17.2 -- Fixed bug with xTB parameters
    * xTB runs have a blank line in results.tag which caused a crash.

2023.2.17.1 -- Fixed Linux bug with thread limit

2023.2.17 -- Limiting number of threads
    * By default DFTB+ can try to use all the cores on a larger machine, which can be
      inneficient for smaller systems. This changes limits DFTB+ to 1 core per 500
      atoms, which seems a reasonable start. This will need more work in the future.

2023.2.15 -- Documentation and bug fixes
    * Restructured the documentation and applied the new theme.
    * Fixed crash with the plots for potentials that lack the need info for the
      plots. Silently ignore the plots.
    * Added standard properties.

2022.10.20 -- Added handling of properties in the database.

2022.9.18 -- Added spin parameters for 3ob dataset
    * Added the spin parameters for the 3ob parameter set from Prof. Elstner. These were
      provide by Kewei Zhao on the DFTB+ mailing list, 2022-9-8.

2022.9.15 -- Bugfix: plots for periodic systems
    * fixed error with density and orbital plots for periodic systems.

2022.9.9 -- Density and orbital plots
    * Added plots for the density, spin density, and orbitals.

2022.8.22 -- More documentation.
    * Added the DFTB+ recipe #2

2022.8.21 -- Fixed issue using Python 3.10

2022.8.21 -- Documentation update
    * Added initial recipes (tutorials)

2022.8.19 -- Improved information about the energy
    * Corrected total energy to be that of the conventional cell
    * Added how many primitive cells make up the conventional cell
    * Added energy per empirical formula unit
    * Added these energies and counts to the output data, if selected.
      
2022.8.17 -- Finally fully added DOS and band structure
    * Now handle magnetic systems
    * Fixed issues with symmetry changing during optimization cause crashes
    * Fixed incorrect printing of atom charges and spins
    * Enhance the ChooseParameters step to support using variables for the parameter
      dataset and subset
      
2022.7.24 -- Support for magnetism
    * Fixed and improved handling of spin in periodic systems
    * By default now use a previous charge file or charges and spins on atoms, if
      available, as starting guess.
    * DOS and bandstructure extended to spin-polarized systems, and a combined graph
      added for DOS & bandstructure.
      
2022.7.20.1 -- Correction to DOS and band structure
    The DOS and band structure needed to be shifted to place the Fermi energy at zero.
    
2022.7.20 -- Bug fix for band structure
    Band structure sometimes had a fatal error due to charges on the structure as well
    as in the charge file from a previous run.
    
2022.5.23 -- Bug fixes
    * Spin polarized calculations & more output
    * Added control over using primitive or actual cell.
    * Bug fixes: handling atoms with no charge, and printing k-mesh

2022.3.16 -- Added control over using primitive or full cell
    While usually it is best to use the full symmetry and primitive cell, for some
    calculations where cancelation of error is import, e.g. defect energies, it is
    important to use the same cell in all the calculations. This feature allows for
    this.

2022.3.14 -- Handling spin-polarization and improved output of charges and spin

2022.2.25 -- Added xTB parameters

2022.2.8 -- Added DOS and band structure
    * Added handling of space group symmetry.
    * Automatically use the primitive cell when it is different from the conventional cell.
    * Calculate and graph the DOS when running the energy or optimization.
    * Added a band structure sub-step to calculate and graph the band structure. This is
      an initial, working version, but needs considerable enhancement.
    * To accomplish the above, restructured the code significantly and moved the actual
      execution of DFTB+ to the appropriate sub-steps. This is need to support e.g. band
      structure which requires two sequential calculations, the first to calculate the
      charge density and the second to get the band structure from the fixed charge
      density.

2022.1.18 -- Updated for DFTB+ 21.2
    * Updated to the latest version of DFTB+ (21.2), which made large changes in how
      optimizations are handled. 
    * Updated the structure handling to give the standard options for where to put the
      modified configuration and how to name it. 
    * Added enhancement to calculate the electronic energy of formation, and added the
      reference energies to the metadata for the main 3ob and mio datasets. 

2021.11.26 -- Periodic calculations
    Added handling of the reciprocal space k-mesh for periodic calculations.

2021.10.13 -- Minor fixes and format issues.
    Also updated for Python 3.8 and 3.9
    
2021.6.5 -- Added installation of Slater-Koster files.

2021.6.4 -- Updated for new command-line argument handling.
    Corrected the default path for the Slater-Koster functions.

2021.5.21 -- Added installer for DFTB+ background code
    Added a plug-in specific installer that installs DFTB+ in the seamm-dftbplus
    environment if needed, and sets up the configuration file entries needed.
    
2021.2.10 (10 February 2021)
----------------------------

* Updated the README file to give a better description.
* Updated the short description in setup.py to work with the new installer.
* Added keywords for better searchability.

2021.2.3 (3 February 2021)
--------------------------

* Internal Release

  - Compatible with the enhance version of MolSystem classes.

2020.12.2 (2 December 2020)
---------------------------

* First release  of a working version on PyPI.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/molssi-seamm/dftbplus_step",
    "name": "dftbplus-step",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "SEAMM, plug-in, flowchart, quantum, simulation, atomistic, DFTB+, DFTBplus, tight-binding, DFT",
    "author": "Paul Saxe",
    "author_email": "psaxe@molssi.org",
    "download_url": "https://files.pythonhosted.org/packages/c0/2c/dac7e833bed59ce9188e4d97f97007e371dcfcb363d6484db1cbb605afa1/dftbplus_step-2024.10.20.tar.gz",
    "platform": "Linux",
    "description": "==========\nDFTB+ Step\n==========\n\n.. image:: https://img.shields.io/github/issues-pr-raw/molssi-seamm/dftbplus_step\n   :target: https://github.com/molssi-seamm/dftbplus_step/pulls\n   :alt: GitHub pull requests\n\n.. image:: https://github.com/molssi-seamm/dftbplus_step/workflows/CI/badge.svg\n   :target: https://github.com/molssi-seamm/dftbplus_step/actions\n   :alt: Build Status\n\n.. image:: https://codecov.io/gh/molssi-seamm/dftbplus_step/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/molssi-seamm/dftbplus_step\n   :alt: Code Coverage\n\n.. image:: https://github.com/molssi-seamm/dftbplus_step/workflows/CodeQL/badge.svg\n   :target: https://github.com/molssi-seamm/dftbplus_step/security/code-scanning\n   :alt: Code Quality\n\n.. image:: https://github.com/molssi-seamm/dftbplus_step/workflows/Release/badge.svg\n   :target: https://molssi-seamm.github.io/dftbplus_step/index.html\n   :alt: Documentation Status\n\n.. image:: https://img.shields.io/pypi/v/dftbplus_step.svg\n   :target: https://pypi.python.org/pypi/dftbplus_step\n   :alt: PyPi VERSION\n\nDescription\n-----------\n\nA SEAMM_ plug-in for DFTB+, a fast quantum mechanical simulation code.\n\nThis plug-in provides a graphical user interface (GUI) for setting up\nsimulations using `DFTB+`_ quantum mechanical simulation software\npackage. DFTB+ does quantum mechanical simulations similar to standard\ndensity functional theory (DFT) for molecules, crystals and\nmaterials. The simulations are carried out in an approximate way using\nthe **D**\\ ensity **F**\\ unctional based **T**\\ ight **B**\\ inding\nmethod (DFTB), which is typically about two orders of magnitude faster\nthan traditonal DFT.\n\n\n* Free software: BSD-3-Clause\n* Documentation: https://molssi-seamm.github.io/dftbplus_step/index.html\n\nFeatures\n--------\n\n* The selection and use of any of the parameter sets found at the\n  `DFTB website`_.\n* Single-point energy calculations\n* Structural (geometry) optimization\n\nAt the moment the plug-in only handles molecular (non-periodic)\nsystems. Periodic systems will be added in an upcoming release.\n\n.. _SEAMM: https://github.com/molssi-seamm\n.. _DFTB+: https://dftbplus.org\n.. _DFTB website: https://dftb.org\n\nCredits\n---------\n\nThis package was created with Cookiecutter_ and the\n`molssi-seamm/cookiecutter-seamm-plugin`_ project template.\n\nDeveloped by the Molecular Sciences Software Institute (MolSSI_),\nwhich receives funding from the National Science Foundation under\naward ACI-1547580\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`molssi-seamm/cookiecutter-seamm-plugin`: https://github.com/molssi-seamm/cookiecutter-seamm-plugin\n.. _MolSSI: https://molssi.org\n\n\n=======\nHistory\n=======\n2024.10.20 -- Added the standard results for drivers\n    * Added the standard results -- energy, gradients, and model -- that can be written\n      to Results.json for drivers like Structure Step and Thermochemistry Step.\n      \n2024.7.30 -- Fix: the Docker build needed updating for changes in SEAMM\n\n2024.7.29 -- Bugfix: initial version of dftbplus.ini\n    * The initial version of dftbplus.ini was not generated correctly if it was\n      missing. This caused a crash when running DFTB+.\n\n2024.4.24 -- Finalized support for Docker containers\n    * Fixed issues and tested running in containers.\n    * Add CI to make a Docker image for DFTB+\n    * Fixed issue with changes in input for DFTB+: CalculateGradients has become\n      PrintGradients it seems.\n      \n2024.1.18 -- Support for running in containers and writing input only.\n    * Added new property: scaled dipole.\n    * Added option to write the input file and not run DFTB+\n\n2023.11.10 -- Standard structure handling and cleaned up output\n    * Switched to standard structure handling and naming, giving consistent options\n      across SEAMM.\n    * Corrected issues with the model name in the properties.\n    * Generally cleaned up the output, mainly indentation.\n      \n2023.11.8 -- Bugfix: Fermi level being an array caused problems\n    * The Fermi level in DFTB+ is a vector with 1 or 2 elements, depending whether the\n      calculation is spin-polarized. DFTB+ can handle different Fermi levels, but it is\n      not clear how useful this is, so for the time being not allowing such calculations\n      and treating the Fermi level as a scalar.\n      \n2023.11.7 -- Added structure to orbital and density plots\n    * The Dashboard expects 'structure.sdf' in order to display the structure with the\n      orbital or density plots from CUBE files.\n\n2023.3.5 -- Fixed issues with bandstructure and DOS\n    * The bandstructure and DOS substeps updated to work with changes in the underlying\n      classes. This had been missed earlier.\n      \n2023.2.17.2 -- Fixed bug with xTB parameters\n    * xTB runs have a blank line in results.tag which caused a crash.\n\n2023.2.17.1 -- Fixed Linux bug with thread limit\n\n2023.2.17 -- Limiting number of threads\n    * By default DFTB+ can try to use all the cores on a larger machine, which can be\n      inneficient for smaller systems. This changes limits DFTB+ to 1 core per 500\n      atoms, which seems a reasonable start. This will need more work in the future.\n\n2023.2.15 -- Documentation and bug fixes\n    * Restructured the documentation and applied the new theme.\n    * Fixed crash with the plots for potentials that lack the need info for the\n      plots. Silently ignore the plots.\n    * Added standard properties.\n\n2022.10.20 -- Added handling of properties in the database.\n\n2022.9.18 -- Added spin parameters for 3ob dataset\n    * Added the spin parameters for the 3ob parameter set from Prof. Elstner. These were\n      provide by Kewei Zhao on the DFTB+ mailing list, 2022-9-8.\n\n2022.9.15 -- Bugfix: plots for periodic systems\n    * fixed error with density and orbital plots for periodic systems.\n\n2022.9.9 -- Density and orbital plots\n    * Added plots for the density, spin density, and orbitals.\n\n2022.8.22 -- More documentation.\n    * Added the DFTB+ recipe #2\n\n2022.8.21 -- Fixed issue using Python 3.10\n\n2022.8.21 -- Documentation update\n    * Added initial recipes (tutorials)\n\n2022.8.19 -- Improved information about the energy\n    * Corrected total energy to be that of the conventional cell\n    * Added how many primitive cells make up the conventional cell\n    * Added energy per empirical formula unit\n    * Added these energies and counts to the output data, if selected.\n      \n2022.8.17 -- Finally fully added DOS and band structure\n    * Now handle magnetic systems\n    * Fixed issues with symmetry changing during optimization cause crashes\n    * Fixed incorrect printing of atom charges and spins\n    * Enhance the ChooseParameters step to support using variables for the parameter\n      dataset and subset\n      \n2022.7.24 -- Support for magnetism\n    * Fixed and improved handling of spin in periodic systems\n    * By default now use a previous charge file or charges and spins on atoms, if\n      available, as starting guess.\n    * DOS and bandstructure extended to spin-polarized systems, and a combined graph\n      added for DOS & bandstructure.\n      \n2022.7.20.1 -- Correction to DOS and band structure\n    The DOS and band structure needed to be shifted to place the Fermi energy at zero.\n    \n2022.7.20 -- Bug fix for band structure\n    Band structure sometimes had a fatal error due to charges on the structure as well\n    as in the charge file from a previous run.\n    \n2022.5.23 -- Bug fixes\n    * Spin polarized calculations & more output\n    * Added control over using primitive or actual cell.\n    * Bug fixes: handling atoms with no charge, and printing k-mesh\n\n2022.3.16 -- Added control over using primitive or full cell\n    While usually it is best to use the full symmetry and primitive cell, for some\n    calculations where cancelation of error is import, e.g. defect energies, it is\n    important to use the same cell in all the calculations. This feature allows for\n    this.\n\n2022.3.14 -- Handling spin-polarization and improved output of charges and spin\n\n2022.2.25 -- Added xTB parameters\n\n2022.2.8 -- Added DOS and band structure\n    * Added handling of space group symmetry.\n    * Automatically use the primitive cell when it is different from the conventional cell.\n    * Calculate and graph the DOS when running the energy or optimization.\n    * Added a band structure sub-step to calculate and graph the band structure. This is\n      an initial, working version, but needs considerable enhancement.\n    * To accomplish the above, restructured the code significantly and moved the actual\n      execution of DFTB+ to the appropriate sub-steps. This is need to support e.g. band\n      structure which requires two sequential calculations, the first to calculate the\n      charge density and the second to get the band structure from the fixed charge\n      density.\n\n2022.1.18 -- Updated for DFTB+ 21.2\n    * Updated to the latest version of DFTB+ (21.2), which made large changes in how\n      optimizations are handled. \n    * Updated the structure handling to give the standard options for where to put the\n      modified configuration and how to name it. \n    * Added enhancement to calculate the electronic energy of formation, and added the\n      reference energies to the metadata for the main 3ob and mio datasets. \n\n2021.11.26 -- Periodic calculations\n    Added handling of the reciprocal space k-mesh for periodic calculations.\n\n2021.10.13 -- Minor fixes and format issues.\n    Also updated for Python 3.8 and 3.9\n    \n2021.6.5 -- Added installation of Slater-Koster files.\n\n2021.6.4 -- Updated for new command-line argument handling.\n    Corrected the default path for the Slater-Koster functions.\n\n2021.5.21 -- Added installer for DFTB+ background code\n    Added a plug-in specific installer that installs DFTB+ in the seamm-dftbplus\n    environment if needed, and sets up the configuration file entries needed.\n    \n2021.2.10 (10 February 2021)\n----------------------------\n\n* Updated the README file to give a better description.\n* Updated the short description in setup.py to work with the new installer.\n* Added keywords for better searchability.\n\n2021.2.3 (3 February 2021)\n--------------------------\n\n* Internal Release\n\n  - Compatible with the enhance version of MolSystem classes.\n\n2020.12.2 (2 December 2020)\n---------------------------\n\n* First release  of a working version on PyPI.\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "A SEAMM plug-in for DFTB+, a fast quantum mechanical simulation code.",
    "version": "2024.10.20",
    "project_urls": {
        "Homepage": "https://github.com/molssi-seamm/dftbplus_step"
    },
    "split_keywords": [
        "seamm",
        " plug-in",
        " flowchart",
        " quantum",
        " simulation",
        " atomistic",
        " dftb+",
        " dftbplus",
        " tight-binding",
        " dft"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8fb4b142d26b455f4d706f4e02002db28ec6594e6dffc5d049e2ac6a6306e766",
                "md5": "cc2f7d15c31265d0081eeedba4cde3ff",
                "sha256": "1634a3fa7ed8d7899311d6cdc3b88a35991bd52fa7e783bba90e45c9c52a417b"
            },
            "downloads": -1,
            "filename": "dftbplus_step-2024.10.20-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cc2f7d15c31265d0081eeedba4cde3ff",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 162434,
            "upload_time": "2024-10-20T21:56:33",
            "upload_time_iso_8601": "2024-10-20T21:56:33.216530Z",
            "url": "https://files.pythonhosted.org/packages/8f/b4/b142d26b455f4d706f4e02002db28ec6594e6dffc5d049e2ac6a6306e766/dftbplus_step-2024.10.20-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c02cdac7e833bed59ce9188e4d97f97007e371dcfcb363d6484db1cbb605afa1",
                "md5": "561af07e7b44cb6fb6bf09f5805dfd1b",
                "sha256": "c1333848606b4b220f6ddf046d64c20ec6e80ba0bded24a8bc5f4ecf3c8be690"
            },
            "downloads": -1,
            "filename": "dftbplus_step-2024.10.20.tar.gz",
            "has_sig": false,
            "md5_digest": "561af07e7b44cb6fb6bf09f5805dfd1b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4129254,
            "upload_time": "2024-10-20T21:56:34",
            "upload_time_iso_8601": "2024-10-20T21:56:34.627147Z",
            "url": "https://files.pythonhosted.org/packages/c0/2c/dac7e833bed59ce9188e4d97f97007e371dcfcb363d6484db1cbb605afa1/dftbplus_step-2024.10.20.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-20 21:56:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "molssi-seamm",
    "github_project": "dftbplus_step",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "dftbplus-step"
}
        
Elapsed time: 1.21023s