29 bool guided_by_trial_orbitals,
30 std::vector<Vector3D> trial_orbital_centers_bohr,
31 Real initial_minimizable_bohr_squared) {
45 bool evaluated =
false;
52 Real gauge_invariant_bohr_squared = 0.0;
53 Real total_bohr_squared = 0.0;
58 bool guided_by_trial_orbitals =
false;
65 Real initial_minimizable_bohr_squared = 0.0;
67 bool localized =
false;
68 int localization_iterations = 0;
75 bool localization_converged =
false;
76 Real localization_gradient_norm = 0.0;
static SpreadReport evaluated_as(const SpreadTerms &terms, bool guided_by_trial_orbitals, std::vector< Vector3D > trial_orbital_centers_bohr, Real initial_minimizable_bohr_squared)
bool guided_by_trial_orbitals
Whether the phase branches were fixed by the trial-orbital positions in the record.
Real initial_minimizable_bohr_squared
Real gauge_invariant_bohr_squared
bool evaluated
Whether the numbers below were evaluated at all; false leaves them at their zeros.
std::vector< Real > spreads_bohr_squared
Omega_n per function, bohr squared.
std::vector< Vector3D > trial_orbital_centers_bohr
The record's trial-orbital positions, Cartesian bohr; empty when it carries none.
std::vector< Vector3D > centers_bohr
Real gauge_invariant_bohr_squared
std::vector< Vector3D > centers_bohr
One centre per Wannier function, in bohr, in the same Cartesian frame as b.
Real total_bohr_squared() const
std::vector< Real > spreads_bohr_squared