77 return disentanglement.has_value();
81 return localization != LocalizationPolicy::None;
85 return localization == LocalizationPolicy::Required;
LocalizationPolicy localization_policy_from(const std::string &word)
The policy a manifest's localization word names; any other word is refused.
bool automatic_frozen_window
Apply the published window, AUTOMATIC_WINDOW_RYDBERG, instead of the value above.
Real projectability_maximum
p >= this freezes a band regardless of its energy.
Real frozen_window_above_fermi_rydberg
Real projectability_minimum
p < this discards a band, whatever its energy: the singular-gauge rule.
Real convergence_tolerance
Relative, because an absolute spread threshold does not transfer between systems.
bool frozen_window_is_automatic
Real disentanglement_convergence_tolerance
Real projectability_maximum
bool disentangles() const
Real projectability_minimum
The classifier's thresholds; the defaults are BandClassificationThresholds' own.
int disentanglement_maximum_iterations
Real frozen_window_above_fermi_ev
int localization_maximum_iterations
BandClassificationThresholds thresholds
DisentanglementSettings iteration
bool disentangles() const
std::optional< ProjectabilityDisentanglementSettings > disentanglement
static WannierConstructionSettings from(const InterpolationSpecification &specification)
bool localizes() const
True unless localisation was refused outright.
SpreadMinimizationSettings spread_minimization
The spread minimiser's settings, read only when a gauge is localised.
LocalizationPolicy localization
bool demands_localization() const
True when localisation is demanded, so a record that cannot support it is an error.