NBMOD: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 6: Line 6:
----
----


{{TAG|NBMOD}} is used in conjunction with other tags to define the selection of partial charge densities.  
{{TAG|NBMOD}} is used in conjunction with other tags to define the bands that contribute to the partial charge densities saved to {{FILE|PARCHG}} or {{FILE|CHGCAR}} files. There are several possibilities for how this tag can be set, but the use of a positive value for {{TAG|NBMOD}} in the {{FILE|INCAR}} is discouraged.


* {{TAG|NBMOD}} = n: Use n bands
* {{TAG|NBMOD}} = n: Use n bands

Revision as of 11:27, 31 January 2024

NBMOD = -3 | -2 | -1 | 0 | [positive integer] 

Default: NBMOD = n if IBAND is set and contains n values
= -2 if EINT is set and IBAND is not set
= -1 if neither EINT nor IBAND are set

Description: NBMOD controls how bands are selected when computing partial charge densities.


NBMOD is used in conjunction with other tags to define the bands that contribute to the partial charge densities saved to PARCHG or CHGCAR files. There are several possibilities for how this tag can be set, but the use of a positive value for NBMOD in the INCAR is discouraged.

If a positive integer is passed, NBMOD represents the number of values in the array IBAND. If IBAND is specified, NBMOD is set automatically to the number of values passed in IBAND.
Tip: There is no good reason to set NBMOD to a positive integer since it will be overwritten regardless if IBAND is set or not. Use the IBAND tag alone to enter this mode.
All bands, even unoccupied ones, are contributing to calculating the partial charge density. E.g. the resulting partial charge density in the PARCHG file will sum up to twice the value of the number of total bands NBANDS.
  • NBMOD = -1: Use all occupied bands
This mode writes the charge density of all occupied states to the CHGCAR file, and no PARCHG file is produced. In contrast to producing a CHGCAR file from the WAVECAR input without the partial charges methodology (e.g. by setting LPARD = .FALSE., ALGO = None, and NELM = 1), the augmentation density is not included in the produced CHGCAR file.
  • NBMOD = -2: Use an absolute energy interval to select contributing bands
The partial charge density is calculated for electrons in the energy interval specified by EINT.
  • NBMOD = -3: Use an energy interval with respect to the Fermi energy to select contributing bands
The partial charge density is calculated for electrons in the energy interval specified by EINT. In this mode, the values in EINT are interpreted as relative to the Fermi energy . E.g. if EINT = -0.1 0.5 and = 2.43, the chosen energy interval will range from 2.33 to 2.93 eV.

Related tags and articles

LPARD, IBAND, EINT, KPUSE, LSEPB, LSEPK, Band decomposed charge densities

Examples that use this tag