23 std::vector<KPointBandClassification>
kpoints;
33 int number_of_bands) {
35 entry.
roles.assign(
static_cast<std::size_t
>(number_of_bands), BandRole::Candidate);
36 for (
int band = 0; band < number_of_bands; band++) {
40 classification.
kpoints.assign(
static_cast<std::size_t
>(number_of_kpoints), entry);
41 return classification;
Every k-point's verdict, and the summary of the whole.
static BandClassification every_band_kept(int number_of_kpoints, int number_of_bands)
std::vector< KPointBandClassification > kpoints
BandClassificationSummary summary
std::vector< int > kept_bands
Band indices that survive, frozen first is NOT assumed; ascending.
std::vector< BandRole > roles