Quantum 3xplorer (Q3)
Loading...
Searching...
No Matches
init.hpp
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* KohnShamQuantumSystem — Kohn-Sham specialization of the quantum system.
5
*
6
* Adds spin configuration to the generic QuantumSystem base.
7
* Crystal structure is inherited from QuantumSystem.
8
* Still templated on the state type — concrete representations
9
* (planewave, pseudopotential) specialize further.
10
*/
11
12
#include "
layer_2_quantum_system/quantum_system.hpp
"
13
14
namespace
q3
{
15
16
/**
17
* Kohn-Sham quantum system: crystal (inherited) + spin + state storage.
18
*
19
* Inherits crystal and state vector from QuantumSystem<QuantumStateType>.
20
*/
21
template
<
typename
QuantumStateType>
22
class
KohnShamQuantumSystem
:
public
QuantumSystem
<QuantumStateType> {
23
public
:
24
~KohnShamQuantumSystem
()
override
=
default
;
25
26
int
number_of_spin_components
{1};
27
};
28
29
}
// namespace q3
q3::KohnShamQuantumSystem
Definition
init.hpp:22
q3::KohnShamQuantumSystem::~KohnShamQuantumSystem
~KohnShamQuantumSystem() override=default
q3::KohnShamQuantumSystem::number_of_spin_components
int number_of_spin_components
Definition
init.hpp:26
q3::QuantumSystem
Definition
quantum_system.hpp:35
q3
Definition
q3_core_api.hpp:33
quantum_system.hpp
src
layer_3_representation
quantum_system
kohn_sham
init.hpp
Generated by
1.9.8