Quantum 3xplorer (Q3)
Loading...
Searching...
No Matches
init.hpp
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* PlanewaveKohnShamQuantumSystemCheckpoint — planewave-level base + snapshot.
5
*
6
* PlanewaveKohnShamQuantumSystemSnapshot extends KohnShamQuantumSystemSnapshot
7
* with planewave-specific wavefunction coefficients.
8
*
9
* PlanewaveKohnShamQuantumSystemCheckpoint inherits save/load from the
10
* KS level — format-specific implementations (Q3, HDF5, etc.) override there.
11
*/
12
13
#include <vector>
14
15
#include "
io/quantum_system/kohn_sham/init.hpp
"
16
17
namespace
q3
{
18
19
/**
20
* Planewave extension of the KS snapshot.
21
*
22
* Adds the full wavefunction expansion coefficients in the planewave basis,
23
* indexed as [kpoint_state][band][plane_wave].
24
*/
25
struct
PlanewaveKohnShamQuantumSystemSnapshot
:
KohnShamQuantumSystemSnapshot
{
26
std::vector<std::vector<std::vector<Complex>>>
wavefunction_coefficients
;
27
};
28
29
/**
30
* Planewave-level checkpoint base.
31
*
32
* Inherits save/load interface from KohnShamQuantumSystemCheckpoint.
33
* Leaf implementations (Q3, HDF5, etc.) provide the actual I/O.
34
*/
35
class
PlanewaveKohnShamQuantumSystemCheckpoint
:
public
KohnShamQuantumSystemCheckpoint
{
36
public
:
37
~PlanewaveKohnShamQuantumSystemCheckpoint
()
override
=
default
;
38
};
39
40
}
// namespace q3
q3::KohnShamQuantumSystemCheckpoint
Definition
init.hpp:17
q3::PlanewaveKohnShamQuantumSystemCheckpoint
Definition
init.hpp:35
q3::PlanewaveKohnShamQuantumSystemCheckpoint::~PlanewaveKohnShamQuantumSystemCheckpoint
~PlanewaveKohnShamQuantumSystemCheckpoint() override=default
init.hpp
q3
Definition
q3_core_api.hpp:33
q3::KohnShamQuantumSystemSnapshot
Definition
snapshot.hpp:18
q3::PlanewaveKohnShamQuantumSystemSnapshot
Definition
init.hpp:25
q3::PlanewaveKohnShamQuantumSystemSnapshot::wavefunction_coefficients
std::vector< std::vector< std::vector< Complex > > > wavefunction_coefficients
Definition
init.hpp:26
src
io
quantum_system
kohn_sham
planewave
checkpoint
init.hpp
Generated by
1.9.8