Skip to content
Merged
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
8 changes: 7 additions & 1 deletion doc/source/examples/BAND_NiO_HubbardU.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,22 @@ BAND: NiO with DFT+U

The hubbard method is a way to calculate band gaps for metal oxides for which a normal GGA fails to predict a band gap.

**Example usage:** (:download:`Download BAND_NiO_HubbardU.py <../../../examples/BAND_NiO_HubbardU.py>`)
**Example usage:**

* Download :download:`BAND_NiO_HubbardU.py <../../../examples/BAND_NiO_HubbardU.py>` (run as ``$AMSBIN/amspython BAND_NiO_HubbardU.py``).

.. literalinclude:: ../../../examples/BAND_NiO_HubbardU.py
:language: python

Results
-------

The following results appear upon execution.

.. parsed-literal::

Top of valence band: -6.67 eV
Bottom of conduction band: -5.41 eV
Band gap: 1.25 eV

A folder called ``NiO`` is also created containing other files.
Loading