#include <init.hpp>
Inheritance diagram for q3::MeanFieldBandSource:Public Member Functions | |
| virtual | ~MeanFieldBandSource ()=default |
| virtual const Complex * | coefficients (int kpoint_state_index, int band_index) const =0 |
Per-band plane-wave coefficients, fetched on demand.
coefficients() returns a pointer to plane_waves_per_kpoint[kpoint_index] contiguous values, valid until the next call for a different k-point (the file-backed implementation caches one k-point). Callers write them out immediately, which is all any exporter does.
|
virtualdefault |
|
pure virtual |
kpoint_state_index is the (k-point, spin) state index, matching the eigenvalue/occupation row convention below – not the physical k-point index. They coincide only for a spin-unpolarized run.
Implemented in q3::FileMeanFieldBandSource, and q3::ScfStateMeanFieldBandSource.