Loading...
Searching...
No Matches
magnetization.hpp
Go to the documentation of this file.
1#pragma once
2
3/**
4 * Magnetization — the cell-integrated moments of a collinear spin density.
5 *
6 * Pure data container. Integration over the density is done in layer 4, at
7 * the point the SCF reports it.
8 */
9
11
12namespace q3 {
13
14/**
15 * ∫(ρ↑−ρ↓) and ∫|ρ↑−ρ↓| over the cell, in Bohr magnetons.
16 *
17 * Both are kept because the total alone cannot describe an antiferromagnet:
18 * it is zero both for a converged AFM state and for one that collapsed to
19 * non-magnetic. A run with no spin density has no Magnetization at all
20 * (an empty std::optional), which is distinct from moments that came out
21 * at zero.
22 */
27
28} // namespace q3
double Real