..
SPDX-FileCopyrightText: 2021 The eminus developers
SPDX-License-Identifier: Apache-2.0
.. _overview:
Overview
********
.. image:: /_static/overview/graphical_abstract.webp
:align: center
:width: 100%
Features
========
..
Hex color codes:
729ece aec7e8
ff9e4a ffbb78
67bf5c 98df8a
ed665d ff9896
ad8bc9 c5b0d5
a8786e c49c94
ed97ca f7b6c2
a2a2a2 c7c7c7
cdcc5d dbdb8d
6dccda 9edae5
.. raw:: html
Main
* Pythonic implementation of density functional theory
* Customizable workflows and developer-friendly code
* Minimal dependencies and large platform support
* Comparable and reproducible calculations
* Example notebooks showcasing educational usage
.. raw:: html
Functionals
LDA
GGA
meta-GGA
Libxc
Potentials
All-electron Coulomb
GTH
SCF
Steepest descent
Line minimization
Conjugate gradient
Customizable schemes
Orbitals
Kohn-Sham
Fermi
Fermi-Löwdin
Wannier
SCDM
Properties
Energy contributions
Dipole moments
Ionization potentials
Orbital spreads
Centers of mass
Field properties
SIC
Fixed density SIC
FLO-SIC
PyCOM
Visualization
Molecules
Orbitals
Densities
Grids
Files
Contours
Brillouin zones
Band structures
Files
XYZ
TRAJ
CUBE
POSCAR
PDB
JSON
Domains
Spherical
Cuboidal
Isovalue
Workflow
========
The following code samples show the workflow of how a bandstructure of a silicon crystal can be created.
Create the unit cell and display it.
.. code-block:: python
from eminus import Cell, SCF
from eminus.extras import plot_bandstructure
cell = Cell("Si", "diamond", ecut=10, a=10.2631, bands=8)
cell.view()
.. image:: /_static/overview/cell.png
:align: center
:width: 65%
Run the DFT calculation.
.. code-block:: python
scf = SCF(cell)
scf.run()
Define the band path and display the Brillouin zone.
.. code-block:: python
scf.kpts.path = "LGXU,KG"
scf.kpts.Nk = 25
scf.kpts.build().view()
.. image:: /_static/overview/bz.png
:align: center
:width: 65%
Calculate the eigenenergies and plot the band structure.
.. code-block:: python
scf.converge_bands()
plot_bandstructure(scf)
.. image:: /_static/overview/band_structure.png
:align: center
:width: 65%
Find this example with more comments in the :doc:`examples section <_examples/19_band_structures>`.