Quantum 3xplorer (Q3)
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
10
#include "
layer_0_core/types/init.hpp
"
11
12
namespace
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
*/
23
struct
Magnetization
{
24
Real
total_in_bohr_magneton
= 0.0;
25
Real
absolute_in_bohr_magneton
= 0.0;
26
};
27
28
}
// namespace q3
init.hpp
q3
Definition
q3_core_api.hpp:33
q3::Real
double Real
Definition
type_aliases.hpp:20
q3::Magnetization
Definition
magnetization.hpp:23
q3::Magnetization::absolute_in_bohr_magneton
Real absolute_in_bohr_magneton
Definition
magnetization.hpp:25
q3::Magnetization::total_in_bohr_magneton
Real total_in_bohr_magneton
Definition
magnetization.hpp:24
src
layer_2_quantum_system
derived
magnetization.hpp
Generated by
1.9.8