Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions docs/groundstate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,22 @@ Go to :ref:`top <groundstate>`.
Electronic occupation smearing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The occupation numbers of the eigenstates are slightly smeared near
By default, the occupation numbers of the eigenstates are slightly smeared near
the Fermi level, following common practice. The default smearing type
is Fermi-Dirac smearing with a temperature (in Hartrees) set with the
flag ``Diag.kT`` which defaults to 0.001Ha.
is Fermi-Dirac smearing (``Diag.SmearingType 0``) with a temperature (in Hartrees) set with the
flag ``Diag.kT`` which defaults to 0.001Ha. If you know that you have an insulator with a
finite gap, you can force integer occupancies with the flag:

::

Diag.IntegerOccs T

This is false by default, and will lead to significant problems if the system is metallic
at any point during the self-consistent ground state search, so should be considered carefully.
In both of these cases, if there is gap in the band structure, it is written out along with
the location in the Brillouin zone where it is found (though this result will depend very
sensitively on the k-point sampling used). The Fermi level will be placed at the mid-point
between the valence band maximum and the conduction band minimum.

The Methfessel-Paxton approach :cite:`g-Methfessel:1989ny` to occupations allows much higher
smearing temperatures with minimal effect on the free energy (and
Expand Down
10 changes: 10 additions & 0 deletions docs/input_tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,16 @@ Diag.kT (*real*)

*default*: 0.001

Diag.IntegerOccs (*logical*)
Specifies integer occupation of eigenstates (overrides ``Diag.SmearingType``)

*default*: False

Diag.AdjustEf (*logical*)
Turns off the automatic adjustment of Ef to be mid-gap (unlikely to be needed).

*default*: True

Diag.MPOrder (*integer*)
Order of Bessel function approximation to delta-function used in Methfessel-Paxton smearing

Expand Down
Loading
Loading