Loading...
Searching...
No Matches
occupation.hpp
Go to the documentation of this file.
1#pragma once
2
3/**
4 * Electronic occupation configuration.
5 *
6 * Basic quantum state information about how electrons fill states.
7 * This describes the occupation scheme, not the computed occupation
8 * numbers themselves (those live in calculated data holders).
9 */
10
12
13namespace q3 {
14
15/// Electronic occupation configuration for a quantum system.
16struct Occupation {
17 /// Total number of electrons.
19
20 /// Spin degeneracy factor (2.0 for unpolarized, 1.0 for spin-polarized).
22
23 /// Number of occupied bands per spin channel.
25
26 /// Whether smearing is active (fractional occupations).
27 bool is_smeared = false;
28};
29
30} // namespace q3
double Real
Electronic occupation configuration for a quantum system.
Real spin_degeneracy
Spin degeneracy factor (2.0 for unpolarized, 1.0 for spin-polarized).
bool is_smeared
Whether smearing is active (fractional occupations).
Real number_of_electrons
Total number of electrons.
int occupied_bands_per_spin
Number of occupied bands per spin channel.