5.16.1. occupations.Occupations¶
- class eminus.occupations.Occupations(_Nelec: int = 0, _Nspin: int = 0, _spin: float = 0, _charge: int = 0, _Nstate: int = 0, _Nempty: int = 0, _Nk: int = 1, _bands: int = 0, _smearing: float = 0, is_filled: bool = False)[source]¶
Occupations class to save electronic state information in one place.
The attribute Nelec has to be given first after instantiation.
Methods
fill
([f, magnetization])Fill the states of the object.
kernel
([f, magnetization])Fill the states of the object.
smear
(epsilon)Update fillings according to a Fermi distribution.
Attributes
Diagonal matrices of f per k-point and spin.
Number of electrons.
Number of empty states.
Number of k-points.
Number of spin states.
Number of states.
Total number of bands.
System charge.
Occupation numbers per state.
Determines the Occupations object fill status.
Magnetization from occupation numbers.
Multiplicity, i.e., 2S+1.
Smearing width in Hartree.
Number of unpaired electrons.
k-point weights.
- fill(f=None, magnetization=None)[source]¶
Fill the states of the object.
- Keyword Arguments:
f – Fillings.
magnetization – Magnetization.
- kernel(f=None, magnetization=None)¶
Fill the states of the object.
- Keyword Arguments:
f – Fillings.
magnetization – Magnetization.
- smear(epsilon)[source]¶
Update fillings according to a Fermi distribution.
- Parameters:
epsilon – Eigenenergies.
- Returns:
Efermi – Fermi energy.
- property F¶
Diagonal matrices of f per k-point and spin.
- property Nelec¶
Number of electrons.
- property Nempty¶
Number of empty states.
- property Nk¶
Number of k-points.
- property Nspin¶
Number of spin states.
- property Nstate¶
Number of states.
- property bands¶
Total number of bands.
- property charge¶
System charge.
- property f¶
Occupation numbers per state.
- is_filled: bool = False¶
Determines the Occupations object fill status.
- property magnetization¶
Magnetization from occupation numbers.
- property multiplicity¶
Multiplicity, i.e., 2S+1.
- property smearing¶
Smearing width in Hartree.
- property spin¶
Number of unpaired electrons.
- property wk¶
k-point weights.